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: 

Featurline relative to another featureline

2 REPLIES 2
Reply
Message 1 of 3
ameyaparsodkar
193 Views, 2 Replies

Featurline relative to another featureline

Hi All,

 

Is it possible to make a feature line relative to another featureline in Civil 3D using C#? Usually in grading we add featureline to represent Top and Bottom of kerbs. If the bottom featureline changes, we need to edit the top featureline manually. Can we make it relative instead? Possibly by automating the "AdjacentElevationByReference' feature in civil 3D? Can anyone suggest how we can do it in C#?

 

@Jeff_M @hosneyalaa 

Tags (1)
Labels (2)
2 REPLIES 2
Message 2 of 3
idoQEYMP
in reply to: ameyaparsodkar

You can create both Featurelines using a corridor and they will be always acting like you want.

 

If you're looking for another way I can suggest the following cheat:

You can store to the top featureline's description the name of the bottom featureline, and the elevation or grade relationship between them. f.g. "LeftCurbBottom_ElevDiff+5", or "LeftCurbBottom_GRD-2" - the former will set an elevation difference between the top feature line and LeftCurbBottom FL of +5 units, the latter will set a -2% grade.

This can be done with a function to avoid typos.

You can then write an 'updateReferenceFeatureLines' command that when it is run it will look into every feature line in the drawing with a non empty description string, parse it, and will change it's elevations based on the elevations of the featureline in the description.

It's not a fully automatic approach but it's a start.

Message 3 of 3
Jeff_M
in reply to: ameyaparsodkar

For an auto-update look into dynamic linking:

https://forums.autodesk.com/t5/civil-3d-customization/dynamic-linking-of-objects/td-p/10110726

Jeff_M, also a frequent Swamper
EESignature

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report