Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 7260

[V8 MDL] cells & associative dimensions

$
0
0

Hi everyone,

I have a problem with cells containing associative dimensions.

-          Using the user interface to place the cell in a DGN, the dimension is still associative to the lines.

-          Using: “mdlCell_placeCell(NULL, NULL, TRUE, NULL, NULL, 0, FALSE, 0, 0, _wsCellName.c_str(), pLibraryObj);” to place the cell in a DGN, the dimension is still associative to the lines.

BUT… I like to modify the cell bevor adding it to the DGN, so I go the “normal” way:

-          “mdlCell_getElmDscrExtended(&_pOrignalCell, NULL, NULL, NULL, NULL, TRUE, ACTIVEMODEL, NULL, NULL, 0, 0, TRUE, TRUE, _wsCellName.c_str(), p_LibraryObj);”

-          No modification, but this does not matter.

-          “mdlElmdscr_add(_pOrignalCell);”

Now the association of the dimensions is gone.

Is there a way to re-associate the dimensions?

I know, there could be a workaround with “mdlCell_placeCell()”, but this would complicate things in other parts.

Thanks a lot

Volker


Viewing all articles
Browse latest Browse all 7260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>