I use pickobjects with Element Object type selection filter to pick windows from the model. I can select windows within one big rectangle. I can then add individual windows by pressing Control. I want to add more windows to the selection within another rectangle by pressing Control. However as soon as I click mouse to start the rectangle the previous selections are deselected. The same behaviour works fine when selecting items on the model directly as shown on the attached screenshot. I have looked on existing posts on the forum but couldn't find similar issue.
Is there any known limitation/issue on pickobjects and Control?
Any suggestions or link to previous similar post will be very useful.
Thanks in advance
Jason
Solved! Go to Solution.
Solved by FAIR59. Go to Solution.
Dear Jason,
Thank you for your query.
I do not believe you can use the control button in conjunction with window selection.
Have you seen that anywhere else in the Revit user interface?
Please be aware that the Revit API hardly ever supports any functionality that is not also available in the user interface.
Therefore, if the UI does not support this, the API will probably not do so either.
I hope this helps.
Best regards,
Jeremy
Hi:
To be honest we all face such an situation:
I don't have any workaround
Thank you Jeremy for quick response on the query.
The behaviour I was comparing was the general selection without any filter on user interface.
Is PickObjects with filter similar to selection filter set on UI?
The edit selection set on UI seems to work similar to general selection (screenshot attached). Although it selects everything within the rectangle unlike the pickobjects which only highlights filtered elements. This may be acceptable solution if I can achieve this through API. I can filter the unwanted element types later. Is there any post or SDK sample which covers this?
Many thanks
Jason
With care you can make multiple selection windows.
Dear Fair59,
Many thanks for the reply. The workaround works like charm.
I will mark this as accepted as this will be the closest solution for the issue for now.
Can't find what you're looking for? Ask the community or share your knowledge.