Skip to main content
17-Peridot
August 8, 2022
Solved

How to verify instances of the family table?

  • August 8, 2022
  • 2 replies
  • 1752 views

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.

Best answer by tbraxton

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.

2 replies

24-Ruby III
August 8, 2022

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.

tbraxton
22-Sapphire II
tbraxton22-Sapphire IIAnswer
22-Sapphire II
August 8, 2022

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.
17-Peridot
August 8, 2022

This work! Thank you!

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

21-Topaz I
August 8, 2022