you_can_call_me_houdini.api package
you_can_call_me_houdini.api.callback module
This module contains the Callback class definition.
- class you_can_call_me_houdini.api.callback.Callback(name: str, callback_function: Callable, enabled: bool = True)[source]
Bases:
objectClass to represent a named callback object which an associated callable.
The callable is executed by calling this object.
- Parameters:
name – The callback name.
callback_function – The callable item to execute.
enabled – Whether the callback is enabled.
you_can_call_me_houdini.api.constants module
Package related constant values.
- you_can_call_me_houdini.api.constants.CALLBACK_EVENT_TYPE = '__event_type__'
The name of the callback event type when added to the callback args.
- you_can_call_me_houdini.api.constants.DRAG_DROP_ACCEPTED = 'drop_accepted'
Constant to set that an external drop has been accepted.
- you_can_call_me_houdini.api.constants.KEYBOARD_EVENT_HANDLED = 'keyboard_event_handled'
Constant to set that a keyboard event has been handled.
- you_can_call_me_houdini.api.constants.PASTED_ITEMS = 'pasted_items'
Constant to point to the list of pasted items.
you_can_call_me_houdini.api.event module
This module contains the base api implementations for events.
- enum you_can_call_me_houdini.api.event.HoudiniEventEnum(value)[source]
Bases:
EnumSubclass for Houdini event enums.
The
Enumand its members have the following methods:
- enum you_can_call_me_houdini.api.event.HoudiniNodeEventEnum(value)[source]
Bases:
HoudiniEventEnumSubclass for events dealing with Houdini nodes.
The event args must contain a ‘node’ key pointing to the hou.Node instance.
The
Enumand its members have the following methods:
- class you_can_call_me_houdini.api.event.Event(name: str, enabled: bool = True, description: str | None = None, stats_post_report: dataclasses.InitVar[bool] = False)[source]
Bases:
objectThe base event class.
- stats: EventStats
- stats_post_report: dataclasses.InitVar[bool] = False
- class you_can_call_me_houdini.api.event.RunOnceEvent(name: str, enabled: bool = True, description: str | None = None, stats_post_report: dataclasses.InitVar[bool] = False)[source]
Bases:
EventEvent subclass that will only be run a single time.
After the first run the event will be set as disabled.
you_can_call_me_houdini.api.logger module
Package logging related functions.
you_can_call_me_houdini.api.manager module
you_can_call_me_houdini.api.stats module
This module contains classes related to event statistics.