Running 2012 SP2 Build 12238 Win64
Is it possible to set the Cell Name for multiple cells in the DGN Styler?
Page 1 / 1
Hi,
I think that you will need to use multiple DGNStylers for that.
Actually the DGNStyler makes use of the igds_cell_name format attribute, if you map the cell names to this attribute, it should be possible.
Itay,
My cell library consist of about 30 cells. Setting up 30 DGNstylers is an option but not one I would prefer.Can you explain what you mean by "map the cell names to this attribute"? I have exposed the igds_cell_name but can't work out how to ask the Styler to find this value. It only has Select Cell Name, Link to Parameter or Clear Cell Value as options. I have set Cell Mode to Library.
A correction to my original query- I'm using 2013 SP4 build13547 win 64 for this script.
Thanks,
Hi Russ,
By simply creating the following attributes igds_cell_name = name as in library and igds_type = igds_cell, you dont need to use the DGNStyler, you do however need to point to the cell(s) library file(s) at the writer (see Navigator>Writer>Parameters>Cell Library File).
You can use an AttributeValueMapper for the names and an AttributeCreator for the type or both if you have an attribute on which to use the conditional values.
See also http://fmepedia.safe.com/articles/FAQ/Microstation-Design-Cells-and-FME.
That did the trick, thanks,
Russell