; 1 form loaded from #<editor "<Untitled-1> loading...">

; 1 form loaded from #<editor "<Untitled-1> loading...">

spence7
Enthusiast Enthusiast
534 Views
7 Replies
Message 1 of 8

; 1 form loaded from #<editor "<Untitled-1> loading...">

spence7
Enthusiast
Enthusiast

Good day. 

     I am an Autocad hobbyist in my first week of learning Autolisp.

Been using Autocad for 20 something years and finally getting around to upping my game. 

I found some nice tutorial videos from CSS and am trying to follow along. 

 

; 1 form loaded from #<editor "<Untitled-1> loading...">

 

is the response to         (setq eName (car (entsel "Select an object")))

 

and almost anything else i put in the work field. 

 

Help              Spence Ball,       Silver Spring, MD USA

0 Likes
Accepted solutions (2)
535 Views
7 Replies
Replies (7)
Message 2 of 8

paullimapa
Mentor
Mentor
Accepted solution

I'd suggest you start with this website:

AutoLISP Beginners' Tutorials | AfraLISP

Then follow along by entering the code directly into the AutoCAD command prompt


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 8

komondormrex
Mentor
Mentor
Accepted solution

hey,

every autolisp function/expression loaded from within vlisp ide will be considered as ONE form upon loading/interpreting UNLESS you enclosed them by defun function which will be considered as ONE form and will take a command/function status. that command/function can be then run from autocad command line.

0 Likes
Message 4 of 8

Sea-Haven
Mentor
Mentor

Maybe give us a hint of a task you would like to do, pick something simple that you do all the time, we can write the steps not the actual code, leaving that for you to do. 

 

A good simple one is draw a rectang based on pick point, length & width.

0 Likes
Message 5 of 8

spence7
Enthusiast
Enthusiast
Dear Paul,
Hi. Thank you for the link to Afralisp.
It seems to be for children, and in terms of learning new languages I am a 6 year old.
It is perfect.
(I am actually 62 but...)
I like patient tutorials.
0 Likes
Message 6 of 8

spence7
Enthusiast
Enthusiast
Dear Sea-Haven,
The real end I am looking for is apparently a year away.
I've been using Autocad for more than 20 years as a very sophisticated primitive.
That is,,, I can make 60 elaborate plates of stuff for my boss to manufacture in 8 days.

I am mostly looking to up my game because I am bored with the simple jobs I do every day.
I am also a bit thick, and learning a new language comes very slowly.

Any way... "More will be revealed".

Thanks for listening.
0 Likes
Message 7 of 8

paullimapa
Mentor
Mentor

You are very welcome. We all have a humble beginning. But if you continue to learn soon you’ll graduate and become a professional programmer 


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 8 of 8

Sea-Haven
Mentor
Mentor

Any chance of a sample dwg then  we can make suggestions about automation.

0 Likes