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 propertyColor(String)
Gets or sets the appearance name (which may be a color) for a feature.
Public propertyColor(Object, String)
Gets or sets the appearance name (which may be a color) for a feature in a component or document.
Public propertyInventorFeature(String)
Gets an Inventor Feature object by name. Throws an error if it is not found.
Public propertyInventorFeature(Object, String)
Gets an Inventor Feature object by name. Throws an error if it is not found.
Public propertyIsActive(String)
True if the feature is active (unsuppressed).
Public propertyIsActive(Object, String)
True if the feature is active (unsuppressed).
Public propertyThreadClass(String)
Gets or sets the thread designation of a thread or threaded feature.
Public propertyThreadClass(Object, String)
Gets or sets the thread designation of a thread or threaded feature.
Public propertyThreadDesignation(String)
Gets or sets the thread designation of a thread or threaded feature.
Public propertyThreadDesignation(Object, String)
Gets or sets the thread designation of a thread or threaded feature.
Public propertyThreadType(String)
Gets the thread type (e.g. "ANSI Unified Screw Threads") of a threaded feature. To change the type, use the SetThread function.
Public propertyThreadType(Object, 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