
Thu, 03/27/2003 - 14:20
Forums:
Hi,
I am trying to set the type (dotted,solid,dashed)
of a line. I am using
Prs3d_LineAspect::SetTypeOfLine() and then I am doing,
m_AISContext->DefaultDrawer()->SetLineAspect(prs);
It does not seem to set the style.Also,for drawing the actual line I am using BRepBuilderAPI_MakeEdge().Can anybody help?
Thanks
~Amod
Fri, 03/28/2003 - 12:45
Hi!
This should work...
Are you trying to set line attributes after the object was displayed? If yes - you have to call m_AISContext->Redisplay( line ).
Regards