Forum

API: logic_nodes.get_nodes_names()

25 August 2017 19:16
May I humbly suggest logic_nodes.get_entrypoints_names( scene_name ) ?

Use case:
In a production workflow the "blender" team might define different views (camera or objekt positions). Each view is represented by a single logic node.
The javascript viewer maintained by a "web programming" team reads out the list of defined node entry points, picks the relevant "view" names and presents them to the user (e.g. as navigation buttons).

Another approach would be try-and-error with a function like:
logic_nodes.has_entrypoint( scene_name, ep_name )
 
Please register or log in to leave a reply.