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 Guys,
I created three reusable attributes added in WT Part Soft type attributes also and I did the same thing for the EPM Document.
If I enter any value from the WT Part automatically those values come in the EPM Document.
Qns: I create one calculated attribute to combine all three attributes and get into a single value. But I can't see that in CAD Software attributes.
Regards,
Aj
Calculated attributes can not be propagated to the CAD model in the creo session.
The calculation is done on the html page loading and it is not saved anywhere. So the information can not be propagated to the model as you wish.
PetrH
Thanks for the reply, Please let me know if there is another approach we can use here to combine three attribute's value into one value.
Regards,
Aj.
You can create a customization that save the value to some additional IBA attribute. as you need.
Or you can use OOTB option to share three attributes to the model, and in the creo session use a Relations to calculate your value and store it in your additional attribute.
PetrH
create an alias attribute on the EPM to get teh value from Associated part , is it an owner assciation ?
@Fadel Thanks for the replay,
How can we create alias attributes for these three calculated attributes?
Regards,
Aj
Hi @Fadel
The question is how to get the calculated value to the CAD Software attributes so the model 😄
PetrH
If modifications done to the wtpart, they have to be “published” to the EPMDocument, they don’t automatically show up. It should push those attributes to the CAD model.
Also you can push values directly from wtpart including calculated attributes via a preference at the site level for EACH of the different cad applications (or same for all).
some notes:
1) epmdoc doesn’t handle multi-values but with that preference they can be sent directly to CREO model from wtpart
2) normal “calculated” attributes cannot handle multivaled attributes in the formula. However, the calculated field will allow you to run Java methods if you configure them, and that command “execute(com.xxx.xxx, param1,param2,param3)” does allow sending of multivalued attributes.
2a). Make sure your code handles null, strings (if only one value sent) and objects (if attribute has >1 value. )
2b. Code knows what object is so you don’t even have to send parameters if you want to query them in code.