Combstate in creo 2.0 using with saved view in model as one of the modelitem in array
I am trying to create combined state using pro/toolkit in creo 2.0 using API ProMdlCombstateCreate()....
steps i followed as...
1. Created one saved view in solid model.
2. Collected all the views from the solid using ProView API's
3.I tried to use ProView object of saved view to ProModelitem array.
4.ProMdlCombstateCreate() gived error as -18 ( Invaild item type)
Do any one face silimilar issue?
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
Re: Combstate in creo 2.0 using with saved view in model as one of the modelitem in array
I could able to resolve issue with a proper try after reading very carefully the protoolki document and manually how combination state is created in creo.
you have to pass at least two modelitems into array.If not the default value can be considered while creation of comb state.I observerd a challenge while conversion of ProView to ProModelitem in creo 2.0 in old verion of M00 date codes.
I can share details soon on this with more write up.