Measures the minimum distance between two entities in assembly components. The entities can be work features or iMates.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 25.0
Syntax
VB
Function MinimumDistance (
componentName1 As Object,
entityName1 As Object,
componentName2 As Object,
entityName2 As Object
) As Double
C#
double MinimumDistance(
Object componentName1,
Object entityName1,
Object componentName2,
Object entityName2
)
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 second component occurrence. - entityName2
- Type: System.Object
The name of the second entity.
Return Value
Type:
DoubleThe distance in document length units.
Remarks
Note: this function only works on desktop editions of Inventor.
See Also
Reference