I would like to start SC with a parameter containing the Drawing Name (a DXF File) .
I still create my drawings in Rhino 5.x. Inside Rhino I have a macro that exports the drawing as a DXF File and after this it starts SC. The file name ist allways the same. SC starts, but the error is "The file format is not supported.
Importing the generated DXF file works without problem. (SC and Rhino)
Any ideas from anyone ?
Regards and thanks in advance
Start SC with parameter (File.dxf)
Re: Start SC with parameter (File.dxf)
I think the command line parameter is looking for a job file not a drawing. I don't think there is a way to load a drawing file from the command line.
Re: Start SC with parameter (File.dxf)
When you import a dxf there's a prompt at the bottom of the box (Use Drawing Name as Part Name) check it.
- Attachments
-
- Sheetcam.JPG (32.35 KiB) Viewed 734 times
Last edited by Old Iron on Mon Dec 03, 2018 3:03 pm, edited 1 time in total.
- Les Newell
- Site Admin
- Posts: 3661
- Joined: Thu May 11, 2006 8:12 pm
Re: Start SC with parameter (File.dxf)
There isn't any way to auto load a drawing using the command line. However you may be able to use the autoload plugin. In SheetCam go to Options->plugin options->autoload. Enable it then enable 'Scan a directory'. Select the directory you want to monitor. Turn on 'Check for changes at startup'
When it detects a changed file in that directory it will automatically ask you if you want to load the drawing. The only down side to this setup is that you always have to save your drawings to a particular directory.
When it detects a changed file in that directory it will automatically ask you if you want to load the drawing. The only down side to this setup is that you always have to save your drawings to a particular directory.
Re: Start SC with parameter (File.dxf)
Hello Les,
thank you very much, its working as you described.
thank you very much, its working as you described.