csc.parts.Buffer

class csc.parts.Buffer

Buffer class

Provides methods to operate parts of the scene.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get([source_dir])

get_parts_info_by_id(self)

get_src_dir(self)

insert_elementary_by_id(self, arg0, arg1, arg2)

insert_elementary_by_path(self, arg0, arg1, arg2)

insert_object_by_id(self, arg0, arg1, arg2, arg3)

insert_object_by_path(self, arg0, arg1, ...)

insert_objects_by_id(self, arg0, arg1, arg2, ...)

insert_objects_by_path(self, arg0, arg1, ...)

insert_selected_objects_by_path(self, arg0, ...)

insert_update_group_by_id(self, arg0, arg1, arg2)

insert_update_group_by_path(self, arg0, ...)

refresh(self)

reset_cache(self)

take_elementary_to_parts(self, part_name, ...)

take_object_to_parts(self, part_name, from, ...)

take_objects_to_parts(self, part_name, from, ...)

take_selected_objects_to_parts(self, ...)

take_update_group_to_parts(self, part_name, ...)

__annotations__ = {}
__init__(*args, **kwargs)
__module__ = 'csc.parts'
static get(source_dir: str = '') object
get_parts_info_by_id(self: csc.parts.Buffer) list[csc.parts.Info]
get_src_dir(self: csc.parts.Buffer) str
insert_elementary_by_id(self: csc.parts.Buffer, arg0: csc.model.ObjectId, arg1: csc.update.GroupId, arg2: csc.model.ModelEditor) csc.parts.GroupInfo
insert_elementary_by_path(self: csc.parts.Buffer, arg0: str, arg1: csc.update.GroupId, arg2: csc.model.ModelEditor) csc.parts.GroupInfo
insert_object_by_id(self: csc.parts.Buffer, arg0: csc.model.ObjectId, arg1: csc.update.GroupId, arg2: csc.model.ModelEditor, arg3: csc.domain.assets.AssetsManager) csc.model.ObjectId
insert_object_by_path(self: csc.parts.Buffer, arg0: str, arg1: csc.update.GroupId, arg2: csc.model.ModelEditor, arg3: csc.domain.assets.AssetsManager) csc.model.ObjectId
insert_objects_by_id(self: csc.parts.Buffer, arg0: csc.model.ObjectId, arg1: csc.update.GroupId, arg2: csc.model.ModelEditor, arg3: csc.domain.assets.AssetsManager) tuple[set[csc.model.ObjectId], set[csc.update.GroupId]]
insert_objects_by_path(self: csc.parts.Buffer, arg0: str, arg1: csc.update.GroupId, arg2: csc.model.ModelEditor, arg3: csc.domain.assets.AssetsManager) tuple[set[csc.model.ObjectId], set[csc.update.GroupId]]
insert_selected_objects_by_path(self: csc.parts.Buffer, arg0: str, arg1: csc.update.GroupId, arg2: csc.model.ModelEditor, arg3: csc.domain.assets.AssetsManager) set[csc.model.ObjectId]
insert_update_group_by_id(self: csc.parts.Buffer, arg0: csc.model.ObjectId, arg1: csc.update.GroupId, arg2: csc.model.ModelEditor) tuple[csc.parts.GroupInfo, dict[csc.update.GroupId, csc.parts.GroupInfo]]
insert_update_group_by_path(self: csc.parts.Buffer, arg0: str, arg1: csc.update.GroupId, arg2: csc.model.ModelEditor) tuple[csc.parts.GroupInfo, dict[csc.update.GroupId, csc.parts.GroupInfo]]
refresh(self: csc.parts.Buffer) None
reset_cache(self: csc.parts.Buffer) None
take_elementary_to_parts(self: csc.parts.Buffer, part_name: str, from: csc.domain.Scene, object_id: csc.model.ObjectId, parent_group: csc.update.GroupId, elementary: csc.parts.GroupInfo, path_to_scene_parts: str) csc.parts.Info
take_object_to_parts(self: csc.parts.Buffer, part_name: str, from: csc.domain.Scene, object_id: csc.model.ObjectId, path_to_scene_parts: str) csc.parts.Info
take_objects_to_parts(self: csc.parts.Buffer, part_name: str, from: csc.domain.Scene, objects: list[csc.model.ObjectId], objects_grs: list[csc.update.GroupId], path_to_scene_parts: str) csc.parts.Info
take_selected_objects_to_parts(self: csc.parts.Buffer, part_name: str, from: csc.domain.Scene, selected_objects: list[csc.model.ObjectId], path_to_scene_parts: str) csc.parts.Info
take_update_group_to_parts(self: csc.parts.Buffer, part_name: str, from: csc.domain.Scene, object_id: csc.model.ObjectId, parent_group: csc.update.GroupId, elementary: csc.parts.GroupInfo, sub_groups: list[csc.update.GroupId], path_to_scene_parts: str) csc.parts.Info