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, you will have to manually assign another compatible 3D part to the template.

Required access role: Administrator.

This task shows you how to:


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

    Important:
    • 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.

    • To enable users to create 3D parts with custom attributes, define them before creating the 3D part.
    • On premises only: To enable users to create specialized 3D parts, create the specialization type before creating the 3D part. For more information, see Installation and Setup: Customize: 3DEXPERIENCE Platform: 3DSpace Data Model: Data Model Customization: Specialize Data Model: Specialization Types.

  • If a custom attribute with multiple values is added on the VPMReference type using a deployment extension created in a custom package, authorize an empty value for this attribute when creating it.

Create a Template from Product Structure Editor

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

  • in a Standard collaborative space
  • in a collaborative space that users can access
    Recommendation: Create the 3D part in a public collaborative space.
  • in Released maturity state

  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.

Create a 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.