Assigning a 3D Part to the 3D Part Template

To create new 3D parts (origin: CATIA 3DEXPERIENCE) from Product Structure Editor, the New Part, and Insert New Part commands use a template, with an existing 3D part assigned to it.

On premises only: To enable users to create 3D parts, administrators must assign an existing 3D part to this template beforehand on the 3DEXPERIENCE server.

On the cloud only: By default, a 3D part with the compatible revision format is automatically assigned to the template, and users can create 3D parts. If you manually assign another 3D part to the template, and then modify the revision format in Collaborative Spaces Control Center, assign another compatible 3D part manually to the template.

Administrators can modify the behavior of this command with mask files and precommit business rules. For more information, see Social and Collaborative | Structured Collaboration & Collaborative Content | Collaborative Lifecycle Web App | Collaborative Lifecycle Web App | Administration | New and Insert New Commands.

Required responsibility: Administrator.

This task shows you how to:


Before you begin: Create and save a 3D part to assign to the template in the desktop app.

Important:
  • Create the 3D part with the required type to be assigned to the template.

    This 3D part must take into account your customization. If you apply extensions or attribute groups to physical product or its subtype, you must also update the 3D part assigned to the template.

  • If minor revisions are activated on the server, the assigned 3D part must also be created with a minor revision ID. Similarly, if minor revisions are not activated, the assigned 3D part must be created without a minor revision ID. For more information, see Configuring Lifecycle and Collaboration Commands.

Assign a 3D Part to the Template from Product Structure Editor

To assign a 3D part to the template from Product Structure Editor, this 3D part must be:

  1. In Product Structure Editor, from the Edit section of the action bar, click New Part .
    The New Part dialog box opens.
  2. On premises only: If specialization types are available, from the Type list, select the type you want to create a template for.
  3. In the 3D Part Template box, enter the title of the 3D part to be used in the template.

    The list of available 3D parts for the selected type and matching the string you enter appears. You can select the appropriate one from this list.

  4. Click Save.

    Important: Clicking Create does not save or create the template.

Assign a 3D Part to the Template with MQL

Environment: On premises only

  1. Start MQL from <STACK_HOME>\server\scripts.
  2. To retrieve the physicalID of the VPMReference, run the following command:

    set context user creator password <password if any>;
    print bus <Type> <Name> <Revision> select physicalid;

    where:

    • <Type> is the type of the VPMReference.
    • <Name> is the name of the VPMReference.
    • <Revision> is the revision of the VPMReference.

  3. To define it as used in the template for 3D Parts in Product Structure Editor, run the following commands:

    set context user creator password <password if any>;
    add expression ENOUPSV63DPartTemplateID value <PhysicalID>;

    Where <PhysicalID> is the physical ID of the VPMReference.