First Question

First Question

Amremad
Collaborator Collaborator
1,096 Views
5 Replies
Message 1 of 6

First Question

Amremad
Collaborator
Collaborator

can i make a function by .net then link this function with command lisp

run when the user write the command lisp ???? "like vba with vl-vbarun "

 

if yes - how can i start?

0 Likes
1,097 Views
5 Replies
Replies (5)
Message 2 of 6

arcticad
Advisor
Advisor

http://through-the-interface.typepad.com/through_the_interface/2006/07/breathe_fresh_l.html

---------------------------



(defun botsbuildbots() (botsbuildbots))
0 Likes
Message 3 of 6

chiefbraincloud
Collaborator
Collaborator

Yes.  You define the command with the LispFunction attribute, then from lisp, you call it like any other lisp function.

 

As far as where to start, I suggest downloading the ObectARX SDK for the version of AutoCAD you will be working with, and looking at the .NET Developers Guide.

 

This is a decent start: http://through-the-interface.typepad.com/through_the_interface/2006/07/breathe_fresh_l.html

 

Edit: I see while I was digging around for the hyperlinks arcticad already gave you that one.

Dave O.                                                                  Sig-Logos32.png
0 Likes
Message 4 of 6

Amremad
Collaborator
Collaborator

But I don’t know where can I write the vb.net or c#.net code ,

I downloaded and installed objectARX object source but I don’t know how to start, and where 's it's interface editing code?

Can someone explain this subject simply plz

 

Sorry for my english

0 Likes
Message 5 of 6

Alexander.Rivilis
Mentor
Mentor

DevTV and AutoCAD .NET Labs can help you: http://adndevblog.typepad.com/autocad/2012/05/devtv-autocad-net-labs.html

Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"


Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Expert Elite Member

0 Likes
Message 6 of 6

dgorsman
Consultant
Consultant

In that case, I would suggest getting a handle on VB or C# development first before attempting to program for AutoCAD - you will lose less hair that way.  Check out Visual Studio Express from Microsoft as your IDE.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


0 Likes