Question

Cells to Blocks

  • 31 March 2016
  • 2 replies
  • 11 views

Badge +2

Hi,

I have dgn file which cells as shown below

Each circle and number will comprise one cell

I'm converting dgn file to dwg, where I'm facing problem in defining block name...

Im getting the block name as shown below...

when I have activated

Use the Block Name to Create Blocks to yes then block name is right but the text sting value is wrong and coming same to all the texts

can anyone help in this regard...

Thank you

Pratap


2 replies

Badge +7

Do you have a sample DGN file for me, maybe?

Userlevel 2
Badge +17

The Microstation cells may contain Enter Data fields, which is a special type of text that can contain user added text. When written to the same block name in DWG, one copy of the cell is used to define the block, and instances of that definition are placed at the cell locations, all with the same label.

To fix this, you need to aggregate each cell's elements into a single feature, then use a GeometryPartExtractor to remove the text geometry from the aggregate. The text contents will still be available as the attribute 'igds_text_string'. Create a visible attribute on the output block to store the text contents. This will allow you have a different label for each instance of the block.

I would be happy to give you a more detailed explanation and a sample workspace, if you would like to send a copy of your source dataset to support@safe.com.

Reply