For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

AIS_LengthDimension Problem

Youko's picture
Forums: 

I'm trying to write a driver for my AIS_LengthDimension( ArgumentsList) with the ArgumentsList as attributes, so I Handled a new AIS_LengthDimension(ArgumentsList) wich can be converted to an AIS_InteractiveObject but I need his TopoDS_Shape for using it in TNaming_Builder.Generated( TopoDS_Shape). I tried to convert AIS_LengthDimension to AIS_InteractiveObject next to AIS_Shape and finally downcast it to TopoDS_Shape. the result is NullObject.
My Question is how to make conversion from Handle_AIS_LengthDimension to TopoDS_Shape or is there any method or other Classes that make Dimension manipulation possible from the viewer.