Category: AutoCAD
-
AutoCAD developer update for 2024
By Sreeparna Mandal The AutoCAD Developer Center has been updated with the following: Wizards ObjectARX 2024 Wizard AutoCAD 2024 .NET Wizard Training Material ObjectARX 2024 Training Labs AutoCAD 2024 .NET Training Labs My First AutoCAD Plug-In tutorial for AutoCAD 2024 Important updates for AutoCAD 2024 DWG file format compatibility No Change API binary compatibility Maintained…
-
Add an Icon to a Browsernode with ClientResourceMap API
ClientResourceMap was introduced in Inventor 2022. This API allows users to set a list of client resources (like icons) for the browser pane for different themes. STEP1 Make sure the Autodesk.inventor.interop.dll reference in your add in is the latest dll. You can do this by copying from the C:\Program Files\Autodesk\Inventor 2022\Bin\Public Assemblies to the /bin/debug/…
-
How to embed a property inspector control into a palette
By Madhukar Moogala This is old SDK Sample I have resurrected for better reach, the code is migrated to work with AutoCAD 2023. This sample demonstrates deriving from CAdUiPalette and CAdUiPaletteSet. · How to persist palette data into an XML file, and to re-establish the palette set when newly created. · How to embed a…
-
How to Exit from AutoCAD or AutoCAD OEM
<?xml encoding=”UTF-8″>By Madhukar Moogala There may be a situation where your Arx application needs to exit AutoCAD if the license check or some other business logic fails When aborting, use AcDbHostApplicationServices::fatalError() Or, acrx_abort() instead of a direct or indirect call to exit().This will allow AutoCAD and other ObjectARX applications to recover as much work as…
-
How to Create a Custom Toggle Button
<?xml encoding=”UTF-8″> By Madhukar Moogala Here in this blog I have shown how to create a Ribbon Toggle Button using AutoCAD Ribbon Runtime API. https://blog.autodesk.io/2015/03/23/how-to-use-toggle-button-ribbon-api/ This code sample shows how can we register a custom ribbon control on AutoCAD Ribbon bar, to illustrate I created a simple toggle button, but however this logic can be…
-
BlockView Sample Refactored
<?xml encoding=”UTF-8″>By Madhukar Moogala BlockView is an ObjectARX graphics sample which use to be shipped with ObjectARX in previous year I’ve recently recieved a request from an ADN partner The problem If we are running in 2022 or 2023 and we have Hardware Acceleration turned ON. We get some graphics not showing up in our…
-
How to Find if Drawing is a TrustedDWG
<?xml encoding=”UTF-8″>By Madhukar Moogala TrustedDWG is a key function of AutoCAD and AutoCAD LT that analyses DWG files as they are being opened. The function checks to see if the DWG file was last saved with an Autodesk product or by a software developer who is licensed to use the RealDWG toolkit. If the file…
-
AUTOCAD OEM 2023–Product Doesn’t Start
<?xml encoding=”UTF-8″> By Madhukar Moogala We have moved to new installation tech called ODIS – On Demand Installation Services, this change is good in many aspects as its purpose is to create an installation, deployment, and update experience that’s fast, easy, predictable, and painless for customers, as well as for the teams who develop and…
-
How To Send Reproducible Test Project to A D N
<?xml encoding=”UTF-8″>By Madhukar Moogala This is small utility file to create a zip file that ignores temporary, .vs and packages files. This can be applied to any VS project.create a bat file with below contents and name it mkzip.batReplace this with attached file C:UtilStuffbinvsExclude.txt or you download the zip package containing mkzip.bat and vsExclude.txt Note:…
-
How to find Circle from a given centre point
<?xml encoding=”UTF-8″>By Madhukar Moogala Selection filters are very powerful device yet most of the times it is overlooked, using selection filters you can achieve many regular tasks of conditional selections. In this snippet we will see, how you can leverage the selection filters to get a circle(s) from a given a centre point! Do let…

You must be logged in to post a comment.