csc.update.SettingFunction¶
- class csc.update.SettingFunction¶
SettingFunction class
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)arguments
(self)input attributes
attributes
(self, d)array of all input and output attributes
decrease_input_vector
(self, index)method that decreases input vector attribute
full_name
(self)name with all the parent nodes
func_id
(self)its id
has_input
(self, name)check if there is an input with such a name
has_output
(self, name)check if there is an output with such a name
id
(self)get uniqui id
increase_input_vector
(self, index)method that increases input vector attribute
input
(self, name)shortcut if node has only one input attribute
inputs
(self)array of all the inputes attributes
is_active
(self)check whether it is active for current actualities states (see Additional functionality in csc.update.UpdateEditor)
is_convertible
(self)check whether this function will make it to the resulting setting graph
is_fictive
(self)whether it is a fictive node (constants, inputs, outputs of a group or external properties)
name
(self)get name
output
(self, name)shortcut if node has only one output attribute
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.
remove_attribute
(self, attribute)method that removes one in input vector attribute
resize_vector_inputs
(self, index, count)method that resizes input vector attribute
results
(self)output attributes
set_convertible
(self, convertible)set the state of the function, whether it will be used or not
set_name
(self, name)rename node
- __init__(*args, **kwargs)¶
- __module__ = 'csc.update'¶
- arguments(self: csc.update.SettingFunction) List[csc.update.SettingFunctionAttribute] ¶
input attributes
- decrease_input_vector(self: csc.update.SettingFunction, index: int) None ¶
method that decreases input vector attribute
- func_id(self: csc.update.SettingFunction) csc.model.SettingFunctionId ¶
its id
- increase_input_vector(self: csc.update.SettingFunction, index: int) csc.update.SettingFunctionAttribute ¶
method that increases input vector attribute
- is_convertible(self: csc.update.SettingFunction) bool ¶
check whether this function will make it to the resulting setting graph
- remove_attribute(self: csc.update.SettingFunction, attribute: csc.update.SettingFunctionAttribute) None ¶
method that removes one in input vector attribute
- resize_vector_inputs(self: csc.update.SettingFunction, index: int, count: int) None ¶
method that resizes input vector attribute
- results(self: csc.update.SettingFunction) List[csc.update.SettingFunctionAttribute] ¶
output attributes
- set_convertible(self: csc.update.SettingFunction, convertible: bool) None ¶
set the state of the function, whether it will be used or not