Jump to content

[HELP] ssget to select all dimensions less than a number.


haisagiviz

Recommended Posts

Hi everyone,

 

I can make select all dimension = 0 to delete as below code

(setq ss5 (ssget "X2" '((0 . "DIMENSION") (42 . 0.0))))
(command "erase" ss5 "")

 

But I don't know why it is not working sometime. Is there anyway to filter the dimensions which less than a number (<0.1) like quick select tool.

 

Thank you.

Link to comment
Share on other sites

10 hours ago, hanhphuc said:

(sssetfirst nil (ssget "_X" '((0 . "DIMENSION")(-4 . "<") (42 . 0.1)) ) )

 

for more info here -->  logical operators

 

It is exactly what I want to do.

Thank you so so much for help and more info.

Edited by haisagiviz
Link to comment
Share on other sites

Can you help me is there anyway to detect dimension's node when its distance from dimension line are greater than a number and move them back to dimension base line.
Because my drawing problem is: the dimension's extend line is overlap with other line such as grid, wall line...

Thanks again.

 

P/S: @hanhphuc are you from Vietnam?

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...