Skip to content

Latest commit

 

History

History
64 lines (46 loc) · 2.76 KB

File metadata and controls

64 lines (46 loc) · 2.76 KB

OPM.Net Extension

build status ObjectARX AutoCAD Platforms License NET8.0

Motivation

AutoCAD's Properties Palette - once known as the Object Properties Manager (OPM) - is a very handy way to display properties inside your application, whether those properties are associated with individual objects or with the application itself. The Properties Palette uses COM to communicate with the object(s) in question, and has always required the use of C++ to expose particular interfaces that control the display of the properties in the palette, so its functionality has not been available to developers using managed .NET languages such as C# and VB.NET. There is some portion of the Properties Palette functionality exposed via the Autodesk.AutoCAD.Windows.ToolPalette namespace, such as the IAcPiPropertyDisplay interface allowing objects and commands to customize the display of properties in the property inspector window, but this is far from complete. This library looks at exposing more of the standard Properties Palette functionality to .NET languages.

Description

Dependencies

  • Visual Studio 2022
  • ObjectARX 2025

Build Instructions

git clone https://github.com/cyrillef/OPMNetExt.git
cd OPMNetExt
set ArxSdk=D:\ArxSdks\Arx2025
msbuild /t:build /p:Configuration=Debug;Platform=x64 OPMNetExt.sln

Release Build

msbuild /t:build /p:Configuration=Release;Platform=x64 OPMNetExt.sln

Further Reading

Please read Kean Walmsley' blog articles on how to use the library.


License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Written by

Cyrille Fauvel (Autodesk Developer Network)
http://www.autodesk.com/adn
http://around-the-corner.typepad.com/