ICadComponent Interface |
In a rule, this interface is implemented by the predefined object named Component.
Namespace: Autodesk.iLogic.Interfaces
The ICadComponent type exposes the following members.
Name | Description | |
---|---|---|
Color |
Gets or sets the appearance (i.e. color or other appearance name) of a component occurrence.
| |
iComponentIsActive |
Gets or sets a value to specify whether an iPart or iAssembly component is active or not.
If this is true, the specified component occurrence is active (unsuppressed).
If this is false, the component is suppressed.
| |
InventorComponent |
Finds a component with the specified name in this assembly or in any subassemblies.
| |
InventorComponentInThisContext |
Finds a component with the specified name in this assembly or in any subassemblies.
Even if the component is found in a subassembly, the ComponentOccurrence returned will be in the context of this higher-level assembly
(the assembly from which the rule is run).
| |
IsActive |
Gets or sets a value to specify whether the component is active or not.
If this is true, the specified component occurrence is active (unsuppressed).
If this is false, the component is suppressed.
| |
SkipDocumentSave | ||
Visible |
Gets or sets the visibility of a component occurrence.
|
Name | Description | |
---|---|---|
Replace |
Replaces a component occurrence with a different document.
| |
ReplaceiPart |
Replaces an occurrence of an iPart. The replacement may be generated from a different factory.
|