
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have been trying to find the solution for this for a while and I am going in circles. I want to have two possible workflows:
1- Call a lisp via macro in the tool palette with pre-define variables within the command.
2- Type the command to call the "generic" lisp (without variables) and been prompted for input to define those same variables.
After searching for a solution my understanding so far is:
I can either have something like:
(defun C:NL () ;main script )
that works fine for my 2nd requirement but not the 1st,
or something like this:
(defun NL (MS PS);MS=measurement system, PS=paper size, ;main script )
that I can run from the tool palette providing the two arguments, but doing it via command line without arguments will return "few arguments"
I am quite sure there must be a solution to this, any ideas?
Solved! Go to Solution.