unreal.Workspace

class unreal.Workspace(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

C++ Source:

  • Plugin: Workspace

  • Module: WorkspaceEditor

  • File: Workspace.h

add_asset(asset, setup_undo_redo=True, print_python_command=True) bool

Adds an asset to the workspace

Parameters:
Returns:

true if the asset was added

Return type:

bool

add_assets(assets, setup_undo_redo=True, print_python_command=True) bool

Adds assets to the workspace

Parameters:
Returns:

true if an asset was added

Return type:

bool

remove_asset(asset, setup_undo_redo=True, print_python_command=True) bool

Removes an asset from the workspace

Parameters:
Returns:

true if the asset was removed

Return type:

bool

remove_assets(assets, setup_undo_redo=True, print_python_command=True) bool

Removes assets from the workspace

Parameters:
Returns:

true if the asset was removed

Return type:

bool