I've experience in VBA, but little with VBA within Civil3D. It looks like the API provides everything I'm looking for, with one critical gap: the entities in my file are of type "AeccDbCorridor" (notice the "Db") which doesn't allow me to set them to the type "AeccCorridor" from which I have access to methods to extract feature line points. If I use a Variant type, I do not have access to this level of information.
I assume that "Db" refers to "database" and perhaps it's because this corridor is linked to other files that is of this different type.
Any help would be much appreciated!
Chris Johnson
Technologist/Visualization Specialist at CH2M HILL
Hi Chris, welcome to the Civil 3D forum! Since you are looking for programming help, I suggest posting API related queries over in the C3D Customization forum: http://forums.autodesk.com/t5/AutoCAD-Civil-3D-Customization/bd-p/190
You should be able to use normal selection methods in VBA to work with the Aecc* objects. Have you had a look at the Sample code? C:\Program Files\Autodesk\AutoCAD Civil 3D 2013\Sample\Civil 3D API\COM\Vba\Corridor