Skip to main content
10-Marble
October 10, 2024
Solved

ProMdlReadonlyIgnore implementation

  • October 10, 2024
  • 2 replies
  • 3159 views

Hi,

I am trying to implement ProMdlReadonlyIgnore with reference to article CS398373, as I am unable to upload parameters while it is in Checkin state. Untill Creo 7.0.11 I was able to do it, but same action in Creo 10.0.5 is demanding me a checkout. By referring article CS398373 I figured we have to use ProMdlReadonlyIgnore(I suppose not as a custom API) but PTC provided. I do not see any document in Creo Parametric TOOLKIT API Wizard .Can I get some help here.

Best answer by syalagudri

Its a hidden API and available in ProMdl.h. i think you should be using 10.0.2.0 and above build for this 

syalagudri_0-1728543813631.png

 

2 replies

14-Alexandrite
October 10, 2024

We faced the similar issue. After using API ProMdlReadonlyIgnore its allowed to update the parameter. May be you can set to true at the start of toolkit execution and set to false once toolkit execution completes.  Need to set false on any exception also.

 

ProMdlReadonlyIgnore(PRO_B_TRUE);
10-Marble
October 10, 2024

I tried it, but I am not able to find which header file to include to get this function/files/toolkit/includes to work?Also to be specific, when I use 

ProMdlReadonlyIgnore(PRO_B_TRUE);

I am getting - identifier "ProMdlReadonlyIgnore" is undentified error.

14-Alexandrite
October 10, 2024

Its a hidden API and available in ProMdl.h. i think you should be using 10.0.2.0 and above build for this 

syalagudri_0-1728543813631.png

 

18-Opal
October 10, 2024

CS44835

 

Set config

dm_auto_conflict_resolution yes
dm_checkout_on_the_fly continue

I would read and save with toolkit, on quit the app restore the saved value!

 

CS398373: Note this is a hidden API, you may need to add this to one header file and include this!