draftobjects.dimension.DimensionBase Class Reference

Public Member Functions

def execute (self, obj)
 
def onChanged (self, obj, prop)
 
def onDocumentRestored (self, obj)
 

Additional Inherited Members

- Public Attributes inherited from draftobjects.draft_annotation.DraftAnnotation
 Type
 

Detailed Description

The Draft Dimension Base object
This class is not used directly, but inherited by all dimension
objects.

Member Function Documentation

◆ execute()

◆ onChanged()

◆ onDocumentRestored()

def draftobjects.dimension.DimensionBase.onDocumentRestored (   self,
  obj 
)
Run when the document that is using this class is restored.

Check if new properties are present after the object is restored
in order to migrate older objects.

Reimplemented from draftobjects.draft_annotation.DraftAnnotation.

Reimplemented in draftobjects.dimension.AngularDimension, and draftobjects.dimension.LinearDimension.


The documentation for this class was generated from the following file:
  • src/Mod/Draft/draftobjects/dimension.py