TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Hangman on February 22, 2007, 02:14:06 PM

Title: Learning Vlide
Post by: Hangman on February 22, 2007, 02:14:06 PM
I have recently learned there is a lot more to the vlide than I know how to use when writing lisp routines.

I have done a basic search for things pertaining to using / learning vlide on the swamp, but haven't found any.

Would it be worthwhile to post a few tutorials in the tutorials section regarding the use of vlide ??
I've tried following the acad tutorials and the help files in my spare time (which isn't much), but I would like to see some coding examples being used.  What a button routine does when you have a certain code, but it does something else with different coding, that kind of thing.
Title: Re: Learning Vlide
Post by: ronjonp on February 22, 2007, 03:22:19 PM
One of my favorites:

(http://www.theswamp.org/screens/index.php?dir=ronjonp/&file=format.gif)
Title: Re: Learning Vlide
Post by: Kerry on February 22, 2007, 03:31:37 PM
Have a look here as well

http://usa.autodesk.com/adsk/servlet/autoindex?siteID=123112&id=2253435&linkID=2475176
Title: Re: Learning Vlide
Post by: Kerry on February 22, 2007, 03:38:58 PM
AutoCAD 2007 Developer Help
acadDev.chm
-> AutoLISP Developer's Guide-> Developing Programs with Visual LISP
Topics in this section:

Getting Organized
Using the Console Window
Using the Text Editor
Using Console and Editor Coding Aids
Formatting Code with Visual LISP
Checking for Syntax Errors



added:
If you do nothing else today other than read this section, the time won't be wasted.
Title: Re: Learning Vlide
Post by: DW on February 24, 2007, 06:41:59 PM
Would it be worthwhile to post a few tutorials in the tutorials section regarding the use of vlide ??
I've tried following the acad tutorials and the help files in my spare time (which isn't much), but I would like to see some coding examples being used.  What a button routine does when you have a certain code, but it does something else with different coding, that kind of thing.

The visual lisp developers bible includes some helpful vlide information as well as providing tutorials on many visual lisp topics. If you haven't already found links at the swamp you can download here: http://www.steinvb.com/v2/vldb.htm
Title: Re: Learning Vlide
Post by: Kerry on February 24, 2007, 08:09:49 PM
Hi David,

Yep, David Steins 'Developer's Bible' will be a great help to anyone playing with Vlisp.

Here's an example of Variable and object inspection in the IDE : http://www.theswamp.org/index.php?topic=15200.msg184538#msg184538
Title: Re: Learning Vlide
Post by: rkmcswain on February 26, 2007, 08:41:52 AM
Here's a small tip:

http://rkmcswain.blogspot.com/2006/07/vlisp-variables.html
Title: Re: Learning Vlide
Post by: Didge on February 27, 2007, 05:12:10 AM
Nice one rkmcswain, thats a new one for me.

These shortcuts are very handy.

Ctrl [
Ctrl ]
Shift + Ctrl [
Shift + Ctrl ]
Title: Re: Learning Vlide
Post by: rkmcswain on February 27, 2007, 08:46:48 AM
Nice one rkmcswain, thats a new one for me.
Thanks.

Shift + Ctrl [
Shift + Ctrl ]

Also, you can place the cursor just 'outside' of one open parenthesis, and double click. This is the same as the above keyboard shortcuts - it will select all the code up to the matching closing parenthesis.
Title: Re: Learning Vlide
Post by: Tramber on February 27, 2007, 02:59:05 PM
To me, A Propos utilities are the most usefull

CTRL+SPACE while writing first letters of words found in the current sheet
CTRL+SHIFT+SPACE while writing function names and variables

It sometimes grandly speed up the process