Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi Experts,
I am building CAD driven product structure.
I have enabled auto create and Auto associate of WTPart when CAD object is checked in.
I want to create condition for WTPart creation [by auto creation] based on the attribute/object type from the CAD assembly.
Let me know the possibility to achieve this.
Thanks
Murthi
Thanikachalamurthi, Did Greg or Keir's suggestions help you?
Agree for the generic. Should never have a WTpart and used in "real" assemblies.
As Keir says, I've got a similar use case than him . But not on sheetmetal.
We use family table for building Manufcaturing steps. But our best practice is to create the 1st instance equal to the generic. And then no Wtpart on the generic, and only WTpart on instances
It avoids unneeded modification/revision on a WTpart linked to a generic that will be updated each time you need to update an instance ....
For you need
I think you can achieve it Out of the Box by setting 2 preferences :
with the 1st one , you can define a boolean CreoParameter/Windchill IBA that will drive if you want to create an associated WTpart
with the 2nd one, you can define a boolean CreoParameter/Windchill IBA that will drive if the associated WTpart is a Gathering (not a phantom - there's a bad word in the pref name)
for more custom need, you're able to overload the java class in the preference "Custom Class for Auto Associate Part" where you are able to code whatever you want .....
regards
Hi Gregory, Hi Keir,
Thanks for your responses.
I took the points -
For 1
As Keir mentioned ....
(my opinion) Best practice would be to keep Generics out of "real" assemblies. Exception is sheet metal (I'm considering making the flat pattern the generic anyway and the fully formed the instance). You would have a "real" assembly and corresponding Part Structure for each assembly instance (and/or assembly using instances).
For 2
This seems to be a customization
For 3
As Gregory said there is an option OOTB which I have tried already - Unfortunately failed as it is a bug in 10.1 M030
Any other options ....
Hi,
You can set preference under your Product. You can define your own custom class to perform Auto Associate function.
Then you can filter out for which type of CAD you want to skip and for which you want to create respective WTParts.
Set following Preferences from Preference Management:
Operation -> Auto Associate -> Custom Class for Auto Associate Part, edit this preference and set your custom class
Then extend DefaultAutoAssociatePartFinderCreator to your class and use overridden method createNewPart with your logic.
Hi Kanifnath,
Thanks.
Will post you after I apply the same.
Thanks
Murthi