csc.tools.AttractorTool

class csc.tools.AttractorTool

Attractor tool class

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_general_settings(self)

Retrieves the general settings of the attractor tool

is_only_key_frames(self)

Checks if the attractor tool is only operating on key frames

__annotations__ = {}
__init__(*args, **kwargs)
__module__ = 'csc.tools'
get_general_settings(self: csc.tools.AttractorTool) csc.tools.attractor.AttractorGeneralSettings

Retrieves the general settings of the attractor tool

Returns: csc.tools.attractor.AttractorGeneralSettings : General settings

is_only_key_frames(self: csc.tools.AttractorTool) bool

Checks if the attractor tool is only operating on key frames

Returns:

bool: True if the attractor tool is only operating on key frames, False otherwise

1import csc
2scene_manager:csc.view.Scene = csc.app.get_application().get_scene_manager()
3app_scene = scene_manager.current_scene()
4attractor_tool = csc.app.get_application().get_tools_manager().get_tool('AttractorTool').editor(app_scene)
5print(attractor_tool.is_only_key_frames())