I tried to migrate the sample OPMNetExt 2010 project to AutoCAD 2013 x64 VS2012, but since my visual studio skills are quite low and C++/arx skills non existant, I failed miserably, I tried updating all the header files from the 2013 Object Arx SDK but no luck. (I'm just an AutoCAD user not developer that originally played in the VBA/ActiveX stuff and have now moved over to .NET).
This would be a great feature for an amature developer like me to have access to, I have started looking at your blog articles on the display Overrule API which seems to be nice and simple, but I'm thinking I can't really put thoose tools to good use unless I can add additional OPM properties on the objects?
Should it be simple for me to take this project and migrate from one AutoCAD version to another without actually having any clue about the C++/Arx parts? Or are there any plans for a wrapper like this to be included directly in AutoCAD .NET api?
Many thanks Kean - email sent!
Actually my company do have a lot of Arx/C++ developers and ADN professional membership, so I can get one of them to help me port the code next time im in the office! But I'm still a bit concerened about the availability of this functionality in furture versions - should I be?
Just to clairfy what I'm thinking this will allow me to do all within .NET....
Create overrules on display of objects
Add additional OPM properties on those objects (persisted using xdata)
Add additional grips to objects again using overrules
Can I then rename that object in the OPM (so it looks like a custom object to the user)?
Is that how Autodesk intended the Overrule API to be used?
> Create overrules on display of objects
You should be able to do this, already, using a DrawableOverrule. But yes, you can use this in conjunction with data made editable via this module.
> Add additional OPM properties on those objects (persisted using xdata)
> Add additional grips to objects again using overrules
Again, independent functionality, but still possible: http://through-the-interface.typepad.com/through_t
> Can I then rename that object in the OPM (so it looks like a custom object to the user)?
That may be possible, but I haven't tried it. You should ping ADN on that one, unless someone else here has managed it and can chime in.
Dear Kean! We I faced with exactly the same problem. Cannot launch your code on win7 x64 Autocad Civil 3D 2011/2012. I mean I can build a solution and netload an apliccation but id doesn't work without any exception or message.
Thanks in advance!
Access a broad range of knowledge to help get the most out of your products and services.