Share

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

Syntax

VB

Public Interface ICadFeature

C#

public interface ICadFeature

The ICadFeature type exposes the following members.

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 propertyMemberEditScope
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
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.

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.

See Also

Reference

Was this information helpful?