Jump to content

lisp to filter modified dimensions


flopo

Recommended Posts

Hello guys,

Is there a method to filter modified dimensions? I mean dimensions with value modified, not the real one...Thanks! (as usual :)).

Link to comment
Share on other sites

Lee, that's a very good example of using wildcards!

 

I'm just wondering, if there could be an easy way to check for dims with overridden properties (not just the values). The closest I can get is:

(ssget '((0 . "*DIMENSION") (-4 . "<OR") (1 . "*?*") (-3 ("ACAD")) (-4 . "OR>")))

Though you can't check for a specific type of override.

 

Though it's probably not really needed as the "Dim Update" "command" (actually _-dimstyle _apply) would simply revert dims back to match the style.

Link to comment
Share on other sites

Lee, that's a very good example of using wildcards!

 

Thanks Irne! :)

 

I'm just wondering, if there could be an easy way to check for dims with overridden properties (not just the values).

 

This appears to work in ACAD2010:

 

(sssetfirst nil (ssget "_X" '((0 . "*DIMENSION") (-4 . "<OR") (1 . "*?*") (-3 ("ACAD" (1000 . "DSTYLE"))) (-4 . "OR>"))))

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...