ObjectARX
-
This topic is a little on the advanced side - it requires the use of C++ and some knowledge of COM - but I felt it was worth covering, as you can get some interesting results without a huge amount of effort. Since we introduced the Properties Palette (once known as the Object Property Manager […]
-
Thanks to Gopinath Taget, from DevTech Americas, for letting me know of this tool's existence. I've often battled to create Platform Invoke signatures for unmanaged C(++) APIs in .NET applications, and it seems this tool is likely to save me some future pain. The tool was introduced in an edition of MSDN Magazine, earlier this […]
-
A question came up recently in an internal discussion and I thought I'd share it as it proved so illuminating. If I have an object of a type which implements IDisposable, is it good practice to explicitly dispose it (whether via the using statement or calling Dispose() explicitly)? The quick(ish) answer is: Yes it is, […]
-
Fenton Webb, from DevTech Americas, has been beavering away on a .NET port of the ObjectARX BlockView sample (found on the ObjectARX SDK under samples/graphics/BlockView). Thanks, Fents! 🙂 Here is the C# source project for Visual Studio 2005. To build it you will almost certainly need to remap the acdbmgd.dll and acmgd.dll assembly references in […]
-
Back in this previous post I mentioned a tool known as Teefy to help migrate C++ code to use Unicode for strings instead of MBCS. This tool was previously only made available to ADN members, but we now have a version that is available for everyone. And here it is.
-
This post was inspired by a recent email from Sreekar Devatha, who is just about to leave DevTech India to work in one of our Engineering teams in Singapore (all the best on your new adventure, Sreekar! :-). It shows how to perform a programmatic zoom in .NET, whether to a window or to an […]
-
Back when I joined Autodesk in 1995, I worked in European Developer Support with one of the most talented programmers I've met, Markus Kraus. One of Markus' contributions to the R13 ARX SDK (or maybe it was R14?) was a sample called pretranslate, which remained on the SDK up until ObjectARX 2008, under samples/editor/mfcsamps/pretranslate (it […]
-
For the last 5 years or so, Autodesk has gathered feedback from our developer community regarding the API features you would most like to see in future Autodesk products. These surveys have traditionally been open to Autodesk Developer Network members, but this year for the first time we're opening them up to developers and customers […]
-
Thank you to Fenton Webb, from DevTech Americas, for writing this article for the recently published ADN Platform Technologies Customization Newsletter. This article also talks about the new AcDbSmartObjectPointer class referenced in this overview of the new APIs in AutoCAD 2009. Those of us who regular create ObjectARX code to manipulate the AutoCAD drawing database […]
-
I stumbled across some new ObjectARX APIs that have been exposed from acad.exe in AutoCAD 2009. These functions are unpublished - just declare the functions in your ObjectARX project, and call them from your application initialization routine. I think you'll find the results surprising! extern fool acedMakeAutoCADMuchQuicker(bool enable); extern fool acedPreventWindowsBlueScreen(bool enable); extern fool acedDoubleSystemClockSpeed(bool […]