Hi Sylvain, It's very strange that the textstyle attributes don't appear in the R+W manual unless you actually search for them (at least in my copy they don't) so I've never even seen these before!
I'll check into it, but I guess it's possible that... a) textstyle attributes only work for a particular version of igds - eg v7, which is why you are having problems when using v8 b) textstyle attributes can only be written not read - there are a few attributes that have this behaviour I can't confirm either of these at the moment, I just throw them out as possibilities, but I will check with the developers and get back to you. Regards Mark --- In [email protected], "Sylvain Caillet" <[EMAIL PROTECTED]> wrote: > > Ok thanks for your answers. > > It's quite important for me to get the bold information for igds texts. May be you can ask your developpers team. As i can see in the MDL header files of Microstation V8 (mdl.h), it comes with the ULong bold field of the TextExFlags part of the TextParamWide structure. But as i said, i can't get any value for the igds_textstyle_extflags attribute. So i can't check it. > > Best regards > > Sylvain Caillet > ----- Original Message ----- > From: mark2atsafe > To: [email protected] > 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] http://www.safe.com > Solutions for Spatial Data Translation, Distribution and Access > > --- In [email protected], "Sylvain Caillet" <s.caillet@> 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
