Category: AutoCAD
-
Working with Unicode Text: Reading from and Writing to Files
<?xml encoding=”UTF-8″>By Madhukar Moogala Before AutoCAD 2021, AutoLisp/VLisp was not fully Unicode compliant. AutoCAD 2021 introduced a new system variable, LISPSYS, which fully supports AutoLisp functions with Unicode characters. Here’s how to read a text file with Unicode characters and create an MTEXT entity with the parsed contents: Sample text file with Unicode characters: こんにちは、良い一日を…
-
Connecting to SQL Server from AutoCAD 2025
<?xml encoding=”UTF-8″>By Madhukar Moogala With the advent of the modern .NET platform, we’ve received queries from customers about loading SQL data client libraries onto the AutoCAD runtime. This post aims to address those queries and guide you on how to connect to SQL Server from an AutoCAD application. Microsoft SQL Data Client Library The Microsoft…
-
Integrating gRPC.NET with AutoCAD
<?xml encoding=”UTF-8″>By Madhukar Moogala Microsoft deprecated WCF with the release of .NET 5 and recommends developers transition to more modern technologies. This can be a challenge for those with existing WCF applications who want to migrate to .NET 8.0. Recently, I received a question about integrating gRPC.NET, a popular modern alternative to WCF, with AutoCAD…
-
How to Run Javascript Routines in AutoCAD .NET Plugin Using ClearScript Library
<?xml encoding=”UTF-8″>By Madhukar Moogala This code demonstrates how to execute JavaScript functions or routines in your AutoCAD .NET plugin using ClearScript library from Microsoft. This project is targeted to work with .NET 8.0 platform in AutoCAD 2025. Exposing AutoCAD .NET Classes: Enables access to AutoCAD functionality from JavaScript scripts. Executing JavaScript Functions: Allows you to…
-
Autodesk Desktop API Update: .NET Core Migration
By Madhukar Moogala On January 30th, 2024, we hosted a webinar on moving to .NET core covering Autodesk’s flagship products, AutoCAD, Revit, and Inventor. Please find the posting of recording of the same on YouTube https://youtu.be/RyHx5-CqKZM?si=AyBIjZMvoleAjjNT Webinar Presentation Slide Deck AutoCAD .NET migration guide How to Create, Build and Debug .NET 8 Plugin for AutoCAD…
-
Call for Action : Next Release of Civil3D API
By Madhukar Moogala We are happy to announce that we have released beta version of next release of Civil3D. Please refer to our previous post on AutoCAD API! Civil3D beta now supports .NET 8.0 To get the latest Beta, please sign in to Autodesk Feedback Portal From the landing page, browse for Downloads from the…
-
How to determine if two line segments are overlapping in AutoCAD
<?xml encoding=”UTF-8″>By Sreeparna Mandal To check if two line segments are overlapping, we shall use the AcGeLinearEnt3d::overlap() method. It returns the line that coincides with their region of overlap. The declaration of the method goes as mentioned: <em>GE_DLLEXPIMPORT Adesk::Boolean overlap( const AcGeLinearEnt3d& line, AcGeLinearEnt3d*& overlap, const AcGeTol& tol = AcGeContext::gTol ) const;</em> Here, the overlap…
-
Integrating an ARX application with SQLite
<?xml encoding=”UTF-8″>By Sreeparna Mandal A brief introduction to SQLite: SQLite is a C-language library that implements a small, fast, self-contained, high-reliability, full-featured SQL database engine. For programs that have a lot of data that must be sifted and sorted in diverse ways, it is often easier and quicker to load the data into an in-memory…
-
Call for Action : Next Release of AutoCAD API
By Madhukar Moogala Next Release of AutoCAD API, AutoCAD 2024 + 1 will be planning to support NET Core technology. We have released an alpha on our feedback portal. Note : AutoCAD alphas is targeted to support NET 6.0 AutoCAD betas and the final release is targeted to support NET 8.0. For more update refer…
-
How to Check if BEDIT–Is Saved or Discarded
<?xml encoding=”UTF-8″>By Madhukar Moogala This is in continuation to How to Check if XREF Edit In Place Is Saved or Discarded – AutoCAD DevBlog (typepad.com) I have received query how similar thing can be achieved for Block Edit in place. We can retrieve this information from acedGetBlockEditMode <font size=”1″> <font size=”2″>class XrefCheckEditor : public AcEditorReactor…

You must be logged in to post a comment.