Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

ModelCHECK in batch mode - access denied

wattie978

New member
Hi Guys!


I am about to run a Modelcheck on some thousands of files. Going through on ptc help and the good article from ProfilesMagazin i decided to run modelcheck in batch mode. I use windows platform.


So that i have created a list of files using the


dir *.prt.* *.asm.* *.drw.* /b > part.lst


Then searched to the installation directory /bin. From there i have run modelcheck.bat. Modelcheck window appeared and i choosed "Batch mode" and browsed for the previously created parts.lst file. Nothing happened so that i repeated this last section in Command prompt. Now there is an error message which says:


"ERROR: could not write ptc.setvars.bat to current directory


.../bin/ptc_setvars.bat


Network access denied."


We use Pro/INTRALINk 3.3 and we have our servers abroad and i do not have the right to modify this files attribute. I hzave also created and finetuned the *.mcs *.mcr *.mcn *.mcc and *.mc files.


Do you have any suggestion? How could i overcomethis issue without starting a long-long procedure to get administrators in order to get administration rights.


Thank you very much in advance.
 
Ae the files in a Windows folder or in Intralink? You cannot run modelcheck against the .proi folder that has the Intralink controlled files in it. You either need to run ModelCheck batch from within Pro/E to access the Intralink files or export all the files to a disk folder and then run batch in Windows.
 
Dear looslib,


Thank you for your reply. You are absolutely right. Those files are Intralink controlled models. I do not want to make another, non-Intralink controlled copy of those files.So i prefer to go with the ModelCHECK batchwithin Pro/E. I just do not know how to run ModelCHECK in batch mode from Pro/E.
smiley9.gif



How? Thank you in advance.
 
To run the batch mode from Pro/E you can copy the modelcheck.bat and part.lst to your working directory.

Then from Pro/E select Window > Open System Window. This will open a DOS window in your working directory that you should be able to run the Batch File from. To get back to Pro/E you must exit out of the DOS cmd.exe window.

Or as Looslib said run it on files in Local Workspace and then Recheck them in to the Intralink workspace.

Hope this works for you.

Michael


Edited by: mjcole_ptc
 
Hello Michael,


thank you for your reply. i have tried both way with no success.


When want to start my dos window from Window/Open System Window a message appears in information area: Logout of process to leave Operating System. And the command prompt window disappears immediately.


Alternively i copied modelcheck.bat to my Workspace then it missed the ptc_setvars.bat so i copied it into my Workspace just for fun, of course this does not work.


Finally i deleted modelcheck.bat from Workspaceand have run modelcheck from Command prompt and this has finished with no error. Everything lokoed good. Unfortunately no changes were made to my models. So i dig intothe config files again. But i do not think it could work if i do not have rights to modify config files in installation directory. By the way how to run Modelcheck with my own configuration files on my hard drive without changing any of the config files in installation directory?


Any suggestion is much appreciated. Thanks
 
I believe you can make Copies of the existing files from the modelcheck modchk or whatever the directory name is from the Model Check config window in Pro/E.

Or you can copy them in Windows and name your files with your initials preceeding the original names and point to the config check and other files that are used.

Also check the following link which is very informative in regard to model check.
http://www.profilesmagazine.com/p31/cover.html

Michael


Edited by: mjcole_ptc
 

Sponsor

Articles From 3DCAD World

Back
Top