csc.model.ModelEditor

class csc.model.ModelEditor

ModelEditor class

Represents basic methods to edit the scene model

Variables:

add_object – overridden method by GroupId -> csc.model.ObjectId

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

add_object(*args, **kwargs)

Overloaded function.

behaviour_editor(self)

-> BehaviourEditor

data_editor(self)

-> DataEditor

delete_objects(self, ids[, close_connections])

get_viewer(self)

increase_animation_size_by_setting_key(self, ...)

animationSize : int

init_default_constants(self)

layers(self)

-> csc.layers.Layers

layers_editor(self)

-> csc.layers.Editor

layers_selector(self)

-> csc.layers.Selector

move_obj_ids_in_layers(self[, objIds])

move_objects_to_layer(self, ids, target_layer_id)

set_fixed_interpolation_if_need(self, ...[, ...])

set_object_name(self, id, name)

set_object_type_name(self, id, name)

__annotations__ = {}
__init__(*args, **kwargs)
__module__ = 'csc.model'
add_object(*args, **kwargs)

Overloaded function.

  1. add_object(self: csc.model.ModelEditor) -> csc.model.ObjectId

  2. add_object(self: csc.model.ModelEditor, id: csc.model.ObjectId) -> csc.model.ObjectId

behaviour_editor(self: csc.model.ModelEditor) csc.model.BehaviourEditor

-> BehaviourEditor

data_editor(self: csc.model.ModelEditor) csc.model.DataEditor

-> DataEditor

delete_objects(self: csc.model.ModelEditor, ids: Set[csc.model.ObjectId], close_connections: bool = True) None
get_viewer(self: csc.model.ModelEditor) csc.model.ModelViewer
increase_animation_size_by_setting_key(self: csc.model.ModelEditor, animation_size: int) None

animationSize : int

init_default_constants(self: csc.model.ModelEditor) None
layers(self: csc.model.ModelEditor) object

-> csc.layers.Layers

layers_editor(self: csc.model.ModelEditor) csc.layers.Editor

-> csc.layers.Editor

layers_selector(self: csc.model.ModelEditor) object

-> csc.layers.Selector

move_obj_ids_in_layers(self: csc.model.ModelEditor, objIds = csc.model.ObjectId[]: List[csc.model.ObjectId], layer_id: csc.Guid) None
move_objects_to_layer(self: csc.model.ModelEditor, ids: List[csc.model.ObjectId], target_layer_id: csc.Guid) None
set_fixed_interpolation_if_need(self: csc.model.ModelEditor, actuals: Set[csc.model.DataId], frame: int, ignore_locked: bool = False) None
set_object_name(self: csc.model.ModelEditor, id: csc.model.ObjectId, name: str) None
set_object_type_name(self: csc.model.ModelEditor, id: csc.model.ObjectId, name: str) None