I have a DWF file. When I open it in Design Review I see a 3D model. When I open it in my application I see a 3D model and lots of lines, circles and arcs.
I assume that TK_Visibility is the entity that is responsible for setting which types of geometry shouldn't be drawn. When I read TK_Visibility I get these integers: mask = 1, value = 254.
int mask = this->GetGeometry();
int val = this->GetValue();
This doesn't make much sence. According to the docs it means that we shouldn't draw faces.
Doc:
mask bitmask of affected geometry. bit definitions are here
value bitmask indicating which geometry types are visible.
Notes
This is the visibility which will apply to geometry in the currently opened segment. A bit in the value indicates that the segment has a setting for the corresponding geometry type. The matching bit in the value then indicates whether that geometry type is visible (if set) or invisible.
Is this a bug in the toolkit or in documentation? Or may be I didn't understand it correctly?