Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Selecting all instances in view while PickObjects()

1 REPLY 1
Reply
Message 1 of 2
Anonymous
483 Views, 1 Reply

Selecting all instances in view while PickObjects()

Hi

 

Does anyone know if it is possible to add a button to context menu or next to finish/cancel when picking object with Selection.PickObjects() that selects all instances that passes your filter in the view? This will be a combination of the built in "select all instance visible in view" and PickObjects().

 

As of now I create the filter and then ask through a dialog whether the user want to pick single elements that pass the filter or all in visible view that passes the filter. It would be so much better if the user could choose it while in picking mode.

 

- Fredrik

 

1 REPLY 1
Message 2 of 2
JimJia
in reply to: Anonymous

Dear Fredrik,

 

I am sorry to tell you that you cannot  add a button to context menu or next to finish/cancel when picking object with Selection.PickObjects().

 

I think you have found the workaround way(using dialog to let user choose which mode he want)

 

 


Jim Jia
Autodesk Forge Evangelist
https://forge.autodesk.com
Developer Technical Services
Autodesk Developer Network
Email: Jim.Jia@autodesk.com

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

Post to forums  

Rail Community


Autodesk Design & Make Report