JavaScript API

JavaScript API

kerry_w_brown
Advisor Advisor
495 Views
5 Replies
Message 1 of 6

JavaScript API

kerry_w_brown
Advisor
Advisor

Hi all,

Can anyone point to towards any use case examples to justify learning the  JavaScript API ??
I was asked this today by a client and was unable to justify the effort or, in fact, even explain any uses for it.

 

Regards,
Kerry


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes
496 Views
5 Replies
Replies (5)
Message 2 of 6

_gile
Consultant
Consultant

Hi Kerry,

I never used it, but I remember Kean Walmsley posted some pages about AutoCAD JavaScript API.



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 6

kerry_w_brown
Advisor
Advisor

Yep, about 10 years ago I think. I'll see if they can help.


// Called Kerry or kdub in my other life.

Everything will work just as you expect it to, unless your expectations are incorrect. ~ kdub
Sometimes the question is more important than the answer. ~ kdub

NZST UTC+12 : class keyThumper<T> : Lazy<T>;      another  Swamper
0 Likes
Message 4 of 6

jose_coimbras1
Participant
Participant

Hi.

I used some weeks ago. I can do something like a palette with buttons. Is relativity easy to do the code. The minus/bottom of all is lack of reallife examples, even in the internet. It does not interact with the DWG database (or i cannot do it), as example, read coordinates of a polyline... But can draw new entities with a OSNAP etc..
Search mya name in blogs you can find some use cases i done.
I think the API is almost the same since 2014...



0 Likes
Message 5 of 6

Ed__Jobe
Mentor
Mentor

There has never been much development with JavaScript api. You may be interested in the python api. Daniel over at theSwamp has done a lot with it. He's created a wrapper for the arx/C++ api's.

Ed


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.
How to post your code.

EESignature

0 Likes
Message 6 of 6

jose_coimbras1
Participant
Participant

When needed i go to C# ...

 

0 Likes