Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

listing globaly variables

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
295 Views, 5 Replies

listing globaly variables

Is there a way to list/find all global variables in a routine and then set
them to nill?

Thanks

Erik
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

Erik wrote:

> Is there a way to list/find all global variables in a routine and then set
> them to nill?

The VLisp Editor will evaluate code for you and return a list of
variables. Look for the 'Check Selection' button to the left of the
help button or use Tools 'Check Selection'.

Terry
Message 3 of 6
Anonymous
in reply to: Anonymous

Thanks Terry,
I didn't know that. After fiddling around with it I discovered that
also that in order for that list to appear
Tools/Environmental Options/General Options/Diagnostic
must have a check by "Report statistics during syntax checking"

Doug Broad

"Terry W. Dotson" wrote in message
news:3B3E29BD.97746ADB@dotsoft.com...
>
> The VLisp Editor will evaluate code for you and return a list of
> variables. Look for the 'Check Selection' button to the left of the
> help button or use Tools 'Check Selection'.
>
> Terry
Message 4 of 6
Anonymous
in reply to: Anonymous

Doug Broad wrote:

> I didn't know that. After fiddling around with it I discovered that
> also that in order for that list to appear
> Tools/Environmental Options/General Options/Diagnostic
> must have a check by "Report statistics during syntax checking"

I forgot to mention that, good that you did for others benefit.

Terry
Message 5 of 6
Anonymous
in reply to: Anonymous

Check out the "lsp" command that comes with the express tools.

"Erik" wrote in message
news:95A8E2D0B26781BD60B6BBBDCE26580F@in.WebX.maYIadrTaRb...
> Is there a way to list/find all global variables in a routine and then set
> them to nill?
>
> Thanks
>
> Erik
>
>
Message 6 of 6
Anonymous
in reply to: Anonymous

Thanks that works now - a nice feature

"Doug Broad" wrote in message
news:E05F16F1CEDFF61EA9730801BCF5A7FB@in.WebX.maYIadrTaRb...
> Thanks Terry,
> I didn't know that. After fiddling around with it I discovered that
> also that in order for that list to appear
> Tools/Environmental Options/General Options/Diagnostic
> must have a check by "Report statistics during syntax checking"
>
> Doug Broad
>
> "Terry W. Dotson" wrote in message
> news:3B3E29BD.97746ADB@dotsoft.com...
> >
> > The VLisp Editor will evaluate code for you and return a list of
> > variables. Look for the 'Check Selection' button to the left of the
> > help button or use Tools 'Check Selection'.
> >
> > Terry
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost