TeamcenterKnowledge

Set up custom designs for alignment

Set the automatic creation of a part for a custom design

If a corresponding design is required for a custom part, the Is Design Required property of the part is set to true. In such a case, you can configure the part to be automatically created and aligned to the custom design.

Procedure

Add a Create Aligned Part runtime property to the custom design:

  1. In BMIDE, open the required BMIDE template project, for example, B4.
  2. Open the custom design, for example, B4CustomDesign.
  3. In the Operation Descriptor → CreateInput tab, click Add.
  4. In the OperationInput Property dialog box, select Define and add a new Runtime Property from Business Object and click Next.
  5. In the Runtime Property dialog box:
    • Append CreateAlignedPart to the BMIDE template project prefix in Name, for example, b4CreateAlignedPart. Enter Name and enter Create Aligned Part in Display Name.
    • Select Boolean in Attribute Type.
    • Click Finish.

Add a BMIDE condition to a create a custom part automatically:

  1. On the menu bar, click BMIDE → New Model Element.
  2. In the Model Element Type dialog box, type Condition in Wizards and click Next.
  3. In the Condition dialog box, type CreateImplicitPartCondition, for example, B4CreateImplicitPartCondition.
  4. Click Browse next to Signature and select the custom design, for example, B4CustomDesign.
  5. In Expression, type o.b4IsPartRequired=true and click Finish.

Attach the Pma0AutomateAndAlign extension on the create operation of the custom design so that whenever a corresponding part is created, it is automatically aligned with the custom design:

  1. In the Operations tab of the custom design, search for the create operation.
  2. In Extension Attachments, click Add.
  3. In the Extension dialog box, click Browse next to Extension and select Pma0AutomateAndAlign.
  4. Click Add next to Arguments.
  5. In the Extension Arguments dialog box, click Browse next to TargetObjectType and select a custom part, for example, B4CustomPart.
  6. In CrelPropNameToEnableExtn, enter the name of the runtime property that you created for the custom design, for example, b4CreateAlignedPart and click Finish.
  7. In Condition, enter B4CreateImplicitPartCondition and click Finish.

Set the properties to be copied from the custom design to the corresponding custom part:

  1. Create a custom part (for example, B4CustomPart) and add a Is Design Required persistent property to it.
  2. In the Properties tab of the custom design, search for the property to be copied (for example, b4IsPartRequired property).
  3. Edit the Fnd0InheritFrom property constant. In the Modify Property Constant dialog box, browse for the custom part (B4CustomPart), select b4IsDesignRequired, and click Finish.

Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.dbom_ebom_alignment_admin/xid1931236 · retrieved 2026-07-11