draftguitools.gui_trackers.archDimTracker Class Reference
Public Member Functions | |
def | p1 (self, point=None) |
def | p2 (self, point=None) |
def | setMode (self, mode=1) |
def | setString (self, text=None) |
Public Member Functions inherited from draftguitools.gui_trackers.Tracker | |
def | finalize (self) |
def | lowerTracker (self) |
def | off (self) |
def | on (self) |
def | raiseTracker (self) |
Public Attributes | |
dimnode | |
Distance | |
Public Attributes inherited from draftguitools.gui_trackers.Tracker | |
ontop | |
switch | |
Visible | |
Detailed Description
A wrapper around a Sketcher dim.
Member Function Documentation
◆ p1()
def draftguitools.gui_trackers.archDimTracker.p1 | ( | self, | |
point = None |
|||
) |
Set or get the first point of the dim.
References draftguitools.gui_trackers.archDimTracker.dimnode, Base::ParameterGrpPy.setString(), and draftguitools.gui_trackers.archDimTracker.setString().
◆ p2()
def draftguitools.gui_trackers.archDimTracker.p2 | ( | self, | |
point = None |
|||
) |
Set or get the second point of the dim.
References draftguitools.gui_trackers.archDimTracker.dimnode, Base::ParameterGrpPy.setString(), and draftguitools.gui_trackers.archDimTracker.setString().
◆ setMode()
def draftguitools.gui_trackers.archDimTracker.setMode | ( | self, | |
mode = 1 |
|||
) |
Set the mode. 0 = without lines (a simple mark) 1 = aligned (default) 2 = horizontal 3 = vertical.
References draftguitools.gui_trackers.archDimTracker.dimnode.
◆ setString()
def draftguitools.gui_trackers.archDimTracker.setString | ( | self, | |
text = None |
|||
) |
Set the dim string to the given value or auto value.
References draftguitools.gui_trackers.archDimTracker.dimnode.
Referenced by draftguitools.gui_trackers.archDimTracker.p1(), and draftguitools.gui_trackers.archDimTracker.p2().
Member Data Documentation
◆ dimnode
draftguitools.gui_trackers.archDimTracker.dimnode |
◆ Distance
draftguitools.gui_trackers.archDimTracker.Distance |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_trackers.py