Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"Select By ID" tool can only select maximum of 3,333 elements at a time?

1 REPLY 1
Reply
Message 1 of 2
lew_highfield
101 Views, 1 Reply

"Select By ID" tool can only select maximum of 3,333 elements at a time?

lew_highfield
Explorer
Explorer

While working in Revit 2024, I discovered what seems like the maximum amount of elements you can select at a time using "Select by ID". Has anyone else noticed this or is it just me? Is this a feature or a bug?

 

I am in the process of splitting a larger Revit project into two separate projects, the reason why is not important. I created a copy of the original project, and deleted everything except the two desired building levels. I then selected the two desired building levels, and got the list of "IDs of Selection" (total of 9,260 elements), so that I could then select those elements in the original Revit project and delete them. I copied the list of IDs, but when I pasted it into "Select by ID", it was not selecting everything. This was true in both projects. When I looked into it further, I realized it was not pasting everything into the "Select by ID" dialogue, only a maximum of 3,333 elements. I was able to find a workaround by splitting up my list, but it was interesting to me. Seems like there is a character limit to this dialogue box?

0 Likes

"Select By ID" tool can only select maximum of 3,333 elements at a time?

While working in Revit 2024, I discovered what seems like the maximum amount of elements you can select at a time using "Select by ID". Has anyone else noticed this or is it just me? Is this a feature or a bug?

 

I am in the process of splitting a larger Revit project into two separate projects, the reason why is not important. I created a copy of the original project, and deleted everything except the two desired building levels. I then selected the two desired building levels, and got the list of "IDs of Selection" (total of 9,260 elements), so that I could then select those elements in the original Revit project and delete them. I copied the list of IDs, but when I pasted it into "Select by ID", it was not selecting everything. This was true in both projects. When I looked into it further, I realized it was not pasting everything into the "Select by ID" dialogue, only a maximum of 3,333 elements. I was able to find a workaround by splitting up my list, but it was interesting to me. Seems like there is a character limit to this dialogue box?

1 REPLY 1
Message 2 of 2

TripleM-Dev.net
Advisor
Advisor

Hi @lew_highfield,

 

Well just tried in R2022, it caps out at about 3700 elements.

So I did some inspecting; the "ID's of selection" does have more in it dialogbox (selection was about 7000 elements).

Copy and pasting in a Editor shows 61700 characters.

Copying it into the "Select By Id" results in selection of 3700 elements, so missing about half.

Getting the "ID's of selection" of that selection results in 29999 characters.

 

I'm guessing the input box has a character limit, and not so much a element count limit.

Selecting elements with lower id's would result in more elements selected, as elements with high id's values would result in less elements being selected (that would explane my 3700 vs 3333 elements)

 

Seems a TextBox in C# can only have a max of about 32,766 characters, so the bug part would be that there's no warning.

 

Maybe use a different type of control (or option to use the clipboard directly)

 

- Michel

0 Likes

Hi @lew_highfield,

 

Well just tried in R2022, it caps out at about 3700 elements.

So I did some inspecting; the "ID's of selection" does have more in it dialogbox (selection was about 7000 elements).

Copy and pasting in a Editor shows 61700 characters.

Copying it into the "Select By Id" results in selection of 3700 elements, so missing about half.

Getting the "ID's of selection" of that selection results in 29999 characters.

 

I'm guessing the input box has a character limit, and not so much a element count limit.

Selecting elements with lower id's would result in more elements selected, as elements with high id's values would result in less elements being selected (that would explane my 3700 vs 3333 elements)

 

Seems a TextBox in C# can only have a max of about 32,766 characters, so the bug part would be that there's no warning.

 

Maybe use a different type of control (or option to use the clipboard directly)

 

- Michel

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

Post to forums  

Autodesk Design & Make Report