What version?
2008 defaults to using .NET subassemblies, not the VBA macros. And I don't
think it's possble to tell it to use the VBA version.....I think that it is
still included for backwards compatability, as older drawings are not
converted to the .NET subs until the user specifically instructs it to.
However, the VB.NET code is nearly the same, especially if you are just
making some minor revsions. You would need to get a VB.NET compiler, I've
found that the Microsoft VB.NET Express Edition works just fine. Once you
edit the project (the samples are in the
AutoCAD Civil 3D 2008\Sample\Civil 3D API\C3DStockSubAssemblies
folder, you compile it and copy the DLL over the existing at:
C:\Documents and Settings\All Users\Application Data\Autodesk\C3D
2008\enu\C3DStockSubassemblies.dll
It will take a bit to get used to the different interface, but if you get
stuck you can ask for help in the c3d.customization group.
Now, all that is assuming you just edit an existing sub, if you create your
own, well, as Christopher said, it's not easy.
If you don't want to tackle the .NET thing yet, post (in the customization
group) the code of the Sub you changed, along with a detailed description of
WHAT you changed/added. I, or someone else if they get to it first, would
probably be able to make the changes for you.
Good luck!
wrote in message news:5870839@discussion.autodesk.com...
I cannot figure out how to get the modified code into Civil 3D. Anyone have
links or suggestions for good resources out there that will help me get this
rolling? I'm going to have to hire someone to get me through this one. 😞