csc.update.Object¶
- class csc.update.Object¶
Object class represents an object node. Functionality is limited - it’s better to use update group node instead.
- __init__(*args, **kwargs)¶
Methods
__init__
(*args, **kwargs)add_input
(self, name)-> InterfaceAttribute
add_output
(self, name)-> InterfaceAttribute
attributes
(self, d)array of all input and output attributes
full_name
(self)name with all the parent nodes
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
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_fictive
(self)whether it is a fictive node (constants, inputs, outputs of a group or external properties)
name
(self)get name
object_id
(self)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.
root_group
(self)-> UpdateGroup
set_name
(self, name)rename node
- __init__(*args, **kwargs)¶
- __module__ = 'csc.update'¶
- add_input(self: csc.update.Object, name: str) csc.update.InterfaceAttribute ¶
-> InterfaceAttribute
- add_output(self: csc.update.Object, name: str) csc.update.InterfaceAttribute ¶
-> InterfaceAttribute
- object_id(self: csc.update.Object) csc.model.ObjectId ¶
- root_group(self: csc.update.Object) domain::update_editor::UpdateGroup ¶
-> UpdateGroup