Click or drag to resize

ICadMeasure Interface

Provides functions for a measuring distance, angle, and area (in a part or assembly).

In a rule, this interface is implemented by the predefined object named Measure.

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax
Public Interface ICadMeasure

The ICadMeasure type exposes the following members.

Properties
  NameDescription
Public propertyExtentsHeight
Measures the extents of the document geometry in the Z direction. This is the size along the Z axis of a rectangular box that is guaranteed to enclose the geometry. It may be greater than the true extents.
Public propertyExtentsLength
Measures the extents of the document geometry in the X direction. This is the size along the X axis of a rectangular box that is guaranteed to enclose the geometry. It may be greater than the true extents.
Public propertyExtentsWidth
Measures the extents of the document geometry in the Y direction. This is the size along the Y axis of a rectangular box that is guaranteed to enclose the geometry. It may be greater than the true extents.
Top
Methods
  NameDescription
Public methodAngle(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.
Public methodAngle(Object, Object, Object, 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.
Public methodArea
Measures the area of a sketch.
Public methodMinimumDistance(Object, Object)
Measures the minimum distance between two entities. The entities can be work features or iMates.
Public methodMinimumDistance(Object, Object, Object, Object)
Measures the minimum distance between two entities in assembly components. The entities can be work features or iMates.
Public methodPerimeter
Measures the perimeter of a sketch.
Top
See Also