12-29-2010 05:19 AM
I created a straight line segment using the following fragment of code:
SPAposition pos(10, 10, 10);
SPAunit_vector unitV(1, 0, 0);
straight stV(pos, unitV);
SPAinterval vInt(0.0, 10);
STRAIGHT * STV = new STRAIGHT(stV);
When I call HA_Render_Entity(STV), nothing is displayed.
Visibiity setting is: HC_Set_Visibility ("markers=on, lines=on, edges=on, faces=on");
I loaded some Acis models from sat files and they are being rendered as expected using HA_Render_Entity.
Can someone point out where am I mistaking?