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: 

select multiple alignments

1 REPLY 1
SOLVED
Reply
Message 1 of 2
j.cordero
449 Views, 1 Reply

select multiple alignments

how to select multiple alignments:

 

PromptSelectionOptions???

1 REPLY 1
Message 2 of 2
Jeff_M
in reply to: j.cordero

                    PromptSelectionOptions prOpts = new PromptSelectionOptions();
                    prOpts.MessageForAdding = "\nSelect alignments:";
                    prOpts.MessageForRemoval = "\nRemove alignments:";
                    TypedValue[] filter = new TypedValue[1];
                    filter[0] = new TypedValue(0, "AECC_ALIGNMENT");
                    SelectionFilter ssFilter = new SelectionFilter(filter);
                    var selectAlignmentsResult = ed.GetSelection(prOpts, ssFilter);
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