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

How to the get modifed, deleted and new faces/edges of a pfcSolid using object toolkit (C++)

Newbie

How to the get modifed, deleted and new faces/edges of a pfcSolid using object toolkit (C++)

The scenario is/our requirement:

We create wrapper over pfcsolid and store it. If Creo modified the pfcsolid (by deleting or adding or modifying faces/edges) during any event, we want to capture the deleted/added or modifed faces/edges so that we can update the wrapper at our end appropriately.

 

Workaround from PTC support:

Object TOOLKIT C++ cannot track the info on modifed, deleted and new faces/edges of a pfcSolid. As a workaround, processing the IDs of faces and edges on OnBeforeRegen() and OnAfterRegen() can help identifying new/deleted faces/edges.

Limitation: it does not help to identify the modified faces/edges. More ever processing the IDs and updating the wrapper is likely to result into performance issues.