DiscussionsIssue archiveOther usage issues

Archived discussion

Setting line style

Other usage issuesThu, 03/27/2003 - 14:201 reply

Browse this forum
QuestionAuthor

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

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

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