Share

ICadMeasure.MinimumDistance Method (Object, Object)

Measures the minimum distance between two entities. The entities can be work features or iMates.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 29.0

Syntax

VB

Function MinimumDistance ( 
	entityName1 As Object,
	entityName2 As Object
) As Double

C#

double MinimumDistance(
	Object entityName1,
	Object entityName2
)

Parameters

entityName1
Type: System.Object
The name of the first entity.
entityName2
Type: System.Object
The name of the second entity.

Return Value

Type: Double
The distance in document length units.

Remarks

Note: this function only works on desktop editions of Inventor.

See Also

Reference

Was this information helpful?