draftobjects.dimension.LinearDimension Class Reference

Public Member Functions

def execute (self, obj)
 
def onChanged (self, obj, prop)
 
def onDocumentRestored (self, obj)
 
def set_properties (self, obj)
 
- Public Member Functions inherited from draftobjects.draft_annotation.DraftAnnotation
def add_missing_properties_0v19 (self, obj, vobj)
 

Additional Inherited Members

- Public Attributes inherited from draftobjects.draft_annotation.DraftAnnotation
 Type
 

Detailed Description

The linear dimension object.

This inherits `DimensionBase` to provide the basic functionality of
a dimension.

This linear dimension includes measurements between two vertices,
but also a radial dimension of a circular edge or arc.

Member Function Documentation

◆ execute()

def draftobjects.dimension.LinearDimension.execute (   self,
  obj 
)

◆ onChanged()

◆ onDocumentRestored()

def draftobjects.dimension.LinearDimension.onDocumentRestored (   self,
  obj 
)
Execute code when the document is restored.

It calls the parent class to add missing dimension properties.

Reimplemented from draftobjects.dimension.DimensionBase.

◆ set_properties()


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