Logic Nodes Operators

bpy.ops.logic_nodes.add_component(*, component='')

Add a python Component to the selected object

Parameters:

component (enum in [], (optional)) – Component Name, Add this Component to the current object

File:

addons_core/bge_netlogic/ops/addcomponent.py:26

bpy.ops.logic_nodes.add_game_property()

Adds a property available to the UPBGE

File:

addons_core/bge_netlogic/ops/addgameproperty.py:17

bpy.ops.logic_nodes.add_global_category()

Add a global value category

File:

addons_core/bge_netlogic/ops/addglobalcategory.py:16

bpy.ops.logic_nodes.add_global_property()

Add a value accessible from anywhere

File:

addons_core/bge_netlogic/ops/addglobalproperty.py:17

bpy.ops.logic_nodes.add_logic_tree_property()

Adds a property available to the UPBGE

File:

addons_core/bge_netlogic/ops/addlogictreeproperty.py:20

bpy.ops.logic_nodes.add_portal_in(*, portal_name='Portal', mode='1')

Create a new portal

Parameters:
  • portal_name (string, (optional, never None)) – Portal Name

  • mode (enum in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14'], (optional)) – Socket Type

File:

addons_core/bge_netlogic/ops/addportal.py:30

bpy.ops.logic_nodes.add_portal_out(*, portal_name='')

Create a new portal

Parameters:

portal_name (string, (optional, never None)) – Portal Name

File:

addons_core/bge_netlogic/ops/addportal.py:63

bpy.ops.logic_nodes.add_socket(*, socket_type='NLListItemSocket')

Add a socket to this node

Parameters:

socket_type (string, (optional, never None)) – socket_type

File:

addons_core/bge_netlogic/ops/addsocket.py:18

bpy.ops.logic_nodes.add_template(*, nl_template_name='', owner='')

Add a template

Parameters:
  • nl_template_name (string, (optional, never None)) – nl_template_name

  • owner (string, (optional, never None)) – owner

File:

addons_core/bge_netlogic/ops/addtemplate.py:76

bpy.ops.logic_nodes.apply_logic_tree(*, owner='')

Apply the current tree to the selected objects.

Parameters:

owner (string, (optional, never None)) – owner

File:

addons_core/bge_netlogic/ops/applylogictree.py:40

bpy.ops.logic_nodes.audio_system()

Select the object this tree is applied to

File:

addons_core/bge_netlogic/ops/audiosystem.py:23

bpy.ops.logic_nodes.custom_mainloop()

Use a custom Mainloop for this scene

File:

addons_core/bge_netlogic/ops/custommainloop.py:54

bpy.ops.logic_nodes.custom_mainloop_tree()

Use a custom Mainloop for this scene

File:

addons_core/bge_netlogic/ops/custommainlooptree.py:28

bpy.ops.logic_nodes.custom_node_templates()

Load Custom Logic Node Templates

File:

addons_core/bge_netlogic/ops/customnodetemplates.py:94

bpy.ops.logic_nodes.edit_custom_node(*, index=0)

Edit Custom Logic Node

Parameters:

index (int in [-inf, inf], (optional)) – index

File:

addons_core/bge_netlogic/ops/editcustomnode.py:20

bpy.ops.logic_nodes.find_logic_tree(*, tree_name='')

Edit

Parameters:

tree_name (string, (optional, never None)) – tree_name

File:

addons_core/bge_netlogic/ops/findlogictree.py:20

bpy.ops.logic_nodes.generate_code(*, uplogic_installed=False)

Force generation of code, needed only after updating or if encountering issues

Parameters:

uplogic_installed (boolean, (optional)) – uplogic_installed

File:

addons_core/bge_netlogic/ops/generatecode.py:44

bpy.ops.logic_nodes.get_owner(*, applied_object='')

Select the object this tree is applied to

Parameters:

applied_object (string, (optional, never None)) – applied_object

File:

addons_core/bge_netlogic/ops/getowner.py:18

bpy.ops.logic_nodes.install_pyfmodex()

NOTE: This may take a few seconds and requires internet connection.

File:

addons_core/bge_netlogic/ops/installpyfmodex.py:21

bpy.ops.logic_nodes.install_upbge_stubs()

Downloads the latest version of the upbge-stubs module to support autocomplet in your IDE.NOTE: This may take a few seconds and requires internet connection.

File:

addons_core/bge_netlogic/ops/installupbgestubs.py:19

bpy.ops.logic_nodes.install_uplogic()

Downloads the latest version of the uplogic module required for running logic nodes.

NOTE: This may take a few seconds and requires internet connection.

bpy.ops.logic_nodes.key_selector(*, keycode='', is_socket=True)

Undocumented, consider contributing.

Parameters:
  • keycode (string, (optional, never None)) – keycode

  • is_socket (boolean, (optional)) – is_socket

File:

addons_core/bge_netlogic/ops/keyselector.py:25

bpy.ops.logic_nodes.load_font(*, filepath='', filter_glob='*.ttf;*.otf;')

Load an image file

Parameters:
  • filepath (string, (optional, never None)) – File Path, Filepath used for importing the file

  • filter_glob (string, (optional, never None)) – filter_glob

File:

addons_core/bge_netlogic/ops/loadfile.py:80

bpy.ops.logic_nodes.load_image(*, filepath='', filter_glob='*.jpg;*.png;*.jpeg;*.JPEG;')

Load an image file

Parameters:
  • filepath (string, (optional, never None)) – File Path, Filepath used for importing the file

  • filter_glob (string, (optional, never None)) – filter_glob

File:

addons_core/bge_netlogic/ops/loadfile.py:55

bpy.ops.logic_nodes.load_sound(*, filepath='', filter_glob='*.wav;*.mp3;*.ogg*')

Load a sound file

Parameters:
  • filepath (string, (optional, never None)) – File Path, Filepath used for importing the file

  • filter_glob (string, (optional, never None)) – filter_glob

File:

addons_core/bge_netlogic/ops/loadfile.py:29

bpy.ops.logic_nodes.move_game_property(*, index=0, direction='')

Move Game Property

Parameters:
  • index (int in [-inf, inf], (optional)) – index

  • direction (string, (optional, never None)) – direction

File:

addons_core/bge_netlogic/ops/movegameproperty.py:24

Search for registered Logic Nodes

Parameters:

node (enum in [], (optional)) – node

File:

addons_core/bge_netlogic/ops/nodesearch.py:81

bpy.ops.logic_nodes.open_donate()

Please consider supporting this Add-On

File:

addons_core/bge_netlogic/ops/webbuttons.py:12

bpy.ops.logic_nodes.open_github()

Get involved with development

File:

addons_core/bge_netlogic/ops/webbuttons.py:45

bpy.ops.logic_nodes.open_upbge_docs()

UPBGE API Documentation

File:

addons_core/bge_netlogic/ops/webbuttons.py:34

bpy.ops.logic_nodes.open_upbge_manual()

Manual on engine and node usage

File:

addons_core/bge_netlogic/ops/webbuttons.py:23

bpy.ops.logic_nodes.pack_new_tree(*, new_tree_name='NewTree')

Convert selected Nodes to a new tree. Will be applied to selected object.

WARNING: All Nodes connected to selection must be selected too

arg new_tree_name:

New Tree Name

type new_tree_name:

string, (optional, never None)

File:

addons_core/bge_netlogic/ops/packnewtree.py:147

bpy.ops.logic_nodes.register_custom_node(*, text_name='')

Register Custom Logic Node

Parameters:

text_name (enum in [], (optional)) – Node, Register a node defined in a python file

File:

addons_core/bge_netlogic/ops/registercustomnode.py:31

bpy.ops.logic_nodes.reload_components()

Reload all components applied to this object

File:

addons_core/bge_netlogic/ops/reloadcomponents.py:55

bpy.ops.logic_nodes.reload_texts()

Reload all externally saved scripts

File:

addons_core/bge_netlogic/ops/reloadtexts.py:17

bpy.ops.logic_nodes.remove_custom_node(*, index=0)

Remove Custom Logic Node

Parameters:

index (int in [-inf, inf], (optional)) – index

File:

addons_core/bge_netlogic/ops/removecustomnode.py:21

bpy.ops.logic_nodes.remove_game_property(*, index=0)

Remove this property

Parameters:

index (int in [-inf, inf], (optional)) – index

File:

addons_core/bge_netlogic/ops/removegameproperty.py:19

bpy.ops.logic_nodes.remove_global_category()

Remove a global value category

File:

addons_core/bge_netlogic/ops/removeglobalcategory.py:16

bpy.ops.logic_nodes.remove_global_property()

Remove a value accessible from anywhere

File:

addons_core/bge_netlogic/ops/removeglobalproperty.py:17

bpy.ops.logic_nodes.remove_logic_tree_property(*, prop_index=0)

Remove a value accessible from anywhere

Parameters:

prop_index (int in [-inf, inf], (optional)) – prop_index

File:

addons_core/bge_netlogic/ops/removelogictreeproperty.py:25

bpy.ops.logic_nodes.remove_socket()

Remove this socket

File:

addons_core/bge_netlogic/ops/removesocket.py:17

bpy.ops.logic_nodes.reset_empty_scale()

Reset the volume scale

File:

addons_core/bge_netlogic/ops/resetemptyscale.py:17

bpy.ops.logic_nodes.save_custom_node(*, index=0)

Save Custom Logic Node

Parameters:

index (int in [-inf, inf], (optional)) – index

File:

addons_core/bge_netlogic/ops/savecustomnode.py:20

bpy.ops.logic_nodes.start_ui_preview()

Show this canvas and its children. Children are determined by connected ‘Widget’ sockets, ‘Condition’ sockets don’t matter

File:

addons_core/bge_netlogic/ops/startuipreview.py:19

bpy.ops.logic_nodes.unapply_logic_tree(*, tree_name='', from_obj_name='')

Remove the tree from the selected objects

Parameters:
  • tree_name (string, (optional, never None)) – tree_name

  • from_obj_name (string, (optional, never None)) – from_obj_name

File:

addons_core/bge_netlogic/ops/unapplylogictree.py:26