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: 

Change Description of Breakline Set

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
binhnguyen1202
441 Views, 2 Replies

Change Description of Breakline Set

Hi guy.
I'm trying to add a breakline in a Tin surface using menthod 
tinSurface.BreaklinesDefinition.AddStandardBreaklines(new ObjectIdCollection(featureLineId), 0.1, 5, 5, 0);
I would like to change the Description of Breakline Set by feature name. I can't do this by COM but I would like to change to .Net.
This menthod in COM can add a description:
surface.Breaklines.AddStandardBreakline(idArray, "BreaklineByPoints", midordinate);
I appreciate if someone can help me.
Thanks

2 REPLIES 2
Message 2 of 3
Jeff_M
in reply to: binhnguyen1202

var brkdef = tinSurface.BreaklinesDefinition.AddStandardBreaklines(new ObjectIdCollection(featureLineId), 0.1, 5, 5, 0);
brkdef.Description = "BreaklineByPoints";
Jeff_M, also a frequent Swamper
EESignature
Message 3 of 3
binhnguyen1202
in reply to: Jeff_M

Thank for your help@Jeff_M
It works for me.

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report