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
467 Views, 1 Reply

select multiple alignments

j_cordero
Advocate
Advocate

how to select multiple alignments:

 

PromptSelectionOptions???

0 Likes

select multiple alignments

how to select multiple alignments:

 

PromptSelectionOptions???

1 REPLY 1
Message 2 of 2
Jeff_M
in reply to: j_cordero

Jeff_M
Consultant
Consultant
Accepted solution
                    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
0 Likes

                    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