Hello.
Please tell me how to execute 「purgeblocks」 command from the command line.
input dxf
↓
do purgeblocks → out dxf
↓
dwg2pdf
↓
output pdf
I want to realize all the above with commands.
thank you.
Hello.
Please tell me how to execute 「purgeblocks」 command from the command line.
input dxf
↓
do purgeblocks → out dxf
↓
dwg2pdf
↓
output pdf
I want to realize all the above with commands.
thank you.
There is no command line tool in QCAD to do that.
You can create your own script and trigger:
include("scripts/Pro/Block/PurgeBlocks/PurgeBlocks.js");
...
PurgeBlocks.purgeBlocks(di);
Where di is the document interface.
See also:
You’d typically insert PurgeBlocks.purgeBlocks(di); instead lines 66-69.
Hi Andrew.
Thank you for you reply.
The following error was displayed when executing the method taught.
[Command]
./qcad -platform -no-gui -allow-multiple-instances -autostart qcad_purgeblock.js -f -o out.dxf in.dxf
[Terminal]
QCAD version 3.22.0
Fatal: This application failed to start because it could not find or load the Qt platform plugin "-no-gui"
in "".
Available platform plugins are: cocoa.
Reinstalling the application may fix this problem.
./qcad: line 18: 49991 Abort trap: 6 DYLD_LIBRARY_PATH="$DIR" "$binary" "$@"
Do I need to install any additional software?
thank you.
The problem is solved.
It changed when the character code was changed to utf8.
It is probably the same problem as the question being asked.
Thank you for your response.