Hi,
 
I have to deal with all kind of DGN V8 texts (simple texts or text nodes) and i didn't find the way to get the slant value of the font used to display a text node.
 
I have tried two ways :
1. an input DGN dataset with the "Split multi text" option set to true.
--> i can get the igds_textstyle_slant attribute but its value is always 0 (even if one of my text node is in italics)
 
2. the same input DGN dataset with the "Split multi text" option set to false.
--> i use a listexploder (on the igds_text_elements{} list) to get all simple texts
--> i get for each the igds_textstyle_slant attribute but its value is always 0 (even if one of my text node is in italics)
 
Is there another way to get this information for simple texts from text nodes ?
 
Thank you for your help
Best regards
 
Sylvain Caillet
 
 
----- Original Message -----
Sent: Thursday, July 27, 2006 7:29 PM
Subject: [fme] Re: Seeking for some igds text attributes

Hi Sylvain,
In answer to your questions...

1) I can't see anything in our documentation that applies to bolding a
font in Microstation. If that information is available in FME then I
guess it will be as an attribute linkage. Have a read of the attribute
linkage part of the FME Readers and Writers manual - but I'm afraid I
can't guarantee anything. If you're stuck on this one then let me know
and I can canvass our developers' opinion.

2) I don't think it's possible to get the font name because there is
no standard for matching ID to name - eg the Engineering font might
have an ID of 3 in symb.rsc but other resource files might apply a
different ID number. Unfortunately FME doesn't read the rsc files to
find out this level of information. The best I can suggest is to
manually make a lookup table that applies to your font rsc file.

Hope this info is useful,
Regards,

Mark

Mark Ireland, Senior Product Specialist
Safe Software Inc. Surrey, BC, CANADA
[EMAIL PROTECTED]com http://www.safe.com
Solutions for Spatial Data Translation, Distribution and Access

--- In [EMAIL PROTECTED]com, "Sylvain Caillet" <[EMAIL PROTECTED]..> wrote:
>
> Hi !
>
> I am reading Bentley DGN V8 files to translate them into SHP and CVS
files. I want to put in these CVS files some attributes read from the
input files according to geometry.
>
> Everything works fine but i am still looking for some text attributes :
> - which attribute to know that a text is bold ?
> --> according to my knowledge of mdl microstation structure, i
suppose it's embedded into the igds_textstyle_extflags attribute, but
wheter i put some bold text into my input files, i don't get any value
for this attribute (i have set it to a big number or a 1000 length
char to be sure to store the whole structure - it's a big one :-)
>
> - is it possible to get the text font name instead of the text font id ?
>
> Best regards
>
> Sylvain Caillet
>

__._,_.___

Join us at the FME Worldwide User Conference Sept. 21-22, 2006 Vancouver BC Canada. For more information, visit www.safe.com/2006uc. 




YAHOO! GROUPS LINKS




__,_._,___

Reply via email to