Click or drag to resize

ICadFeature Interface

Provides properties and functions for features (in a part or assembly).

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

Namespace:  Autodesk.iLogic.Interfaces
Assembly:  Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax
Public Interface ICadFeature
Properties
  NameDescription
Public propertyColorString
Gets or sets the appearance name (which may be a color) for a feature.
Public propertyColorObject, String
Gets or sets the appearance name (which may be a color) for a feature in a component or document.
Public propertyInventorFeatureString
Gets an Inventor Feature object by name. Throws an error if it is not found.
Public propertyInventorFeatureObject, String
Gets an Inventor Feature object by name. Throws an error if it is not found.
Public propertyIsActiveString
True if the feature is active (unsuppressed).
Public propertyIsActiveObject, String
True if the feature is active (unsuppressed).
Public propertyThreadClassString
Gets or sets the thread designation of a thread or threaded feature.
Public propertyThreadClassObject, String
Gets or sets the thread designation of a thread or threaded feature.
Public propertyThreadDesignationString
Gets or sets the thread designation of a thread or threaded feature.
Public propertyThreadDesignationObject, String
Gets or sets the thread designation of a thread or threaded feature.
Public propertyThreadTypeString
Gets the thread type (e.g. "ANSI Unified Screw Threads") of a threaded feature. To change the type, use the SetThread function.
Public propertyThreadTypeObject, String
Gets the thread type of a threaded feature. To change the type, use the SetThread function.
Top
Methods
  NameDescription
Public methodSetThread(String, String, String, String)
Sets the type, designation, and class of a thread on a feature. This function must be used if you want to modify more than one of these thread properties.
Public methodSetThread(Object, String, String, String, String)
Sets the type, designation and class of a thread on a feature. This function must be used if you want to modify more than one of these thread properties.
Top
See Also