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

Re: [v8i SS2 MDL] Getting level ID of a Cell

$
0
0

A cell header is non-graphic and does not have a level.  Since each graphic component of a cell may have its own level, it would not make sense for the cell header to have a level.

Ahmet Sedat ALIS:
if( mdlElement_getType(elP) != CELL_HEADER_ELM )

Your test should be if (elP->ehdr.isGraphics) when getting a level.

A SmartSolid cell is no different.  It does contain a lot of non-graphic data that also has no level (presumably the B-REP stuff).

The components of a point cell (mdlCell_isPointCell) all have the same level.


Viewing all articles
Browse latest Browse all 1677

Trending Articles



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