Layers with `$` symbol in their name do not rasterize with dwg2bmp
Posted: Thu Jul 18, 2019 7:33 pm
Hi!
I am having problems rasterizing layers with `$` symbols in their names: they always show up empty.
Given the following file: A full raster yields no problem: Running rasterization on a layer without `$` in its name works fine:
However, running it on "Layer_with_$", yields a full white image:
I am assuming this is a problem with the CLI and system escaping of characters? Or the layer parser believing `$` is being used to escape a regexp? Any thoughts?
Thanks!
I am having problems rasterizing layers with `$` symbols in their names: they always show up empty.
Given the following file: A full raster yields no problem: Running rasterization on a layer without `$` in its name works fine:
Code: Select all
qcad.exe -no-gui -allow-multiple-instances -autostart scripts\Pro\Tools\Dwg2Bmp\Dwg2Bmp.js -background=white -width=1024 -height=1024 -force -antialiasing -monochrome -color-correction -zoom-all -no-weight-margin -layer=0 -outfile="layer0.png" layernames.dwg
Code: Select all
qcad.exe -no-gui -allow-multiple-instances -autostart scripts\Pro\Tools\Dwg2Bmp\Dwg2Bmp.js -background=white -width=1024 -height=1024 -force -antialiasing -monochrome -color-correction -zoom-all -no-weight-margin -layer="Layer_with_$" -outfile="Layer_with_$.png" layernames.dwg
Thanks!