Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hello all
We have Creo 4.0 M130 and working on toolkit side.
I am aware that direct api which visits / collects all items in simp rep for assembly is not visiting all the items.... Items must be set as Either master or Exclude (only these two options) for api to work perfectly...
Concern is that designers set derived status as well for components of assembly for simp rep.... In this case , we obviously miss status of items which must be ignored or considered as item of simp rep.... Is there a way to achieve all the items which are active for a simp rep even though it might be set as excluded or master rep or derive status?
Feel free to ask for clarification if question is not clear.. thanks in advance...!
Solved! Go to Solution.
@Ketan_Lalcheta wrote:
Hello all
We have Creo 4.0 M130 and working on toolkit side.
I am aware that direct api which visits / collects all items in simp rep for assembly is not visiting all the items.... Items must be set as Either master or Exclude (only these two options) for api to work perfectly...
Concern is that designers set derived status as well for components of assembly for simp rep.... In this case , we obviously miss status of items which must be ignored or considered as item of simp rep.... Is there a way to achieve all the items which are active for a simp rep even though it might be set as excluded or master rep or derive status?
Feel free to ask for clarification if question is not clear.. thanks in advance...!
Hello all,
Ketan,
There is an option to use ProAsmcompVisibilityGet(...) while visiting assembly components.
Regarding usage of ProSimprepdataitemsVisit(...) or accessing ProSimprepdata structure's 'items' member directly, one needs to remember that prosimprepdata items are not assembly components but rather inclusion/exclusion rules for assembly components. User Guide provides rather simplistic example of the function usage which indeed would work with Master or Exclude variations.
HIH.
FV.
@Ketan_Lalcheta wrote:
Hello all
We have Creo 4.0 M130 and working on toolkit side.
I am aware that direct api which visits / collects all items in simp rep for assembly is not visiting all the items.... Items must be set as Either master or Exclude (only these two options) for api to work perfectly...
Concern is that designers set derived status as well for components of assembly for simp rep.... In this case , we obviously miss status of items which must be ignored or considered as item of simp rep.... Is there a way to achieve all the items which are active for a simp rep even though it might be set as excluded or master rep or derive status?
Feel free to ask for clarification if question is not clear.. thanks in advance...!
Hello all,
Ketan,
There is an option to use ProAsmcompVisibilityGet(...) while visiting assembly components.
Regarding usage of ProSimprepdataitemsVisit(...) or accessing ProSimprepdata structure's 'items' member directly, one needs to remember that prosimprepdata items are not assembly components but rather inclusion/exclusion rules for assembly components. User Guide provides rather simplistic example of the function usage which indeed would work with Master or Exclude variations.
HIH.
FV.