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

ProE Model Save Status

Highlighted
Newbie

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

Re: ProE Model Save Status

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

RE: ProE Model Save Status

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