Home Search

DriveWorks Pro 21
Set Custom Property

Send Feedback

Set Custom Property

This Generation Task will create or set a Custom Property value.

Properties

Property NameDescription
(Name)The unique name for this task.
ConfigurationThe Configuration to set the property in. Use an asterisk * for all Configurations, or leave blank to set the Active Configuration only.
Configuration SpecificTRUE to set a Configuration specific property.
Property NameThe name of the Custom Property to set.
TypeThe type of the Custom Property to create or set. This can be a Number, YesorNo, Text, Date or DetectAutomatically.
ValueThe value to set the property to.

Example

When this Generation task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Property NameExample RuleExample ResultMeaning
Configuration"*"*The Configuration to set the property in. Use asterisk "*" to set the custom property for all Configurations. If left blank it will set the Custom Property for just the Active Configuration.
Configuration SpecificTRUETRUETRUE will set a Configuration Specific Property.
Property Name"Color"ColorThe name of the Custom Property to set.
TypeDetectAutomaticallyDetectAutomaticallyThis is the type of Custom Property to set/create. Pick from DetectAutomatically, Number, YesOrNo, Text and Date.
Value"Red"RedThe Value to set the property to.

To view the Custom Properties for a Model in SOLIDWORKS go to File and then properties.

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)
  • Pre Close (will be run before the SOLIDWORKS file is closed)