
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
has anyone tried to get the following sample to run from c# express?
re: Modifying an AutoCAD object’s state via a dynamic property defined using .NET
URL:
This post has link to sample project for accessing property pallet, but I can't figure out how to make it work. There is a mixture of c++ and c# and I can't find what modules I have to save to acad's folder (per kean's instructions) and what reference to use to replace the one that doesn't load when I try to run the sample project he supplied.
When I run the csproj file in the downloaded sample project a reference comes up "missing"
Warning 1 The referenced component 'OPMNetExt' could not be found.
There is no OPMNetExt.dll in the downloaded sample, there is an OPMNetExtSample.dll and I placed that in the acad folder as he directed but that isn't the right one.
I also get the error:
Error 2 The type or namespace name 'OPM' does not exist in the namespace 'Autodesk.AutoCAD.Windows' (are you missing an assembly reference?)
and the error:
Error 3 The type or namespace name 'IDynamicProperty2' could not be found (are you missing a using directive or an assembly reference?)
Solved! Go to Solution.