cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Summary: How to turn off the Build Rule for Product Structure?

FrankMenendez
1-Newbie

Summary: How to turn off the Build Rule for Product Structure?

The only way possible is to customize the class file for WTPartUsageLink. This would allow you to disable the CAD Doc (assembly) driving WTPart structures through owner links, while retaining all other functionality (attributes and viewables).

From PTC:

"Looking forward, in 9.1 the CAD Doc to WTPart link has been enhanced with roles. Basically the three roles are:

- Structure: indicates the CAD Doc "drives" the Part structure

- Attribute: indicates attributes will be "published" from the CAD Doc to the associated Part

- Representation: indicates representation viewable will be transferred from the CAD Doc to the associated Part

For example, in 9.1 you can disable the Structure role preventing the CAD doc from driving the WTPart structure, keep the attributes and representation roles, while being able to edit the part structures manually."


1 REPLY 1

Or you can create your own Model Class - MY-WTPartUsageLink and set the properties in site.xconf file in order to use this link instead of OOTB WTPartUsageLink. So you can handle BOM processing. After code generation - run SQL script to create the table for MY-WTPartUsageLink. It gives you flexibility and features decoupling from OOTB interfaces. Play before use....

D
Top Tags