Share

ICadComponent Properties

The ICadComponent type exposes the following members.

Properties

  NameDescription
Public propertyActiveModelState
Gets or sets the active model state of a component occurrence. If the component has no model state this will return an empty string.
Public propertyColor
Gets or sets the appearance (i.e. color or other appearance name) of a component occurrence.
Public propertyiComponentIsActive
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.
Public propertyInventorComponent
Finds a component with the specified name in this assembly or in any subassemblies.
Public propertyInventorComponentInThisContext
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).
Public propertyIsActive
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.
Public propertyMemberEditScope
In model state assemblies, sets the member edit scope for Component.IsActive changes made by iLogic rules. Possible values are:
kEditActiveMember : apply changes to the active member only
kEditAllMembers : apply changes to all members
Public propertySkipDocumentSave
If this is set to True, a component that is changed and then suppressed (by setting the Component.IsActive property to false) will not be saved to disk.
Public propertyVisible
Gets or sets the visibility of a component occurrence.

See Also

Reference

Was this information helpful?