Skip to main content

Hi All,

I need to make a conversion from autocad to microstation. Where the layer names need to be changed. And the autocad-blocks need to convert into cells from a cell lib.

any ideas?

Layer names correspond to the FME feature type names for both DWG and DGN so you can either map those manually or use an external lookup table (for example in an Excel file) which you can apply using a Joiner or, if you feel brave, a SchemaMapper.

For the blocks-to-cells, assuming you have a DGN cell library available, if you make sure to not explode the DWG blocks (that's a reader parameter) you will end up with points representing the blocks with an attribute acad_block_name (off the top of my head) holding the name. If you fill the output attribute igds_cell_name with a value based on that block name the writer will know to take that cell out of the library and place it there. You may need to doublecheck the sizing of the cells though, AutoCAD and Microstation may be handling that in a different way.


Layer names correspond to the FME feature type names for both DWG and DGN so you can either map those manually or use an external lookup table (for example in an Excel file) which you can apply using a Joiner or, if you feel brave, a SchemaMapper.

For the blocks-to-cells, assuming you have a DGN cell library available, if you make sure to not explode the DWG blocks (that's a reader parameter) you will end up with points representing the blocks with an attribute acad_block_name (off the top of my head) holding the name. If you fill the output attribute igds_cell_name with a value based on that block name the writer will know to take that cell out of the library and place it there. You may need to doublecheck the sizing of the cells though, AutoCAD and Microstation may be handling that in a different way.

An additional property to watch is the justification. AutoCAD and MicroStation do not use the same justification methods, so your cells might shift location (a bit) if you do not use the right values.


The DGNStyler transformer will also be a great help in writing cells.

Also, check out these two articles/demos:

https://knowledge.safe.com/articles/1236/writing-d...

https://knowledge.safe.com/articles/1470/how-to-co...


Layer names correspond to the FME feature type names for both DWG and DGN so you can either map those manually or use an external lookup table (for example in an Excel file) which you can apply using a Joiner or, if you feel brave, a SchemaMapper.

For the blocks-to-cells, assuming you have a DGN cell library available, if you make sure to not explode the DWG blocks (that's a reader parameter) you will end up with points representing the blocks with an attribute acad_block_name (off the top of my head) holding the name. If you fill the output attribute igds_cell_name with a value based on that block name the writer will know to take that cell out of the library and place it there. You may need to doublecheck the sizing of the cells though, AutoCAD and Microstation may be handling that in a different way.

Note -- the AttributeValueMapper OR the Joiner are handy to use to map the names of the blocks to the names of the "igds_cell_name" attribute.


Reply