All Projects

IDProject  ascCategoryTask TypeSeveritySummaryStatusOpened by
 2007 QCAD BugtrackerQCAD (main)Bug ReportLow bbox.bat cannot write log file ClosedFelix Task Description

The out redirection file is not located in temp dir but in the batch files location. Due to missing file permissions in “C:\Programs\...” the file cannot be created.

This is a fixed an therefore working version of bbox.bat:

@echo off
qcad.exe -no-gui -allow-multiple-instances -autostart scripts\Pro\Tools\BoundingBox\BoundingBox.js %0 %* 1>%temp%\bbox.log 2>&1

type %temp%\bbox.log
del %temp%\bbox.log
 2008 QCAD BugtrackerQCAD (main)Bug ReportLow windows: cannot call scripts\Pro\Tools\BoundingBox\Boun ...Closed1Felix Task Description

Calling bbox tool via batch file works:

C:\Program Files\QCAD>bbox.bat D:\tmp\dwgtester\10.09.03.dwg

Output:

09:42:15: Debug:

You are using a trial version of QCAD Professional.

09:42:15: Debug:    If you would like to use this software productively,
09:42:15: Debug:    please purchase the full version for a small license fee from our
09:42:15: Debug:    Online Shop at:
09:42:15: Debug:    http://www.ribbonsoft.com/shop

09:42:15: Debug:    Thank you for trying this add-on!


09:42:15: Debug:    Your script will start in 15 seconds...
09:42:30: Debug:    calling odInitialize
Min: 2419.9969114297623/-125.36162367587679
Max: 2689.9969114297623/64.63837647546899
Size: 270/190.00000015134577

Calling bbox tool directly doesn’t work:

C:\Program Files\QCAD>qcad.exe -no-gui -allow-multiple-instances -autostart scripts\Pro\Tools\BoundingBox\BoundingBox.js D:\tmp\dwgtester\10.09.03.dwg

Output (empty line):


	
 2009 QCAD BugtrackerQCAD (main)Bug ReportLow dwginfo - no output ClosedFelix Task Description

Tested on Windows and Linux with several DWG files.

Windows:

[.] C:\opt\QCAD>dwginfo.bat D:\tmp\dwgtester\08.01.01.dwg
12:57:27: Debug:

You are using a trial version of QCAD Professional.

12:57:27: Debug:    If you would like to use this software productively,
12:57:27: Debug:    please purchase the full version for a small license fee from our
12:57:27: Debug:    Online Shop at:
12:57:27: Debug:    http://www.ribbonsoft.com/shop

12:57:27: Debug:    Thank you for trying this add-on!


12:57:27: Debug:    Your script will start in 15 seconds...
12:57:42: Debug:    Input file:  D:\tmp\dwgtester\08.01.01.dwg
12:57:42: Debug:    calling odInitialize

Linux:

[email protected]:/qcad# ./dwginfo -platform offscreen /data/08.01.01.dwg
QCAD version  3.23.0
11:56:24: Debug:

You are using a trial version of QCAD Professional.

11:56:24: Debug:    If you would like to use this software productively,
11:56:24: Debug:    please purchase the full version for a small license fee from our
11:56:24: Debug:    Online Shop at:
11:56:24: Debug:    http://www.ribbonsoft.com/shop

11:56:24: Debug:    Thank you for trying this add-on!


11:56:24: Debug:    Your script will start in 15 seconds...
11:56:39: Debug:    Input file:  /data/08.01.01.dwg
11:56:39: Debug:    calling odInitialize
Showing tasks 1 - 3 of 3 Page 1 of 1

Available keyboard shortcuts

Tasklist

Task Details

Task Editing