Closed ozserhatt closed 5 months ago
There is a bug in the code for multiple selections and this is something you should be able to debug yourself. 😉
There's a line in there I added during testing for #217 which I should have removed, or at least, placed earlier in the script.
You are iterating through the selected elements and getting items using selection.item2(n)
. Look what happens to the selection
object in the for loop and try and understand why the error is being thrown.
If you really can't figure it out I'll tell you what it is but try and figure this out on your own. 👍
:):):):) hahahah , maan, that was funny :) I remove the line "selection.clear()" Thank you so much
Good stuff! Glad you figured it out by yourself.
Hello dear brother, I can create multi section on the tree with select_element3 function. If I choose one part, I can see on console " This is a CATPart" OK. But ; If I choose two parts I am getting the bug is :