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

Struct and Classes

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
thabit79BL3
320 Views, 3 Replies

Struct and Classes

Hey

I would like to know if there is a Struct and Classes in the AutoLisp? 
Where I can find more information about it.

If not, is C#.NET a good alternative to the AutoLisp?

 

Thanks

3 REPLIES 3
Message 2 of 4
Sea-Haven
in reply to: thabit79BL3

There is millions of lines of code here for a start.

 

Google "Autocad tutorial lisp" as a start.

 

Afralisp is another starting place.

Message 3 of 4
hak_vz
in reply to: thabit79BL3


@thabit79BL3 wrote:

Hey

I would like to know if there is a Struct and Classes in the AutoLisp?


Autolisp don't have Structs and Classes.

 


@thabit79BL3 wrote:

If not, is C#.NET a good alternative to the AutoLisp?


C#.NET is an alternative for skilled programmers since working with compiled languages is much too complex then simple and versatile autolisp. IMO knowing basics of autolisp is a must if one wants to call himself a proficient Autocad user. Autolisp is one of its main strengths. Unfortunately, language as a such was not updated for decades. But when you once grasp the basics, you can create you simple scripts in seconds, literary you can create it by typing it in Autocad console without need for IDE or editor.

Personally I have programmed in many programming languages, but one I started using Autolisp and common lisp, I don't need other one for the type of work that I do.

Miljenko Hatlak

EESignature

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Message 4 of 4
Sea-Haven
in reply to: hak_vz

Like wise VBA was the way to go a few years ago, as a easier programming environment, Autodesk said must be like 10 years ago now VBA support would be discontinued, its still there, has programming advantages over lisp like Forms. 

 

Word and Excel macro create writes VBA code. Whilst Acad MACRO record writes something unusable for serious programmers, I know one of the clones Macro record writes VBA.

 

And now we have Dynamo !

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report