Page 1 of 1

Remove all dimension entities

Posted: Thu Jun 11, 2020 8:32 am
by louis
Hello,
I would like to remove all arrows with dimension from my DWG (bottom).

See DWG file and a screenshot below. Do you have any idea how to do this with command line ? Which option ?

If anyone has the answer I would be thankful

Debian 10
QCAD version 3.22.1

Re: Removed arrow with dimension

Posted: Thu Jun 11, 2020 9:26 am
by petevick
from the menu Edit>Drawing Preferences click on Dimension Settings in the dialog box, then set the Arrow size field to 0, click on Apply

Re: Removed arrow with dimension

Posted: Thu Jun 11, 2020 9:46 am
by louis
Hello,
Thanks but I would like to remove the dimension (line, arrow, value). I try to set all value to 0 but the line are always visible

Re: Removed arrow with dimension

Posted: Thu Jun 11, 2020 9:50 am
by andrew
Just to be clear: are you looking for a way to remove (delete) all dimension entities from the drawing?

Re: Removed arrow with dimension

Posted: Thu Jun 11, 2020 9:51 am
by louis
Yes

Re: Removed arrow with dimension

Posted: Thu Jun 11, 2020 9:51 am
by louis
andrew wrote:
Thu Jun 11, 2020 9:50 am
Just to be clear: are you looking for a way to remove (delete) all dimension entities from the drawing?
Yes

Re: Removed arrow with dimension

Posted: Thu Jun 11, 2020 9:56 am
by andrew
View > Selection Filter
Choose "Dimension" as type and click the button at the bottom left to select all dimension entities:
Screenshot 2020-06-11 at 10.54.29.png
Screenshot 2020-06-11 at 10.54.29.png (40 KiB) Viewed 7986 times
Then hit the Delete key or choose Edit > Delete.

Re: Removed arrow with dimension

Posted: Thu Jun 11, 2020 9:58 am
by Husky
@louis

Please note that QCAD is a 2D program. Your drawing has Z values all over the place. I assume it is converted from a 3D drawing.
I recommend to clean the drawing from all Z-values before you put more work in it with QCAD.

Re: Remove all dimension entities

Posted: Thu Jun 11, 2020 10:07 am
by louis
Ok thanks, so I think it's impossible to do that with command line ? Or to keep all layer expect layer with name X or Y ?

I'm sorry I'm a developper I don't have any skills with this software, be understanding with my strange question

Re: Remove all dimension entities

Posted: Thu Jun 11, 2020 10:12 am
by andrew
louis wrote:
Thu Jun 11, 2020 10:07 am
Ok thanks, so I think it's impossible to do that with command line ? Or to keep all layer expect layer with name X or Y ?
Not out of the box. Using the QCAD script interface, you would have to create a command line tool that does that.

See also:
https://www.qcad.org/en/tutorial-comman ... ol-scripts

Re: Remove all dimension entities

Posted: Thu Jun 11, 2020 10:17 am
by louis
Ok thanks for your answers !

Re: Remove all dimension entities

Posted: Thu Jun 11, 2020 10:47 am
by CVH
louis wrote:
Thu Jun 11, 2020 10:07 am
Or to keep all layer expect layer with name X or Y ?
Has this question relevance with removing all dimensions (167 on rdc-cotation).

Then I would:
Freeze layer 'rdc-cotation'
or
Delete layer 'rdc-cotation'

Regards,
CVH

Re: Remove all dimension entities

Posted: Thu Jun 11, 2020 4:24 pm
by louis
Yes I see but I need to used command line

Re: Remove all dimension entities

Posted: Thu Jun 11, 2020 7:02 pm
by CVH
louis wrote:
Thu Jun 11, 2020 4:24 pm
Yes I see but I need to used command line
louis wrote:
Thu Jun 11, 2020 8:32 am
... remove all ... dimension from my DWG (bottom).
For one single file?
CVH