I am creating a status report note on a drawing with multiple models and would like it to report back in a whether any of the associated drawing models have been modified in a users workspace using &PTC_MODIFIED. Do I need to write relations?
Old case from back in 2012, but it could provide us with a solution for a question we've posted recently :
Each time we check in a version of a drawing, automatically there is a pdf generated and added as an attachment to the drawing
This pdf is then used for production and sent for approval to the customer
This pdf is made in windchill with the setting “as stored”, so the pdf will reflect to the last time the drawing has been saved (and all the underlying parts,assy,.. are in the state as on that moment)
The problem is that when we open a drawing in creo we open a drawing with the setting “ latest”
If we change the underlying parts or assemblies (without changing anything to the drawing) we see the correct situation in on the screen
Although the display in creo will be updated to the present situation, the drawing will not be considered as being modified
As a result, when we save all objects , the drawing will not saved (because it is not modified)
As a next result, since there is no new version checked in, no new pdf is generated as an attachment
The pdf sent to the customer will still be the one of the previous drawing.
We have a mapkey to open drawings
If we could add something to make a drawing with the parameter “ptc_wm_lifecycle_state = In Work” automatically modified, then maybe our problem could be solved