Set up custom parts for alignment
Enable the display of properties required to create and align a corresponding design to a custom part
While configuring a custom part for alignment, you create a persistent property to specify if a corresponding design is required and a runtime property to set the automatic creation and alignment of the corresponding design. You must now enable the display of these properties in the Add panel. You must also enable the display of the persistent property in the Summary tab of the custom part.
Procedure
Include the custom part in the Awb0AssociatedElement business object constant:
- In BMIDE, open the required BMIDE template project, for example, B4.
- Open the custom part business object, for example, B4CustomPartRevision.
- In the Business Object Constants tab, select Awb0AssociatedElement and click Edit.
- In the Modify Business Object dialog box, add Awb0PartElement in Value and click Finish.
Include the custom part in the Awb0SupportsStructure global constant:
- Click Open Global Constant Editor and select Awb0SupportsStructure. Click Edit.
- In the Modify Global Constant dialog box, click Add next to Value.
- In the Add Value dialog box, enter the custom part revision, for example, B4CustomPartRevision, and click Finish.
Create the following site preferences:
| Preference | Details |
|---|---|
| AWC_B4CustomPart.CREATERENDERING | Protection Scope: Site; Category: Product Structure.CAD BOM Alignment; Value: Awp0PartCreate |
| AWC_B4CustomPartRevision.SUMMARYRENDERING | Protection Scope: Site; Category: Product Structure.CAD BOM Alignment; Value: Awp0PartRevisionSummary |
| AWC_B4CustomPartRevision.INFORENDERING | Protection Scope: Site; Category: Product Structure.CAD BOM Alignment; Value: Awp0PartRevInfoSummary |
| AWC_B4CustomPartRevision.showObjectLocation.SUMMARYRENDERING | Protection Scope: Site; Category: Product Structure.CAD BOM Alignment; Value: Awp0PartRevisionSummaryForShowObjectLocation |
Using XRT Editor, open the following style sheets and add the corresponding entries and save it:
| Name of the style sheet | Entry to append | Description |
|---|---|---|
| Pma1PartCreate.xml | <property name="b4IsDesignRequired"/> <property name="B4CreateAlignedDesign"/> |
Here, B4 is the prefix of the BMIDE template that you have set. You add these entries so that the Is Design Required and Create Aligned Design properties are displayed on the Add panel. |
| Pma1PartRevSummary.xml | <content visibleWhen="object_type==B4CustomPartRevision"><property name="REF(items_tag, B4CustomPart).b4IsDesignRequired"/></content> |
Here, the entries are for the sample B4CustomPart and B4CustomPartRevision. You must make similar entries for the custom part and custom part revision that you created. You add these entries so that the Is Design Required and Create Aligned Design properties are displayed in the Summary tab. |
| Fnd0AlignedDesignsProvider.xml | <content visibleWhen="object_type==B4CustomPartRevision"><content visibleWhen="REF(items_tag, B4CustomPart).b4IsDesignRequired==true"><inject src="AlignedDesigns" type="dataset"/></content></content> <content visibleWhen="REF(awb0Archetype, B4CustomPartRevision).object_type==B4CustomPartRevision"><content visibleWhen="pma1IsDesignRequired==true"><inject src="AlignedDesigns" type="dataset"/></content></content> |
- Deploy the BMIDE template.
Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.dbom_ebom_alignment_admin/xid1930853 · retrieved 2026-07-11