ICadMeasureAngle Method (Object, Object, Object) |
Measures the angle between two entities. The entities can be work features or iMates.
This can also be used to get the angle formed by three points.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax Function Angle (
entityName1 As Object,
entityName2 As Object,
Optional entityName3 As Object = Nothing
) As Double
double Angle(
Object entityName1,
Object entityName2,
Object entityName3 = null
)
Parameters
- entityName1
- Type: SystemObject
The name of the first entity. - entityName2
- Type: SystemObject
The name of the second entity. - entityName3 (Optional)
- Type: SystemObject
The name of the third entity.
Return Value
Type:
DoubleThe angle in document angle units.
Remarks See the MeasureTools.GetAngle method in the Inventor API help.
Note: this function only works on desktop editions of Inventor.
See Also