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()
def draftobjects.dimension.DimensionBase.execute | ( | self, | |
obj | |||
) |
Do something when recompute object
Reimplemented from draftobjects.draft_annotation.DraftAnnotation.
Reimplemented in draftobjects.dimension.LinearDimension, and draftobjects.dimension.AngularDimension.
Referenced by PathScripts.PathDressupDogbone.ObjectDressup.boneStateList(), ArchSite.Compass.buildCoordinates(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.generateTags(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.PartDesign.Scripts.Spring.MySpring.onChanged(), Mod.PartDesign.Scripts.Epitrochoid.Epitrochoid.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.Parallelepiped.onChanged(), Mod.PartDesign.Scripts.DistanceBolt.DistanceBolt.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.BoxCylinder.onChanged(), PathScripts.PathStock.StockFromBase.onChanged(), PathScripts.PathStock.StockCreateBox.onChanged(), PathScripts.PathStock.StockCreateCylinder.onChanged(), and FeaturePython.DistanceBolt.onChanged().
◆ onChanged()
def draftobjects.dimension.DimensionBase.onChanged | ( | self, | |
obj, | |||
prop | |||
) |
Do something when a property has changed
Reimplemented from draftobjects.draft_annotation.DraftAnnotation.
Reimplemented in draftobjects.dimension.AngularDimension, and draftobjects.dimension.LinearDimension.
Referenced by draftviewproviders.view_base.ViewProviderDraft.attach(), ArchSite.Compass.buildCoordinates(), ArchAxis.CommandArchGrid.IsActive(), draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData(), and draftviewproviders.view_label.ViewProviderLabel.updateData().
◆ 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