Message 1 of 13
Get items in VBA and then pass to LISP selection set?

Not applicable
08-18-2003
03:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to write a routine that will prompt the user to select a group of items, which will be checked in VBA for correctness of type, and then pass this lisp to LISP where it will be processed. The sort of simple thing i am trying to do (as a testbed/evaluation-of-the-concept-process) is to pick an object and then delete it. I can get it to work in only LISP easily enough, but with VBA i can pick the object, and create the LISP selection set with no probs, but can't seem to pass any information to LISP itself. I though perhaps the objectID could be used, but even though its the equivalent of the objects LISP-entity name, it won't recognise it. I'm guessing that I can't set a LISP symbol to an object name or anything else that VBA could pass, as i don't even seem to be able to do it from the autocad command line. Is this correct, or does anyone have any tips?