Originally Posted by
csiress
I have created a pull down menu with this line in it.
ID_CAS2 LISP [HATCH FIX]^C^C(setenv "MaxHatch" "1000000")
However, this error occurs: error: An error has occurred inside the
*error* functionbad argument type: stringp nil
I am pretty certain that it's the quotation marks around MaxHatch and 1000000.
How do I fix this? I really don't want to type (setenv "MaxHatch" "1000000") in the command prompt.
Hi
Works for me.
I Copied and Pasted...
Code:
ID_CAS2 LISP [HATCH FIX]^C^C(setenv "MaxHatch" "1000000")
into a Custom menu file.
Reloaded the Custom menu file.
Clicked "HATCH FIX" from the Custom menu pull-down area.
Environment variable MaxHatch was correctly set to 1000000 ( without any errors reported ).
Is it possible to post an example menu file ( as an attachment ), that demonstrates the behaviour you see at your end...
Have a good one, Mike