Message 1 of 2
Finding matching blocks coords between two sets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have two sets of blocks each set being on their own layer.
The quantity of blocks in each set can be different.
I'm looping through one set/layer and using the following code to find the match on the other layer.
... oddly enough though the quantity of matches is coming up different depending on which set you start with.
(ignoring the elevation)
What would account for this?
(setq ss (ssget "X" (list (cons -4 "<and") (cons 0 "INSERT") (cons 66 1) (cons 2 (strcat "LocationPoint" ",`*U*")) (cons 8 Layer) (cons -4 ">,>,*") (cons 10 PntBtmSeachBox) (cons -4 "<,<,*") (cons 10 PntTopSeachBox) (cons -4 "and>") ) ) )