Skip to main content
7-Bedrock
Oct 14, 2026 10:24 AM UTC
Solved

WT part source attribute value

While checking in the CAD part, my requirement is that any CAD part whose name starts with "XYZ" should have the Source attribute value set to "Buy". rest all should have value make which is defalut value

    TDTAnswer
    18-Opal
    Oct 15, 2026 5:26 AM UTC

    There are multiple ways to achieve this,
    1. Customize the Auto-Association Logic: If you are following the CAD-centric approach, where a new WTPart is always created during auto-association, you can customize the AutoAssociatePartFinderCreator class to set the WTPart attribute value based on the CAD Document name.
    2. Use a Listener: Implement a listener to update the WTPart attribute value after the link between the CAD Document and WTPart is created.
    3. Use a Business Rule: Configure a business rule to validate the source attribute when releasing the CAD Document. If the user has not manually updated the source attribute, the rule can prompt the user to update it.

    6 replies

    Fadel
    23-Emerald II
    Oct 14, 2026 2:35 PM UTC

    This may require a custom listener to do the job

    Translate
    Buiꓘa
    7-Bedrock
    Oct 15, 2026 4:33 AM UTC

    Hi Fadel, Thanks is there any way through OIR 

    Translate
    18-Opal
    Oct 15, 2026 4:57 AM UTC

    Hi ​@AP_10312699,

    Your post heading refers to the WTPart source attribute, but your description mentions checking in the CAD Part.
    Could you please confirm whether your requirement is to validate that the linked WTPart's source attribute is set to Buy during CAD Part check in when the CAD Part name starts with XYZ?

    Translate
    7-Bedrock
    Oct 15, 2026 5:05 AM UTC

    Hi,

     

    Yes for the linked WT part Created by Auto assocation, the name of WT part and Name of CAD part will be same, 

    Translate
    TDT18-OpalAnswer
    18-Opal
    Oct 15, 2026 5:26 AM UTC

    There are multiple ways to achieve this,
    1. Customize the Auto-Association Logic: If you are following the CAD-centric approach, where a new WTPart is always created during auto-association, you can customize the AutoAssociatePartFinderCreator class to set the WTPart attribute value based on the CAD Document name.
    2. Use a Listener: Implement a listener to update the WTPart attribute value after the link between the CAD Document and WTPart is created.
    3. Use a Business Rule: Configure a business rule to validate the source attribute when releasing the CAD Document. If the user has not manually updated the source attribute, the rule can prompt the user to update it.

    Translate
    7-Bedrock
    Oct 15, 2026 6:33 AM UTC

    HI,

     

    Thanks for the sugestions will try do it through first approach, 

    Translate