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
I can't use the iterator from NCollection_List.begin(), because of UnboundTypeError
I made this somewhat hacky workaround:
function MoveListToJs(list: TopTools_ListOfShape){
let res = []
while(list.Size() > 0){
res.push(list.First_1())
list.RemoveFirst()
}
list.delete()
return res
}
Is there a better solution?
The text was updated successfully, but these errors were encountered:
I can't use the iterator from NCollection_List.begin(), because of UnboundTypeError
I made this somewhat hacky workaround:
Is there a better solution?
The text was updated successfully, but these errors were encountered: