draftobjects.draft_annotation.DraftAnnotation Class Reference

Public Member Functions

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

Public Attributes

 Type
 

Detailed Description

The Draft Annotation Base object.

This class is not used directly, but inherited by all Draft annotation
objects.

LinearDimension through DimensionBase
AngularDimension through DimensionBase
Label
Text

Member Function Documentation

◆ execute()

◆ onChanged()

◆ onDocumentRestored()

def draftobjects.draft_annotation.DraftAnnotation.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 in draftobjects.dimension.AngularDimension, draftobjects.dimension.LinearDimension, draftobjects.dimension.DimensionBase, draftobjects.label.Label, and draftobjects.text.Text.

References Base::AxisPy.Type, Base::BoundBoxPy.Type, Base::PlacementPy.Type, Data::ComplexGeoDataPy.Type, Gui::DocumentPy.Type, Base::QuantityPy.Type, App::DocumentObjectExtensionPy.Type, Gui::PythonWorkbenchPy.Type, Gui::SelectionObjectPy.Type, App::DocumentObjectGroupPy.Type, Gui::ViewProviderDocumentObjectPy.Type, Base::CoordinateSystemPy.Type, Base::RotationPy.Type, App::DocumentObjectPy.Type, Gui::ViewProviderPy.Type, Gui::WorkbenchPy.Type, App::DocumentPy.Type, App::ExtensionContainerPy.Type, App::ExtensionPy.Type, Base::BaseClassPy.Type, Base::MatrixPy.Type, Base::UnitPy.Type, App::GeoFeatureGroupExtensionPy.Type, App::GeoFeaturePy.Type, Base::VectorPy.Type, App::GroupExtensionPy.Type, Base::PersistencePy.Type, App::MaterialPy.Type, App::OriginGroupExtensionPy.Type, App::PartPy.Type, App::PropertyContainerPy.Type, Gui::AxisOriginPy.Type, Gui::LinkViewPy.Type, Gui::ViewProviderLinkPy.Type, App::LinkBaseExtensionPy.Type, Base::TypePy.Type, draftobjects.draft_annotation.DraftAnnotation.Type, ArchFence._Fence.Type, App::PropertyData::PropertySpec.Type, ArchPrecast._Precast.Type, draftobjects.base.DraftObject.Type, App::Part.Type, ArchReference.ArchReference.Type, ArchSchedule._ArchSchedule.Type, App::FeaturePythonPyT< FeaturePyT >.Type, DraftLayer.Layer.Type, ArchFrame._Frame.Type, Gui::SelectionChanges.Type, ArchProject._Project.Type, ArchMaterial._ArchMaterialContainer.Type, ArchComponent.Component.Type, ArchRebar._Rebar.Type, Base::PyObjectBase.Type, ArchTruss.Truss.Type, ArchPipe._ArchPipe.Type, ArchFloor._Floor.Type, ArchRoof._Roof.Type, ArchAxis._Axis.Type, ArchMaterial._ArchMaterial.Type, ArchBuilding._Building.Type, ArchSpace._Space.Type, ArchEquipment._Equipment.Type, ArchBuildingPart.BuildingPart.Type, ArchPipe._ArchPipeConnector.Type, DraftLayer.LayerContainer.Type, ArchStairs._Stairs.Type, ArchPanel._Panel.Type, ArchWindow._Window.Type, ArchStructure._Structure.Type, ArchSite._Site.Type, ArchMaterial._ArchMultiMaterial.Type, ArchWall._Wall.Type, ArchAxis._AxisSystem.Type, ArchPanel.PanelView.Type, ArchSectionPlane._SectionPlane.Type, ArchPanel.PanelCut.Type, ArchAxis.ArchGrid.Type, ArchSectionPlane._ArchDrawingView.Type, ArchStructure._StructuralSystem.Type, and ArchPanel.PanelSheet.Type.

Member Data Documentation

◆ Type


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