Author Topic: New AutoCAD ActiveX API documentation  (Read 5247 times)

0 Members and 1 Guest are viewing this topic.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
New AutoCAD ActiveX API documentation
« on: August 31, 2012, 08:05:50 PM »
In case you haven't noticed, or don't visit the site :
http://adndevblog.typepad.com/autocad/2012/08/new-autocad-activex-api-documentation.html

Quote from:  in part
This update includes or addresses the following:

Updates to the Reference Guide to include missing classes, properties, and methods.
Fixes some of the existing VBA samples and introduces a large set of samples in Visual LISP.
Updates to the Developer’s Guide and makes it available now, since it was not available when AutoCAD 2013 shipped.
API History/Changes list has been added to the Developer’s Guide.


If you find this handy be sure to leave an appropriate comment.

Regards
Kerry
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: New AutoCAD ActiveX API documentation
« Reply #1 on: August 31, 2012, 08:12:48 PM »

Also:
Note that there is a 'Comments' link on most pages.
If you find errors or omissions or want additions/clarification then use the link.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

hermanm

  • Guest
Re: New AutoCAD ActiveX API documentation
« Reply #2 on: August 31, 2012, 11:42:44 PM »
Thanks for posting this , Kerry.

<rant>
IMO the docs, while effecting a *slight* improvement by providing some fairly lame AutoLISP examples, are still obsolete in today's AutoCAD environment, where VBA (still the lingua franca of the "documentation") no longer exists.

Not only that , we are forced to search for said "documentation" on a "developers blog" instead of their being shipped with the product.

Most folks here who are even moderate users of the ACAD COM interface will have got beyond these "docs" on their own, years ago, out of necessity.

Oh, well, at least ADesk is not cheeky enough to attempt to charge us extra for this so-called "documentation."

Small "favors," I guess.

</rant>

Thanks , again, Kerry.
Rant is certainly not directed at you.:)

Long live The Swamp.:)


Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: New AutoCAD ActiveX API documentation
« Reply #3 on: August 31, 2012, 11:59:18 PM »
You're welcome Herman

Actually, VBA is still used in some of the verticals and companion Apps.
.. and is still usable in 2013.

I can't comment on AutoDesk's future plans.

Regards
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

togores

  • Guest
Re: New AutoCAD ActiveX API documentation
« Reply #4 on: September 03, 2012, 05:56:24 PM »
But with some mistakes, for example:
The new acadauto.chm says:

Quote
object.MaintainAssociativity
MaintainAssociativity
Long; read-write
0: None; associativity it not maintained
1: Remove; associativity is removed
2: Yes; associativity is maintained

BUT, it should be (at least in tests I have made):

Quote
0: Yes; associativity is maintained
1: Remove; associativity is removed
2: No; associativity is not maintained 
Setting this property to 1 or 2 removes the associativity. It cannot be set to 0 again.

And referring to LoftedSurface objects it says:

Quote
A lofted surface is closed if the cross-section curves that determine its profile are closed. For instance, if an arc is used in the lofting profile, the resulting surface is open. If closed curves such as circles are used for lofting, the resulting surface is closed.

This is not so, as you can easily check by creating one and using vla-get-Closed on it.
The surface, if closed will start and end at the first cross section. :?

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: New AutoCAD ActiveX API documentation
« Reply #5 on: September 03, 2012, 06:00:05 PM »

Thanks for the post togores.

did you tell AutoDesk ??


Also:
Note that there is a 'Comments' link on most pages.
If you find errors or omissions or want additions/clarification then use the link.

Regards
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: New AutoCAD ActiveX API documentation
« Reply #6 on: September 03, 2012, 06:31:59 PM »

Actually, VBA is still used in some of the verticals and companion Apps.
.. and is still usable in 2013.


ONLY if one downloads and installs the VBA enabler (or whatever it's real title is)

http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=12715668&linkID=9240618
Be your Best


Michael Farrell
http://primeservicesglobal.com/

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: New AutoCAD ActiveX API documentation
« Reply #7 on: September 03, 2012, 06:38:31 PM »

Yes, you also need to install and load AutoCAD.

oh, and turn the computer on.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

qjchen

  • Bull Frog
  • Posts: 285
  • Best wishes to all
Re: New AutoCAD ActiveX API documentation
« Reply #8 on: September 04, 2012, 05:56:08 AM »
Thank you, Kerry
the acadauto.chm with Lisp code DO help me  :-)
http://qjchen.mjtd.com
My blog http://chenqj.blogspot.com (Chinese, can be translate into English)

togores

  • Guest
Re: New AutoCAD ActiveX API documentation
« Reply #9 on: September 04, 2012, 07:56:15 AM »

Thanks for the post togores.

did you tell AutoDesk ??


Also:
Note that there is a 'Comments' link on most pages.
If you find errors or omissions or want additions/clarification then use the link.

Regards


Sorry, but those links won't work for me  :cry:
Maybe i should add this also...