I've used the following sequence to load a standard model - copy it to a
new model - erase the standard - display the new model and activate the
window.
ProMdlLoad
ProMdlCopy
ProMdlErase
ProMdlDisplay
ProMdlWindowGet
ProWindowActivate
But when I try to get the current model I get the bad context error.
What I am not understanding is how to set the current model. There
doesn't seem to be a way to do this, but I am sure it's just my
inexperience.
ProMdlCurrentGet(&pro_model) returns the bed context error.
Thanks for any help,
Jim Ridge
Eaton Truck Division
Galesburg, Michigan
Tel 269.342.3694
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.