Message 1 of 10
Selection set from block name in lisp?

Not applicable
03-29-2000
01:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can I create a selection set from a block name, then assign that set to a variable?
For example, let's say I have a block called "door1." I want to assign door1 as a selection set to variable "x" so that I can do the following...
(command "move" x "" "0,0" "@1,1")
I've tried tblsearch with no luck yet. I've noticed that I can pass the handle of the block, but I don't know how to get the handle from the name. User input (mouse click) is not an option.
Thanks,
Karen
For example, let's say I have a block called "door1." I want to assign door1 as a selection set to variable "x" so that I can do the following...
(command "move" x "" "0,0" "@1,1")
I've tried tblsearch with no luck yet. I've noticed that I can pass the handle of the block, but I don't know how to get the handle from the name. User input (mouse click) is not an option.
Thanks,
Karen