====== Action ====== .. py:currentmodule:: p3dsdk .. py:class:: Action .. py:method:: id :property: The id of the action. :type: str, read-only .. py:method:: shortcut :property: The shortcut assigned to the action. :type: str CustomAction ------------ .. py:class:: CustomAction Base class: :py:class:`Action` .. py:method:: id :property: The id of the action. :type: str, read-only .. py:method:: shortcut :property: The shortcut assigned to the action. :type: str .. py:method:: script :property: The script path launch by the custom action. :type: str :raises ReadOnlyError: If :py:obj:`Database` is in read only mode. .. py:method:: label :property: The label of the custom action. :type: str :raises ReadOnlyError: If :py:obj:`Database` is in read only mode. .. py:method:: description :property: The description of the custom action. :type: str :raises ReadOnlyError: If :py:obj:`Database` is in read only mode. .. py:method:: icon :property: The icon file path of the custom action. :type: str :raises ReadOnlyError: If :py:obj:`Database` is in read only mode.