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: 29.0
Syntax
VB
Public Interface ICadMeasure
C#
public interface ICadMeasure
The ICadMeasure type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| ExtentsHeight |
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.
It does not include invisible solids or surfaces.
| |
| ExtentsLength |
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.
It does not include invisible solids or surfaces.
| |
| ExtentsWidth |
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.
It does not include invisible solids or surfaces.
| |
| PreciseExtentsHeight |
Measures the precise extents of the document geometry in the Z direction.
This is the size along the Z axis of a rectangular box that tightly encloses the geometry.
If there are invisible solids or surfaces, they will be included in this measure.
| |
| PreciseExtentsLength |
Measures the precise extents of the document geometry in the X direction.
This is the size along the X axis of a rectangular box that tightly encloses the geometry.
If there are invisible solids or surfaces, they will be included in this measure.
| |
| PreciseExtentsWidth |
Measures the precise extents of the document geometry in the Y direction.
This is the size along the Y axis of a rectangular box that tightly encloses the geometry.
If there are invisible solids or surfaces, they will be included in this measure.
|
Methods
| Name | Description | |
|---|---|---|
| Angle(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.
| |
| Angle(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.
| |
| Area |
Measures the area of a sketch.
| |
| MinimumDistance(Object, Object) |
Measures the minimum distance between two entities. The entities can be work features or iMates.
| |
| MinimumDistance(Object, Object, Object, Object) |
Measures the minimum distance between two entities in assembly components. The entities can be work features or iMates.
| |
| Perimeter |
Measures the perimeter of a sketch.
|
