csc.update.UpdateGroup¶
- class csc.update.UpdateGroup¶
UpdateGroup class represents update group node
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)add_input
(self, name)add_output
(self, name)attributes
(self, d)array of all input and output attributes
constant_datas
(self)get virtual node to access constant datas
constant_settings
(self)get virtual node to access constant settings
create_group
(self, name)create_regular_data
(self, name, value, int, ...)create_regular_function
(self, name, function)create_setting_data
(self, name, value, int], ...)create_setting_function
(self, name, ...)create_sub_update_group
(self, arg0)create_sub_update_group2
(self, name, group_id)-> UpdateGroup
delete_node
(self, node)equal_to
(self, arg0)external_properties
(self)-> ExternalProperties
full_name
(self)name with all the parent nodes
group
(self, nodes, name)group_id
(self)create sub group
groups
(self)-> UpdateGroup{}
has_input
(self, name)check if there is an input with such a name
has_node
(self, name)check whether there is a child node with a given name
has_output
(self, name)check if there is an output with such a name
id
(self)get uniqui id
input
(self, name)shortcut if node has only one input attribute
input_interface_node
(self)inputs
(self)array of all the inputes attributes
interface_input
(self, name)interface_inputs
(self)get group attributes as interface attributes
interface_node
(self, direction)access the interface node
interface_output
(self, name)interface_outputs
(self)is_active
(self)check whether it is active for current actualities states (see Additional functionality in csc.update.UpdateEditor)
is_fictive
(self)whether it is a fictive node (constants, inputs, outputs of a group or external properties)
is_root
(self)leaf_children
(self)get all leaf nodes (settings, datas, functions)
name
(self)get name
node
(*args, **kwargs)Overloaded function.
node_deep
(self, name)access node by name or id recursively
node_with_type
(self, type_name, name)find node with name and type
node_with_type_deep
(self, type_name, name)find node with name and type recursively
nodes
(self)get all children (their children are not included)
output
(self, name)shortcut if node has only one output attribute
output_interface_node
(self)outputs
(self)array of all the outputs attributes
parent_group
(self)return parent group (where this group node is located)
parent_object
(self)return object of the node.
regular_datas
(self)-> RegularData{}
regular_functions
(self)-> RegularFunction{}
set_name
(self, name)rename node
setting_functions
(self)-> SettingFunction{}
settings_datas
(self)-> SettingsData{}
- __annotations__ = {}¶
- __init__(*args, **kwargs)¶
- __module__ = 'csc.update'¶
- create_regular_data(self: csc.update.UpdateGroup, name: str, value: Union[bool, int, float, numpy.ndarray[numpy.float32[3, 1]], numpy.ndarray[numpy.float32[4, 1]], csc.math.Rotation, numpy.ndarray[numpy.float32[3, 3]], numpy.ndarray[numpy.float32[4, 4]], csc.math.Quaternion, str, numpy.ndarray[bool[3, 1]]], mode: csc.model.DataMode = <DataMode.Static: 0>) csc.update.RegularData ¶
- create_regular_function(self: csc.update.UpdateGroup, name: str, function: str) csc.update.RegularFunction ¶
- create_setting_data(self: csc.update.UpdateGroup, name: str, value: Union[bool, int], mode: csc.model.SettingMode = <SettingMode.Static: 0>) csc.update.SettingData ¶
- create_setting_function(self: csc.update.UpdateGroup, name: str, function_name: str) csc.update.SettingFunction ¶
- create_sub_update_group(self: csc.update.UpdateGroup, arg0: str) csc.update.UpdateGroup ¶
- create_sub_update_group2(self: csc.update.UpdateGroup, name: str, group_id: csc.update.GroupId) csc.update.UpdateGroup ¶
-> UpdateGroup
- external_properties(self: csc.update.UpdateGroup) csc.update.ExternalProperties ¶
-> ExternalProperties
- groups(self: csc.update.UpdateGroup) set[csc.update.UpdateGroup] ¶
-> UpdateGroup{}
- regular_datas(self: csc.update.UpdateGroup) set[csc.update.RegularData] ¶
-> RegularData{}
- regular_functions(self: csc.update.UpdateGroup) set[csc.update.RegularFunction] ¶
-> RegularFunction{}
- setting_functions(self: csc.update.UpdateGroup) set[csc.update.SettingFunction] ¶
-> SettingFunction{}
- settings_datas(self: csc.update.UpdateGroup) set[csc.update.SettingData] ¶
-> SettingsData{}