robot_designer_plugin.operators.api module
Sphinx-autodoc tag
- class robot_designer_plugin.operators.api.GenerateAPI[source]
Bases:
robot_designer_plugin.core.operators.RDOperator
operator for …
Preconditions:
Postconditions:
Automatically registered to
robot_designer_plugin.core.pluginmanager.Pluginmanager
- bl_idname: str = 'robotdesigner.generate_api'
- Type
str
- bl_label: str = 'Generate Python API'
- Type
str
- execute(context)
Execute the operator
- Parameters
context ('Context') –
- Return type
Union[Set[str], Set[int]]
- Returns
result * RUNNING_MODAL Running Modal, Keep the operator running with blender. * CANCELLED Cancelled, The operator exited without doing anything, so no undo entry should be pushed. * FINISHED Finished, The operator exited after completing its action. * PASS_THROUGH Pass Through, Do nothing and pass the event on. * INTERFACE Interface, Handled but not executed (popup menus).