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.

Command Line Arguments to CATScript


New member

I have a question regarding a macro.

I am in need of automating the tool catalog creation using batch file. I want to pass the address of the csv file and catalog file in command line

Command: CNEXT -batch -macro "D:\test\catalog.catscript" D:\test\tool.csv D:\test\tool.catalog.

In CATScript I used an argument as

Sub CATMain (arg1 arg2). But the script is not taking the arguments. It is working only interactively. Is it possible to pass the arguments to CATScript in command line?

Thanks in advance.
<?:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" />


Articles From 3DCAD World