You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that it is allowed to have multiple elements with the same name in a plugin, I think a function like GetElementCount(<element_name>) returning the number of element with a given name can be helpful.
For example when multiple elements with the same name are present in a plugin, using GetElement(<element_name>) returns a pointer to the first element found and you have no notice on the presence of other element with the same name (so sometimes it may be useful to check the presence of multiple elements with the given name).
The text was updated successfully, but these errors were encountered:
Original report (archived issue) by Lorenzo Rapetti (Bitbucket: lorrapetti).
Given that it is allowed to have multiple elements with the same name in a plugin, I think a function like
GetElementCount(<element_name>)
returning the number of element with a given name can be helpful.For example when multiple elements with the same name are present in a plugin, using
GetElement(<element_name>)
returns a pointer to the first element found and you have no notice on the presence of other element with the same name (so sometimes it may be useful to check the presence of multiple elements with the given name).The text was updated successfully, but these errors were encountered: