Hi,
I would like to add a dimension between a drawingcurve and a workaxis which is included from the 3d model.
I include the axis like this;
DrawingView.SetIncludeStatus(oDModel.rotationAxis, true);
I try to find the DrawingCurve related to this Axis in the drawingview, but some how it doens't work;
foreach (DrawingCurve oCurve in baseDrawingView. DrawingCurves)
{
if (oCurve.ModelGeometry == oDModel.rotationAxis)
{
....
Similar code works for "real" model edges, but it seams that a workaxis requires a different approach.
Any suggestions anybody?
thanks
Solved! Go to Solution.
Solved by 16101972. Go to Solution.
Hi,
In attachment you will find test program in VBA for centerline quest. You can find that your centerline is in Thisapplication.ActiveDocument.ActiveSheet.Centerlines(1). In my example there is only one centerline and because of that is ... Centerlines(1).
I hope it will help.
Regards,
Nedeljko.