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

How to verify instances of the family table?

ysinitsyn
16-Pearl

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
tbraxton
20-Turquoise
(To:ysinitsyn)

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.

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
tbraxton
20-Turquoise
(To:ysinitsyn)

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.

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:ysinitsyn)

Announcements