DiscussionsIssue archiveOther usage issues

Archived discussion

Displaying AIS_Dimensions

Other usage issuesThu, 07/11/2002 - 17:132 replies

Browse this forum
QuestionAuthor

Hi,
I have no idea at all about using the AIS_Dimensions and displaying it. Whatever I have tried is in vain. Somebody please help.

N. Author

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hi, Author,

It is very simple to setup the parameter for derived class of AIS_Dimensions, e.g. AIS_LengthDimension, the new a AIS_LengthDimension, then using AIS_InteractiveContext::Display it.

But the customed ability of AIS_Dimensions provided by OCC is far from the requirement of a profesional dimension scheme.

Just as Stephane pinpoints, One must derive from it and implement one's own Compute/ComputeSelection virtual method.

Commenter-1

02Author

Hi,
I tried doing it with the radius dimension but nothing was displayed on the screen.
Some code sample will help me more.
Thanks

N.Author