Skip to main content
Aug 8, 2022 4:41 AM UTC
Solved

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.

tbraxtonAnswer
Aug 8, 2022 11:45 AM UTC

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.

4 replies

Aug 8, 2022 7:22 AM UTC

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.

tbraxtonAnswer
Aug 8, 2022 11:45 AM UTC

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.
Aug 8, 2022 11:57 AM UTC

This work! Thank you!

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

Aug 8, 2022 2:06 PM UTC