Wow, where did the year go! Looking back, the last article I wrote was for the changes in the AutoCAD 2016 APIs and Developer Documentation... I will try to be more active this year. I have been trying to blog more, but often find myself spending time working on the developer documentation or preparing for AU sessions.
There have been many small and large changes to the AutoCAD application programming interfaces (APIs) in the latest release along with many improvements to the developer documentation. While I cannot cover them all in depth here, I will highlight the changes that were introduced.
The developer related documentation can be found at:
http://help.autodesk.com/view/ACD/2017/ENU/?home=homepage_dev
The following outlines the changes that were made to the AutoCAD APIs:
General Updates
- The CAD Management and Developer Home Page has been reorganized to provide a better flow. General compatibility information for the AutoLISP, ActiveX, Managed .NET, and ObjectARX APIs are not accessible from this page.
- BMP images used in CUIx files no longer support the color 192,192,192 as a workaround for transparency. If custom images need to support transparency, they must be converted to PNG files and assigned the transparent color. (http://help.autodesk.com/view/ACD/2017/ENU/?guid=GUID-94A0EA14-5165-4D84-A2F1-F44D33F80BCC)
AutoLISP
- No new or changed functions this release.
- The
ssget
function topic has been updated to include the:L
,_:V
, and#
selection modes. (http://help.autodesk.com/view/ACD/2017/ENU/?guid=GUID-0F37CC5E-1559-4011-B8CF-A3BA0973B2C3) - Historical list of changes from AutoCAD 2009 through AutoCAD 2017 can be used to identify potential problems in existing programs. (http://help.autodesk.com/view/ACD/2017/ENU/?guid=GUID-037BF4D4-755E-4A5C-8136-80E85CCEDF3E)
DCL
- No new or changed functions/tiles this release.
ActiveX/COM
- No new classes were added, but the following here changed:
AcadAcCmColor
AcadApplication
AcadLayerStateManager
AcadSecurityParams
- The
IAcadShadowDisplay
class is now obsolete as a result of Mental Ray support being removed. - Four new constants were added to the
AcInsertUnits
enum. - The Transmittal Object Library documentation can be found in the product documentation and includes code samples. Change was made late in the AutoCAD 2016 release, so many people didn't know the change was made. (http://help.autodesk.com/cloudhelp/2017/ENU/AutoCAD-ActiveX/files/GUID-667D1179-3A76-437E-BBB7-12ADF3E614F7.htm)
- The CAD Standards Plug-in documentation is now part of the product documentation and includes code samples. Change was made late in the AutoCAD 2016 release, so many people didn't know the change was made. (http://help.autodesk.com/cloudhelp/2017/ENU/AutoCAD-ActiveX/files/GUID-F126AABA-FE9E-4E26-B51D-88D3E54512B5.htm)
- Documentation continues to be available online through the product help and offline as CHM files in the %ProgramFiles%\Common Files\Autodesk Shared\en-US\ directory. The files are named acad_aag.chm and acadauto.chm.
Managed .NET
- Updates were made to the Reference Guide to include the new classes, interfaces, and functions introduced for this release.
- Palette themes were expanded.
- DwgFiler and DxfFiler class now supports a minor version.
- Refer to the Managed Class Reference Guide (part of the ObjectARX SDK) and the What's New topic for a list of changes made to the API.
- API and documentation can be downloaded from the ADN or ObjectARX websites (http://www.objectarx.com/).
- Reference documentation is accessible via a CHM file in the ObjectARX SDK or as part of a Visual Studio integration installer (http://images.autodesk.com/adsk/files/objectarx_2017_documentation_vs2015.zip).
- Reference documentation can now be accessed using the Intellisense feature of the Visual Studio code editor window and the Object Browser. You must download either the NuGet packages for AutoCAD 2017, or the posted XML files and copy the files to the location of the DLL files that represent the Managed .NET API (http://images.autodesk.com/adsk/files/xml_intellisense_autocad_managed_dotnet_api_2017.zip).
- Managed .NET Developer's Guide was previously only available via the product help system, but is now also available in a CHM file that can be integrated in the ObjectARX SDK. To download the CHM file, go to http://images.autodesk.com/adsk/files/managed_dotnet_dev_guide_2017.zip. Install the ObjectARX SDK, and then copy the two CHM files from the ZIP file into the Docs folder of the ObjectARX SDK installation location.
- Topic about the
ResultBuffer
has been added to the Developer's Guide. (http://help.autodesk.com/view/ACD/2017/ENU/?guid=GUID-A43BA3F1-513E-42E5-A21F-633FAF97B5C9) - Topic was created that covers using keywords for prompts asking for a selection set. (http://help.autodesk.com/view/ACD/2017/ENU/?guid=GUID-94A4E3DE-0066-4D6A-8558-0252BE8CB85E)
- Topic added that covers Application Initialization and Load-Time Optimization. (http://help.autodesk.com/view/ACD/2017/ENU/?guid=GUID-FA3B4125-F7BD-4E89-969F-9DCC90AC6977)
- Documentation related to working with the CUI library was moved from the ObjectARX Developer's Guide to the Managed .NET Developer's Guide. (http://help.autodesk.com/view/ACD/2017/ENU/?guid=GUID-71554E76-8FD5-4853-82CD-3587764CBCAC)
ObjectARX
- Updates were made to include the new classes, interfaces, and functions introduced for this release. The following provides an overview of the main changes to the API
- Graphics system was modified and existing programs will need to be updated.
- Class that provides information about the language and country name.
- String class was expanded to include additional operators and functions.
- Refer to the ObjectARX Reference Guide and the What's New topic for a list of changes made to the API.
- API and documentation can be downloaded from the ADN or ObjectARX websites (http://www.objectarx.com/).
- Reference documentation is accessible via a CHM file in the ObjectARX SDK or as part of a Visual Studio integration installer (http://images.autodesk.com/adsk/files/objectarx_2017_documentation_vs2015.zip).
JavaScript
- No new or changed functions this release. V3 remains the latest version of the API. (https://df-prod.autocad360.com/jsapi/v3/docs/index.html)
- Getting Started Guide can be used to learn the basics of the JavaScript API. (https://df-prod.autocad360.com/jsapi/v3/GettingStart/index.html)
In future blog postings, I hope to cover some of the various developer documentation components that can be used to become more efficient with the AutoCAD APIs.
Sincerely,
Lee
Recent Comments