PDA

View Full Version : Selection Set Help.


Blindhole
2008-07-03, 07:29 PM
I am looking for a little help on a selection set that will get all Multi-View Blocks and Blocks. Any suggestions....

ccowgill
2008-07-03, 07:33 PM
I am looking for a little help on a selection set that will get all Multi-View Blocks and Blocks. Any suggestions....
(setq ss (ssget "_X" '((0 . "INSERT"))))
will get you all inserts, but I believe that includes xreferences

Blindhole
2008-07-03, 08:09 PM
That seems to not work for what I am trying to do. What i need to do is select all Multi-View Blocks and explode them one time. Then select all Blocks in the drawing.

The selections method below works good for the second part,
Code:

(setq ss (ssget "_X" '((0 . "INSERT"))))


but the first part is the one I am stuck with now. Multi-View Blocks are making me :shock:

ccowgill
2008-07-07, 02:21 PM
That seems to not work for what I am trying to do. What i need to do is select all Multi-View Blocks and explode them one time. Then select all Blocks in the drawing.

The selections method below works good for the second part,
Code:

(setq ss (ssget "_X" '((0 . "INSERT"))))
but the first part is the one I am stuck with now. Multi-View Blocks are making me :shock:
as I am running vanilla, I dont think I can be of much help on Multi-View Blocks. however, you could try to find out if there is a dxf code that defines weather a block is multi-view or not, and put that into the filter on the ssget.