Files
create/src/Mod/Assembly/Gui/ViewProviderAssembly.pyi
2025-09-01 21:50:59 -04:00

44 lines
1.2 KiB
Python

from typing import Any
from Base.Metadata import export
from Gui.ViewProvider import ViewProvider
@export(Include="Mod/Assembly/Gui/ViewProviderAssembly.h", Namespace="AssemblyGui")
class ViewProviderAssembly(ViewProvider):
"""
Author: Ondsel (development@ondsel.com)
License: LGPL-2.1-or-later
This is the ViewProviderAssembly class
"""
def isInEditMode(self) -> Any:
"""
Return true if the assembly object is currently in edit mode.
isInEditMode() -> bool"""
...
def getDragger(self) -> Any:
"""
Return the assembly dragger coin object.
getDragger() -> SoTransformDragger
Returns: dragger coin object of the assembly"""
...
EnableMovement: bool
"""Enable moving the parts by clicking and dragging."""
MoveOnlyPreselected: bool
"""If enabled, only the preselected object will move."""
MoveInCommand: bool
"""If enabled, each move will be wrapped in a command."""
DraggerVisibility: bool
"""Show or hide the assembly dragger."""
DraggerPlacement: Any
"""Placement of the assembly dragger object."""