Home Search

DriveWorks Pro 24
Set Component Properties

Send Feedback

Set Component Properties

The Set Component Properties Task will set the component properties for an instance in an assembly.

Properties

Property NameDescription
(Name) The unique name for this task.
Component ReferenceThe unique value for the component reference of the instance.

This appears in braces { } at the end of the component name string in the FeatureManager design tree.

Leave blank to not set a component reference.

EnvelopeTRUE to set the instance to an envelope.

Leave blank to not override the current value.

Automatically sets Exclude from BOM to TRUE.

Exclude From BOMTRUE to omit this instance from the bill of materials (BOM).

Leave blank to not override the current value.

Applies only to table-based BOMs.

This option is automatically enabled when Envelope is set to TRUE.

Referenced ConfigurationThe name of the configuration of the instance.

Leave blank to use the default referenced configuration.

Save Assembly As Part OptionThe 'Save assembly as part' option for the instance (determines if a component is included when saving an assembly as a part).
  • AlwaysInclude to include
  • AlwaysExclude to exclude
  • Leave blank to use system settings
Solving StateThe 'Solve as' option for the subassembly instance.
  • Rigid prevents movement of the subassembly components
  • Flexible allows movement of the subassembly components
  • Leave blank to not override the current value
Suppression StateThe suppression state of the instance.
  • Suppressed or S to suppress the component
  • Unsuppressed or U to unsuppress the component
  • Leave blank to not override the current value

If the current value is Lightweight it will not be overridden, but driving the component to Lightweight is not supported.

Instance NameThe name of the top-level component in the assembly, including its instance number.
FixTRUE to fix the component, FALSE to float the component. Leave blank to not override the current value.
VisibleTRUE to show the instance, FALSE to hide the instance.

Leave blank to not override the current value.

Instance Name

Instances are suffixed immediately after the component name (no space), with a dash and then the instance number.

For example:

For a component that appears in the SOLIDWORKS Feature Manager (after DriveWorks Model Generation) as - Part1 MyProject 0004<1>

Would be referenced as:

Part1 MyProject 0004-1

Instance Order

This task is easier to implement if instances are listed in numeric order in the SOLIDWORKS Feature Manager.

For example:

Instance <1> - is the first instance.

Instance <2> - is the second instance.

Instance <3> - is the third instance.

Unordered instances are renumbered, by SOLIDWORKS, when the assembly is driven.

If instances do not follow an order we recommend generating a new clone and noting the new instance numbers to be driven.

Examples

Property NameExample RuleMeaning
Component ReferenceDriven InstanceWill set the component reference to: Driven Instance. This will appear in braces { } at the end of the component name string in the FeatureManager design tree.
EnvelopeTrueMakes the component an Envelope. Exclude from BOM will also be enabled as envelopes are never includes in BOMs.
Exclude From BOMTrueWill exclude the component from the bill of materials (BOM).
Referenced ConfigurationAWill set the configuration of the component to A.
Save Assembly As Part OptionAlwaysIncludeAlways includes the component when saving the assembly as a part.
Solving State Flexible Will set the subassembly to flexible. This allows movement of the subassemblys components.
Suppression StateSuppressWill suppress the instance.
Instance Name"Bracket " & DWSpecification & "-2"Will set the component properties for the second (-2) instance in the assembly.
FixTruePosition of the component will be fixed so it cannot move with respect to the assembly origin.
VisibleFalseWill hide the selected component in the graphics area.

Generation Sequence

This Task can be added to the following Generation Sequence(s):

  • Pre Drive - (will be run before the Main Drive Sequence)
  • Post Drive - (will be run after the Main Drive Sequence)