Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
I would like to set BOM Balloon Parameter using API.. I do have object of Table reference of BOM table ad I know which parameter need to be set. I am not sure whether this is possible through API or not.
Regards
Ketan
Hi Ketan,
I am not sure if it exactly catches your requirement but do let me know.
If you are talking about Balloon parameters like quantity or index then i think you can get the dtlsymInst-->syminstdata-->get the variable text-->alloc the variable text-->add/set the variable text.
Api wise :
1.ProDrawingDtlsyminstsCollect
2.ProDtlsyminstDataGet
3.ProDtlsyminstdataVartextsCollect
4.ProDtlvartextAlloc
5.ProDtlsyminstdataVartextAdd
6.ProDtlsyminstdataVartextsSet
Regards
Subhendu
Hello Ketan,
if the info from Subhendu helped you solve the issue, please mark his post as Correct Answer
And if you talk about the parameter value from a model, displayed in a balloon, then you need to access the model and set the parameter there.
Thanks,
Gunter
Hello,
My intention is not to set variable text. I am interested into BOM balloon Parameter.
Regards
Ketan