TeamcenterKnowledge

Set up custom parts for alignment

Set the automatic creation of a design for a custom part

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 design to be automatically created and aligned to the custom part.

Procedure

Add a Create Aligned Design runtime property to the custom part:

  1. In BMIDE, open the required BMIDE template project, for example, B4.
  2. Open the custom part, for example, B4CustomPart.
  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 CreateAlignedDesign to the BMIDE template project prefix in Name, for example, b4CreateAlignedDesign. Enter Name and enter Create Aligned Design in Display Name.
    • Select Boolean in Attribute Type.
    • Click Finish.

Add a BMIDE condition to create a custom design 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 CreateImplicitDesignCondition, for example, B4CreateImplicitDesignCondition.
  4. Click Browse next to Signature and select the custom part, for example, B4CustomPart.
  5. In Expression, type o.b4IsDesignRequired=true and click Finish.

Attach the Pma0AutomateAndAlign extension on the create operation of the custom part. On doing so, if a corresponding design is created, it is automatically aligned with the custom part.

  1. In the Operations tab of the custom part, 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 design, for example, B4CustomDesign.
  6. In CrelPropNameToEnableExtn, enter the name of the runtime property that you created for the custom part, for example, b4CreateAlignedDesign and click Finish.
  7. In Condition, enter B4CreateImplicitDesignCondition and click Finish.

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

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

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