This topic shows how faces and planes in SOLIDWORKS are named and how rules are built in DriveWorks that refer to them.
DriveWorks requires named faces and planes when using some Generation Tasks (see Create Angle Mate for example).
To name to a Face within SOLIDWORKS:
Planes are given a name at the point they are created, if you wish to change the given name:
When building rules for the face names, they must reference the generated file name and not the master. The rule must be built in the form: [Face Name]@[Generated model name]-[Instance number]
The rule must include the instance number, even if there is only one instance of the component in the assembly. The instance number must be formatted "-1" and not how it is displayed in SOLIDWORKS (<1>)
Mating planes can only be one level deep. For example, the rule: [Face Name]@[Generated model name]@[Generated sub assembly name] would not be valid.
For these examples the same Part will be used. The Part is called "Bracket".
For Instance Number "-1" will always be used.
These examples are making use of the Special Variable "DWSpecificationId"
|Named Face||"MountingFace@Bracket "&DWSpecificationId&"-1"|
|Named Plane||"CentrePlane@Bracket "&DWSpecificationId&"-1"|