Message 1 of 9
Using Fastsel in LISP

Not applicable
01-07-2017
06:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I'm trying to write a lisp routine (more of a macro really) which allows me to select a single line, allows to to apply the FASTSEL express tool and then some other functions to the new selection however im unable to get FASTSEL to return anything.
I'm still inexperienced with lisp and have tried various combinations of setq and ssget to try to get hold of the new selection but have been unsuccessful for example
(setq o (command (fastsel)))
simply returns
<Selection set: 5367>
on the command line and the routine finishes.
I cant for the life of me find any examples of people using FASTSEL in lisp on any forum, could anybody explain the syntax i need to use?
Thanks