The file name rule is used to determine the name of the driven model, or, in the case of a subassembly or part, to delete it or control its suppression state, visibility in the parent assembly.
Rule | Meaning |
---|---|
TRUE | Unsuppresses the subassembly or part, you could also use "Unsuppress" (in quotes), or "U" (in quotes). |
FALSE | Suppresses the assembly or part, you could also use "Suppress" (in quotes), or "S" (in quotes). |
"DELETE" | Deletes the subassembly or part from its parent assembly. |
DWSpecificationId | Creates a new subassembly or part with its filename set to be its original file name, suffixed with the specification number - for example, "Block.sldprt" would become "Block 1.sldprt" if it was generated by the first specification. |
"*" & DWSpecificationId | Creates a new subassembly or part with its filename set to be the specification number - for example, "Block.sldprt" would become "1.sldprt" if it was generated by the first specification. |
"*" & DWSpecificationId & "*" | Creates a new subassembly or part with its filename set to be its original file name, prefixed with the specification number - for example, "Block.sldprt" would become "1 Block.sldprt" if it was generated by the first specification. |
"<Replace>MyComponentSetName" | Replaces the subassembly or part 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. |
"*" & DWSpecificationId & "<MASTER:NAME>" & OrderNumberReturn | Creates a new subassembly or part with its filename set to be the specification number, followed by the name of the master model the component is generated from, followed by the data entered into the OrderNumber form control. For example the master model "Block.sldprt" would become "1Block1234.sldprt" if it was generated by the first specification and 1234 was entered into the OrderNumber form control. |