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:
- In BMIDE, open the required BMIDE template project, for example, B4.
- Open the custom part, for example, B4CustomPart.
- In the Operation Descriptor → CreateInput tab, click Add.
- In the OperationInput Property dialog box, select Define and add a new Runtime Property from Business Object and click Next.
- 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:
- On the menu bar, click BMIDE → New Model Element.
- In the Model Element Type dialog box, type Condition in Wizards and click Next.
- In the Condition dialog box, type CreateImplicitDesignCondition, for example, B4CreateImplicitDesignCondition.
- Click Browse next to Signature and select the custom part, for example, B4CustomPart.
- In Expression, type
o.b4IsDesignRequired=trueand 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.
- In the Operations tab of the custom part, search for the create operation.
- In Extension Attachments, click Add.
- In the Extension dialog box, click Browse next to Extension and select Pma0AutomateAndAlign.
- Click Add next to Arguments.
- In the Extension Arguments dialog box, click Browse next to TargetObjectType and select a custom design, for example, B4CustomDesign.
- In CrelPropNameToEnableExtn, enter the name of the runtime property that you created for the custom part, for example, b4CreateAlignedDesign and click Finish.
- In Condition, enter B4CreateImplicitDesignCondition and click Finish.
Set properties to be copied from the custom part to the corresponding custom design:
- Create a custom design (for example, B4CustomDesign) and add a Is Part Required persistent property to it.
- In the Properties tab of the custom part, search for the property to be copied (for example, b4IsDesignRequired).
- 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