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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

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

pgupta-5
1-Visitor

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