![]() | Note |
---|---|
With upcoming V11 SP8 any classifications can be used in order to link accessory parts. Up to now links have always been on part level. |
The following diagram shows how the base part and accessory are linked:
The mounting point of the base part is uniquely determined by class + instance designation. This summarized expression is used as the ID for the accessory part.
The classification of the accessory part (CNSELEK|5|4 ) is linked to the classification of the mounting point (CNS_CP|4|6 ) by the characteristic CNS_ACCESSORYID.
Set all the mounting points required for the accessories on the base part.
Set the Mounting Point class (CNS_CP|4|6) on each of the connection points.
Assign a unique value to the Accessory ID feature using the following syntax.
CNS_CP|4|6||<Instanz>
Dialog "Class variables" -> Class "Mounting Point" (CNS_CP|4|6) -> Feature "CNS_ACCESSORYID" here with exemplary value "CNS_CP|4|6||34"
Dialog "Published Elements" -> Class "Mounting Point" -> Feature "Accessory ID" here with exemplary value "CNS_CP|4|6||34"
Set in PARTproject on the References [Links] tab page under Links to parts, set an entry with the path [Path] to the accessory part and Id that has exactly the same value as the CNS_ACCESSORYID characteristic under class Mounting Point (CNS_CP|4|6).
Fill in the essential information for the accessory part in CNSELEK|5|4.
The Parent classType feature is given the name of the corresponding classification.
The Parent class Instance characteristic receives the instance of the corresponding classification.
The CNS_ACCESSORYID feature is assigned the same unique identifier string as the base part and is thus linked to the PSOL accessory path.
CNS_CP|4|6||<Instanz>
One possible form of CNS_ACCESSORYID is the composite string of Parent class Type and Parent class Instance.