Notifications
Clear all
[Closed] Get node name via getclassinstances?
Jul 30, 2018 3:25 pm
Hi,
I want to get entire scene nodes name if include some types of controller such as position_list?For example,there are 3 nodes A B C,B includes position_list,how do I get B’s name?
getclassinstances position_list --output: #(Controller:Position_List)
--here get the name if the controller is Position_List
Thanks in advance!
2 Replies
Jul 30, 2018 3:25 pm
I guess you know that controller may be shared among several nodes.
for controller in getClassInstances position_list do
(
for node in refs.dependentNodes controller do format "%
" node.Name
)
1 Reply