- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi everyone,
let me summary my aim,
there is a rectangle which I have corner coordinates. there is many block objects inside this rectangle. block name which I want are "ZDEE" and "ZDHH". problem is that I don't want some of "ZDEE" blocks in my selection set.
I can make a selection set with below code but I can't use because of "ZDEE" blocks which I don't want.
(setq etr (ssget "_WP" ptlstkir (list (cons -4 "<OR") (cons 2 "ZDE*") (cons 2 "ZDH*") (cons -4 "OR>") )))
my questions,
-can I use specific "y" coordinate with ssget function ( I can use ZDHH's "y" coordinate)?
-can I use specific attribute value for my selection. (I can use specific pose number (POZ1 (type: AcString) (LocalName: POZ1) = 4))
thanks in advance.
Solved! Go to Solution.