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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

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

pgupta-5
1-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.

 

 

0 REPLIES 0
Top Tags