Hello all,
I am reading the graphic data from a dgn file using mdl programming.
The file contains a single CELL HEADER 3D element. Within this, there are so many lines and curves.( confirmed by opening the file in OdaDgnApp(which is from Teigha)). And when I see the display in microstation, entire graphic is selected as a smart solid.
How can these lines and curves become a smart solid, I don't know ? Can somebody provide me with some info regarding this?
I am able to read all the lines and curves and able to display in my software. But I am getting only wireframe view even though I changed the display to smooth in my software.
So am I missing something, while reading the graphic data ?
Thanks in advance.
The "wireframe" components of a smart solid cell are merely a cached representation of the edge geometry of the solid body.
The "smart" part of a smart solid cell is stored as non-graphic type 39/38 dgn store component elements. From these the display handler for the smart solid cell can instantiate either an ACIS or Parasolid brep and use their respective apis to produced facets for display in shaded views.
If you are displaying the smart solid in MicroStation, as long as you haven't stripped out the Type 39/38 components the smart solid can be rendered. Is you aren't displaying this geometry in MicroStation, your best bet would be to have your mdl program drop the smart solids to simple surfaces (see mdlKISolid_getSurfaceElements)
HTH
-B