is there any way to write the DGN Priority using FME?
Regards, Hendrik
is there any way to write the DGN Priority using FME?
Regards, Hendrik
If you right click on the DGN-reader on the workspace, select PROPERTIES and Format Attributes tou can CHECK some attributes which are not visible by default.
I assume you want to CHECK the "igds_level" attribute and use this in FME.
For writing this attribute you can create an attribute igds_level on the writer, and fill it with the values you want (ie 0,1,2,3,4...)
thanks for the fast reply but i search for the priority this is a Microstation Property witch i designed to regulate the display priority of the Elements. This can be used to make sure that a text is displayed "above" the underlying line.
Hendrik
Sorry for the wrong reply, I am not fluent in DGN unfortunately, just trying to do a qualified guess:)
It seems from the help-file that Element Priority is a display-only setting:
"(2D models only) Element Priority is a display-only setting that determines the order in which elements are displayed in a view. Essentially, this display priority setting adds a “calculated Z” value for to 2D co-planar elements, similar to the Z value in 3D models. In 3D models, elements closer to the eye are always displayed in front of elements further from the eye so display priority is not necessary."
From this page:
http://communities.bentley.com/products/microstation/microstation_v8_xm_edition/f/159/p/61625/151508.aspx
@SigTill
No Problem - Thanks so far.
@1SpatialDave
Yes this seems to be the best choise. I'll contact my distributor tomorrow. 6PM in Germany nobody will be there ;-)
Hendrik
This thread got my curiousity going and made me remember a post by the FME Evangelist (aka Mark) about CAD and layer sorting.
See the Layer sorting part of the blog, hopefuly it helps,
Itay
the Sorter might be a way if all Data is stored in one file. But we are using multiple referenced DGN files an many different priorities witch makes this way difficult or impossible.
Hendrik
So you want to sort PER INPUT-file? Then you can put the SORTER inside a CustomTransformer and Parallell Process by for instance fme_basename to sort PER INPUT-file?
well i need to set the element Attribute Priority. You must imagine this as a virtual Z koordinate.
If i sort the data i can control the order of the elements in the file witch should help in the file it self. But if i reference additoion DGN files or edit/add data manually all sorting won't help.
Hendrik
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.