Skip to main content
1-Visitor
May 10, 2006
Question

ProE Model Save Status

  • May 10, 2006
  • 2 replies
  • 724 views
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

    1-Visitor
    May 10, 2006
    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

    1-Visitor
    May 10, 2006
    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