Adding a New Type in ENOVIA Designer Central

This topic shows you how to add a new type in ENOVIA Designer Central.

Use the following steps to add a new type, for example, SW Engine Assembly, in ENOVIA Designer Central

  1. Define SW Engine Assembly and related types.

    SW Engine Assembly is a major type. Derive it from "MCAD Assembly". Related minor type is SW Versioned Engine Assembly. Derive it from "MCAD Versioned Assembly".

  2. Connect these related types using property:

    Run mql and execute following statements:

    modify type "SW Engine Assembly" add property RelatedType to type "SW Versioned Engine Assembly";

    modify type "SW Versioned Engine Assembly" add property RelatedType to type "SW Engine Assembly";

  3. Add the new types to governing policies:

    Say, "Engine Major Policy" and minor type by "Engine Minor Policy" will govern the major type

    Define these two. (Minor policy should not have sequence)

    In "Engine Major Policy", add "SW Engine Assembly" in governed types. Add formats asm and image (for preview).

    To "Engine Minor Policy", add "SW Versioned Engine Assembly" in governed types. Add formats asm and image (for preview).

    Note that the new types can either be added to the existing policies being used, or new policies can be defined to govern these types.

  4. Add them in MCADInteg-TypeFormatMapping:

    assembly|SW Engine Assembly,asm

  5. Add it in MCADInteg-BusTypemapping:

    assembly|SW Assembly,SW Engine Assembly

  6. Add it in MCADInteg-TypePolicyMapping:

    SW Engine Assembly|Engine Major Policy

    SW Versioned Engine Assembly|Engine Minor Policy

  7. Modify trigger MCADDeleteFiles_if.tcl

    Modify this trigger program and add the Major type newly added in the list of types. The list is initialized in the beginning of the program code in list LtypeFormatList. The format is explained in the comment lines in the program code.