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: 25.0
Syntax
VB
Function Angle (
componentName1 As Object,
entityName1 As Object,
componentName2 As Object,
entityName2 As Object,
Optional componentName3 As Object = Nothing,
Optional entityName3 As Object = Nothing
) As Double
C#
double Angle(
Object componentName1,
Object entityName1,
Object componentName2,
Object entityName2,
Object componentName3 = null,
Object entityName3 = null
)
Parameters
- componentName1
- Type: System.Object
The name (or path) of the first component occurrence. - entityName1
- Type: System.Object
The name of the first entity. - componentName2
- Type: System.Object
The name (or path) of the first component occurrence. - entityName2
- Type: System.Object
The name of the second entity. - componentName3 (Optional)
- Type: System.Object
The name (or path) of the first component occurrence. - entityName3 (Optional)
- Type: System.Object
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
Reference