TotalAngle in arc object
Posted: Tue Sep 19, 2006 2:42 am
the TotalAngle variable appears to be missing from the Arc object in intellicad
Our AutoCAD code is,
===============================
Dim Retarc as Arc
Set Retarc = IntelliCAD.ActiveDocument.ModelSpace.AddArc(CP1, ArcRad, CP1Ang2, CP1Ang1)
Retarc.Update
LimitAng = Retarc.TotalAngle
===============================
This returns the total angle of an arc
Note. TotalAngle is available in Autocad but not Intellicad. Is there a replacement command for this. or another way of calculating the total angle of an arc.
Our AutoCAD code is,
===============================
Dim Retarc as Arc
Set Retarc = IntelliCAD.ActiveDocument.ModelSpace.AddArc(CP1, ArcRad, CP1Ang2, CP1Ang1)
Retarc.Update
LimitAng = Retarc.TotalAngle
===============================
This returns the total angle of an arc
Note. TotalAngle is available in Autocad but not Intellicad. Is there a replacement command for this. or another way of calculating the total angle of an arc.