cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

ProE Model Save Status

JIMVANDRAGT
1-Visitor

ProE Model Save Status

Good Afternoon,

Is there a call available to determine if the current ProE model needs to
be saved? If so, if you could provide a code snippet that be greatly
appreciated.

Thanks.

Jim

Jim Van Dragt
Information Technology
Herman Miller Inc.
2 REPLIES 2

ProMdlModificationVerify()

Jim VanDragt wrote:

>
> Good Afternoon,
>
> Is there a call available to determine if the current ProE model needs
> to be saved? If so, if you could provide a code snippet that be
> greatly appreciated.
>
> Thanks.
>
> Jim
>
> Jim Van Dragt
> Information Technology
> Herman Miller Inc.
> --- You are currently subscribed to toolkits. To unsubscribe send a
> blank e-mail to -. For
> assistance, email us at - or find other contacts
> at www.ptcuser.org/org/contacts.html. PTC/USER and the PTC/USER logo
> are registered trademarks of PTC/USER, Inc. Pro/ENGINEER is a
> registered trademark of PTC. Message authors are solely responsible
> for the content of their posts.


--
Robert A. Monat
Jerand Technical Services, Inc.
http://www.jerand.com
Phone: 317-875-6087 FAX: 317-875-6612 Tollfree(US)888-4JERAND

Jim,

This is what I use...



###########################################

ProBoolean IsModified;



status = ProMdlModificationVerify(model, &IsModified);

if (status != PRO_TK_NO_ERROR)

{

return (status);

}



if (IsModified == PRO_B_TRUE)

{

/* Model IS changed! */

}

else

{

/* Model is NOT changed! */

}

########################################



John


Announcements
Business Continuity with Creo: Learn more about it here.

Top Tags