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:
- In BMIDE, open the required BMIDE template project, for example, B4.
- Open the custom design, for example, B4CustomDesign.
- 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 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:
- 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 CreateImplicitPartCondition, for example, B4CreateImplicitPartCondition.
- Click Browse next to Signature and select the custom design, for example, B4CustomDesign.
- In Expression, type
o.b4IsPartRequired=trueand 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:
- In the Operations tab of the custom design, 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 part, for example, B4CustomPart.
- In CrelPropNameToEnableExtn, enter the name of the runtime property that you created for the custom design, for example, b4CreateAlignedPart and click Finish.
- In Condition, enter B4CreateImplicitPartCondition and click Finish.
Set the properties to be copied from the custom design to the corresponding custom part:
- Create a custom part (for example, B4CustomPart) and add a Is Design Required persistent property to it.
- In the Properties tab of the custom design, search for the property to be copied (for example, b4IsPartRequired property).
- 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