The instance rule is used to determine the suppression state, delete, replace the instance or change the configuration of the instance. An instance can have its state changed and configuration switched by using the following syntax
" [State Operation] | [Configuration Name] "
Where
State Operation is the operation to carry out on the state of the instance (Delete, Suppress, Replace and ReplaceFile.)
Configuration Name is the name of the configuration to switch to.
When the instance is to be replaced with a file there are two options that can be used:
Rule | Meaning |
---|---|
TRUE | Unsuppresses the instance, you could also use "Unsuppress" (in quotes), or "U" (in quotes). |
FALSE | Suppresses the instance, you could also use "Suppress" (in quotes), or "S" (in quotes). |
"DELETE" | Deletes the instance from its parent assembly. |
"Red" | The configuration of the model is switched to red. |
"<Replace>MyComponentSetName" | Replaces the instance with a Component Set called MyComponentSetName. For more information, see the How To: Replace a Component With a Static or Driven Replacement Model help topic. |
"U|Red" | Will unsuppress the instance and switch the configuration to Red. |
"<Replace>MyComponentSetName|Red" | Replaces the instance with a Component Set called MyComponentSetName and switches the configuration of the replacement file to Red. |
"<ReplaceFile>D:\Models\Part1.sldprt" | Will replace the instance with Part1.sldprt located in D:\Models\. |
"<ReplaceFile>Models\Part1.sldprt" | Will replace the instance with Part1.sldprt located in the Models folder, which is relative to the specification path. |
"<ReplaceFile><Project>\Models\Part1.sldprt" | Will replace the instance with Part1.sldprt located in the Models folder inside the <Project> location.
The following directives can be used to reference the various folder DriveWorks uses
|