powered by CADENAS

Manual

Manual

15.2.2. Part

All <part> children are listed here with their specifying child elements.

Definition

<part id="...">
  <type>part|assembly|drill|pseudo</type>
  <category>...</category>
  <color r="0..255" g="0..255" b="0..255" />
  <path>...</path>
  <nnpath>...</nnpath> 

  <bom category="...">
    <splittable>...</splittable>
  </bom>
  
  <vars>
    <var>
      <value name="name">value</value>
    </var>
  </vars> 

  <cp name="..." visible="..." type="..." />
</part>

part

Attribute:

id: Unique identifier

[Hinweis] Hinweis

Referenced under <conparts> -> <connection>.

Child elements:

  • type

    Values:

    • part: If the project that is given for the path is a part

    • assembly: If the project that is given in the path is an assembly

  • category

    Identifier referencing categories.

    [Hinweis] Hinweis

    Referenced under <categories> to build the tree structure in the Configurator

  • path

    Sets the path of the .prj-file of the part (&CADENAS_DATA)

    [Hinweis] Hinweis

    Use a relative path statement:

    Example:

    Project: C:\programme\cadenas\data\23dlibs\...catalog...name...\rohre\rohr.prj

    Path: rohre\rohr.prj

    [Hinweis] Hinweis

    NN, NT information is read out from there.

  • nnpath

    Relative path to the project.

    [Hinweis] Hinweis

    Only used with assemblies. Read additional main table information.

  • bom category

    Identifier referencing bom category.

  • vars

    To define additional variables. It is also used to init the table.

    Child element:

    • var

      Any number of elements.

      Attribute:

      • name : name of the variable; value: value of the variable

  • cp

    Attributes:

    • name: Name of the connection point

      In the exemplifying picture below the names are "links" and "rechts".

      [Hinweis] Hinweis

      Tooltip structure:

      connection point name @ part name - table parameters

      [Hinweis] Hinweis

      XML syntax with parts: Just the connection point name

      XML syntax with assemblies: Part name @ connection point name

    • visible: In the Configurator the displayed name of the connection point under Details.

    • type: group type of connection types

Example

<part id="65humlenk" >
  <type>assembly</type>
  <category>transport</category>
  <path>4_transporttechnik\1_stretch_line_sl\4_baubreite_sl_065\3_umlenkungen
      \assemblies\2_h_umlenkung_asmcfg.prj</path>
  <nnpath>4_transporttechnik\1_stretch_line_sl\4_baubreite_sl_065\3_umlenkungen
      \2_h_umlenkung_asmtab.prj</nnpath>

  <cp name="HUMLENKUNGWINK@start0" visible="Vorne" type="sl65_start_C" />
  <cp name="HUMLENKUNGWINK@end0" visible="Hinten" type="sl65_end_C" />

  <bom category="transport" />
  <vars>
     <value name="BAUBREITE">65</value>
  </vars>
</part>