Skip to main content
1-Visitor
September 19, 2018
Question

Change in model

  • September 19, 2018
  • 1 reply
  • 2266 views
Hello

Can we identify whether model (part, assembly or drawing) has changed or not? We don't want to do one on one comparison of all items and looking forward to some quick way of doing so through toolkit.

1 reply

18-Opal
September 20, 2018

I would start to investigate here:

 

ProError ProMdlVerstampGet  (ProMdl      model,       ProWVerstamp *p_stamp);

 

ProError (*ProMdlRetrievePostAction) (ProModel *p_retrieved_mdl);

 

ProError ProMdlModificationVerify (ProMdl       model,   ProBoolean  *p_modified);

 

Connecting the ... must be done by yourself 🙂

 

 

1-Visitor
September 21, 2018

Thanks for response.

 

ProMdlModificationVerify would not work as we are sure that save has been clicked by user. I mean user can just change annotation , set back to main location and save it again. This might also be a scenario.

 

We are not sure about ProMdlVerstampGet as we are not working with windchill and might not be having worsksapce.

 

Could not get about your third point that is ProError (*ProMdlRetrievePostAction) (ProModel *p_retrieved_mdl);

Could you please elaborate more?

 

Thanks again for your response.

 

Regards

Ketan

 

17-Peridot
September 21, 2018

@Ketan_Lalcheta wrote:

We are not sure about ProMdlVerstampGet as we are not working with windchill and might not be having worsksapce.


The version stamp object provides a way of keeping track of changes in a Creo
Parametric model to which your Creo Parametric TOOLKIT application may need
to respond. Creo Parametric models and features contain an internal version stamp incremented each time some design change is made to that model or feature.

I want to believe that is possible without Windchill. Did you test this?