Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

C3D 2012 create superelevationcurve method

0 REPLIES 0
Reply
Message 1 of 1
kbarnettza
262 Views, 0 Replies

C3D 2012 create superelevationcurve method

C3D 2012

dot net

c#

 

what is the method to create a superelevation curve in an alignment?

When I try to apply this:

 

Alignment align1 = ts.GetObject(per1.ObjectId, OpenMode.ForWrite) as Alignment;

align1.SuperelevationCriticalStations.Add(align1.StartingStation, SuperelevationCriticalStationType.BeginNormalCrown);

 

I get error: Value does not fall within the expected range

 

I'm guessing the error is caused by the fact that the selected alignment has no superelevation curves.

 

Thx.

Kevin.

 

 

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report