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: 30.0
Syntax
VB
Public Interface ICadFeature
C#
public interface ICadFeature
The ICadFeature type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Color(String) |
Gets or sets the appearance name (which may be a color) for a feature.
|
![]() | Color(Object, String) |
Gets or sets the appearance name (which may be a color) for a feature in a component or document.
|
![]() | InventorFeature(String) |
Gets an Inventor Feature object by name. Throws an error if it is not found.
|
![]() | InventorFeature(Object, String) |
Gets an Inventor Feature object by name. Throws an error if it is not found.
|
![]() | IsActive(String) |
True if the feature is active (unsuppressed).
|
![]() | IsActive(Object, String) |
True if the feature is active (unsuppressed).
|
![]() | MemberEditScope |
For model state documents, sets the member edit scope for Feature.IsActive changes made by iLogic rules. Possible values are: kEditActiveMember : apply changes to the active member only kEditAllMembers : apply changes to all members within the factory |
![]() | ThreadClass(String) |
Gets or sets the thread designation of a thread or threaded feature.
|
![]() | ThreadClass(Object, String) |
Gets or sets the thread designation of a thread or threaded feature.
|
![]() | ThreadDesignation(String) |
Gets or sets the thread designation of a thread or threaded feature.
|
![]() | ThreadDesignation(Object, String) |
Gets or sets the thread designation of a thread or threaded feature.
|
![]() | ThreadType(String) |
Gets the thread type (e.g. "ANSI Unified Screw Threads") of a threaded feature.
To change the type, use the SetThread function.
|
![]() | ThreadType(Object, String) |
Gets the thread type of a threaded feature.
To change the type, use the SetThread function.
|
Methods
Name | Description | |
---|---|---|
![]() | SetThread(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.
|
![]() | SetThread(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.
|