Ad

Sunday, January 11, 2009

Wish Post - This Subassembly Requires Superelevation

I was reading Jason Hickey's post on the new Being Civil blog and it got me thinking about where exactly does that default 5% slope come from. My first thought was that it came from the Alignment's Edit Feature Settings. I changed the value from 5% to 3%, at the location shown below, and noticed it didn't change.

image

Finding that the subassembly doesn't look at that value, I looked at the vb.net code that is supplied with the program and saw it was the default value. Since I don't regularly use the subassembly, it isn't that big of an issue for me, but if I do have to use it in the future my wish would be for the subassembly to use the default values specified in the Edit Feature Settings for an Alignment.

If you want a different default value you can open the code that comes with the program (File Location: C:\Program Files (x86)\AutoCAD Civil 3D 2009\Sample\Civil 3D API\C3DStockSubAssemblies) in Microsoft Visual Studio and change the numbers indicated by the arrows below, compile the code and replace the C:\ProgramData\Autodesk\C3D 2009\enu\C3DStockSubassemblies.dll file with it.

image

No comments:

LinkWithin

Blog Widget by LinkWithin

Ad