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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

How to verify instances of the family table?

YaroslavSin
17-Peridot

How to verify instances of the family table?

Hello.

Can you give me advice how to verify instances of the family table using Pro/Toolkit?

Even if I retrieve and regenerate a instance, the verify status is not updated.

1 ACCEPTED SOLUTION

Accepted Solutions

Verification of table instances is not supported by Toolkit or J-Link.

 

This is the suggested workaround for Toolkit.

  • Workaround:
  1. Use ProFamtableInit() to get a handle to the family table.
  2. Use ProFamtableInstanceVisit() to visit each instance in the family table.
  3. Use ProFaminstanceIsVerified() to check if an instance is verified or not.
  4. If not verified, retrieve each instance using ProFaminstanceRetrieve() and it will be verified on retrieval.​
  5. Optional step: user may call ProSolidRegenerate() with regeneration flag PRO_REGEN_FORCE_REGEN on the retrieved model if a force regeneration is required.
========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

View solution in original post

4 REPLIES 4

Hi,

I hope you know that you can run mapkey code representing interactive user action.

To know if there is Toolkit command you have to contact PTC Support.


Martin Hanák

Verification of table instances is not supported by Toolkit or J-Link.

 

This is the suggested workaround for Toolkit.

  • Workaround:
  1. Use ProFamtableInit() to get a handle to the family table.
  2. Use ProFamtableInstanceVisit() to visit each instance in the family table.
  3. Use ProFaminstanceIsVerified() to check if an instance is verified or not.
  4. If not verified, retrieve each instance using ProFaminstanceRetrieve() and it will be verified on retrieval.​
  5. Optional step: user may call ProSolidRegenerate() with regeneration flag PRO_REGEN_FORCE_REGEN on the retrieved model if a force regeneration is required.
========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

This work! Thank you!

Also, the model must be saved and reopened. In current session an instance status is not updated in GUI.

remy
21-Topaz I
(To:YaroslavSin)

Top Tags