Share

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: 30.0

Syntax

VB

Public Interface ICadMeasure

C#

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. It does not include invisible solids or surfaces.
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. It does not include invisible solids or surfaces.
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. It does not include invisible solids or surfaces.
Public propertyPreciseExtentsHeight
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.
Public propertyPreciseExtentsLength
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.
Public propertyPreciseExtentsWidth
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

  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.

See Also

Reference

Was this information helpful?