Skip to main content
5-Regular Member
March 24, 2025
Solved

Update Family table verification status using API

  • March 24, 2025
  • 1 reply
  • 1125 views

Hello Everyone,

 

I need to update the verification status of each instance in the family table using the Windchill API.

I am currently able to update the attributes of both the generic and instance entities using the following API:

EPMWorkspaceHelper.manager.setAttributes(ws, epmAttributeMap);

Has anyone worked on this before or have any insights on how to proceed?

 

NK_11091925_0-1742834305385.png

 

Best answer by HelesicPetr

Hi @11091925 

You can not use the persistence adapter to do so this way 😄

Check also my different answer >D

How to update IBA String values on a Part without iterating?

PetrH

1 reply

HelesicPetr
22-Sapphire II
22-Sapphire II
March 27, 2025

Hi @11091925 

From my perspective it is not good idea to change the verification status by api from an external source then Creo Parametric , because the verification does the Creo with own mechanism that is not repeatable by external api without a deep knowledge of the FT logic. For example the Creo verification contains the instance regeneration based on the family table dimension attribute, and this can not be done outside the CAD Application. 

 I would be very careful to do so.

 

PetrH

110919255-Regular MemberAuthor
5-Regular Member
April 3, 2025

@HelesicPetr 

 

Currently, in order to change the attribute for a family table, I need to check out the family CAD document, update the attribute, and then check in the family table objects.

 

This process results in the verification status being set to 'Unverified.'

 

Could you please clarify the implications of keeping the verification status as 'Unverified' for the time being? Additionally, would it be acceptable if user verify the status later by checking out the family document?"

HelesicPetr
22-Sapphire II
22-Sapphire II
April 3, 2025

@11091925 

You can verify the FT later but you(user) have to again check-out/in the object . 

 

btw do you have any reason to check-out/in the object if you want to update the IBA attribute value?

What is the reason? You can update the attribute without the check-out/in

 

PS> if you update the FT dimension attribute that is used for model in the FT then you have to always verify the FT because verification is necessary to regenerate the geometry in the model by the Creo.

PetrH