Skip to main content
4-Participant
July 3, 2025
Question

Updating Drawing Parameters in ModelCheck batch mode?

  • July 3, 2025
  • 1 reply
  • 715 views

I have configured ModelCheck in Creo 11 to update part, assembly, and drawing parameters.

When I run the ModelCheck in batch mode, only part and assembly files get their parameters updated and designated as per start file. Drawing parameters only update if I manually start ModelCheck Interactive. I've gone through the check file multiple times, and the settings (YNEW) are set identically for both Interactive and Batch mode in all checks so I would think they should work the same way whether I run Interactive or Batch.

Again, the updates work for all files in Interactive, and for parts and assemblies in batch. What am I missing here? 

1 reply

16-Pearl
July 3, 2025

AJ,

Does the trail file offer any clues as to why the drawings are not being updated?

You mentioned designating the parameters, so I assume you're using PDMLink. Is batch mode being run against a workspace, or outside of PDMLink & you import into a WS afterward? Have you tried both options?  If you're working within a WS, I'd assume all of the files are checked out. In the Creo Distributed Batch GUI, what does the Task Status show for the drawing models? Unsubmitted, Working, Complete, or Failed?

 

Regards,

 

Dan N.

AJo4-ParticipantAuthor
4-Participant
July 4, 2025

I am running ModelCheck straight from the Modelcheck bat and locally on the hard drive with a list of the objects to check in Batch mode. The objects are to be imported into Windchill after the Modelcheck fixes the parameters.

 

The mc_err.log states that "ERROR: UPDATE - Error adding parameter to model" and for the Parameter that is to be designated, claims it's been designated successfully. I just checked all versions of the drawings that were created during the check and none of them have the param designated (or the other one added). The parameter I'm trying to designate is the PTC_WM_REVISION and it sometimes acts weird after save operations even when I'm not connected to Windchill. All servers have been removed from the server management, so Creo shouldn't have any ties to Windchill. I do have the allow_create_pdm_param on and everything works fine in Interactive. 

 

Guess I'll look into the Distributed Batch next. 

 

It's almost as if ModelCheck doesn't save the drawings after the parameter designation...

AJo4-ParticipantAuthor
4-Participant
July 4, 2025

As an update, I set up the Distributed Batch and tried various recorded mapkeys to run ModelCheck interactive for the drawings to try and designate the parameters. Dist. Batch says Completed and the files are saved aaaaand.... the parameter is still undesignated when I open the files. Funny thing is that the mapkeys work like a charm in a regular Creo session!