Skip to main content
18-Opal
Sep 28, 2018 4:53 AM UTC
Solved

ProMdlSave seems to have an issue with drawings.

Hello

 

Parts A.prt and drawing A.drw are available.
Parts and drawings are assumed to be checked out.

 

Component A's dimensions and shape have changed.
Open drawing A.


Use ProDrawingViewVisit to call the following function:
-ProDwgDraftRegenerate
-ProDrawingViewIdGet
-ProDwgViewRegenerate
-ProDrawingViewRegenerate

 

Then call ProMdlSave.


All called functions return PRO_TK_NO_ERROR.

 

The result is stored only in the associated part A.prt.
The drawing A.drw does not appear to have changed.

image_2.png

However, when you call ProMdlSave after you have done Update Draft on the Review tab in the Creo UI, the drawing also appears to have changed.

image_3.png


We are currently working on this issue by opening the PTC case.
If you have any of the community users who have experienced and resolved issues like me, please share them.

 

Thanks,

Warm Regards,

SH CHA

This topic has been closed for replies.
CHASEONHOAnswer
18-Opal
Sep 28, 2018 8:07 AM UTC

It was an option problem in config.pro.
If you change the value of save_object to changed_and_specified and save it, the drawing will be saved correctly.

1 reply

CHASEONHO18-OpalAuthorAnswer
18-Opal
Sep 28, 2018 8:07 AM UTC

It was an option problem in config.pro.
If you change the value of save_object to changed_and_specified and save it, the drawing will be saved correctly.

Translate