Public Member Functions | |
def | execute (self, obj) |
def | onChanged (self, obj, prop) |
def | onDocumentRestored (self, obj) |
def | set_properties (self, obj) |
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) |
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 | |
The angular dimension object. This inherits `DimensionBase` to provide the basic functionality of a dimension.
def draftobjects.dimension.AngularDimension.execute | ( | self, | |
obj | |||
) |
Execute when the object is created or recomputed. Nothing is actually done here, except update the viewprovider, as the lines and text are created in the viewprovider.
Reimplemented from draftobjects.draft_annotation.DraftAnnotation.
Referenced by draftobjects.facebinder.Facebinder.addSubobjects(), PathScripts.PathDressupDogbone.ObjectDressup.boneStateList(), ArchSite.Compass.buildCoordinates(), PathScripts.PathDressupHoldingTags.ObjectTagDressup.generateTags(), ArchPanel.PanelCut.getWires(), ArchSchedule.CommandArchSchedule.IsActive(), Mod.PartDesign.Scripts.DistanceBolt.DistanceBolt.onChanged(), Mod.PartDesign.Scripts.Epitrochoid.Epitrochoid.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.Parallelepiped.onChanged(), Mod.PartDesign.Scripts.Parallelepiped.BoxCylinder.onChanged(), Mod.PartDesign.Scripts.Spring.MySpring.onChanged(), FeaturePython.DistanceBolt.onChanged(), PathScripts.PathStock.StockFromBase.onChanged(), PathScripts.PathStock.StockCreateBox.onChanged(), PathScripts.PathStock.StockCreateCylinder.onChanged(), draftobjects.draftlink.DraftLink.onDocumentRestored(), draftobjects.patharray.PathArray.onDocumentRestored(), and draftobjects.pathtwistedarray.PathTwistedArray.onDocumentRestored().
def draftobjects.dimension.AngularDimension.onChanged | ( | self, | |
obj, | |||
prop | |||
) |
Execute when a property is changed. It just sets some properties to be read-only or hidden, as they aren't used.
Reimplemented from draftobjects.draft_annotation.DraftAnnotation.
Referenced by ArchStructure.CommandStructuralSystem.Activated(), draftviewproviders.view_base.ViewProviderDraft.attach(), ArchSite.Compass.buildCoordinates(), draftobjects.wire.Wire.execute(), ArchBuildingPart.ViewProviderBuildingPart.updateData(), ArchPanel.ViewProviderPanelCut.updateData(), ArchPanel.ViewProviderPanelSheet.updateData(), draftviewproviders.view_label.ViewProviderLabel.updateData(), draftviewproviders.view_layer.ViewProviderLayer.updateData(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy.updateData().
def draftobjects.dimension.AngularDimension.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.
References draftobjects.dimension.AngularDimension.onDocumentRestored().
Referenced by draftobjects.dimension.AngularDimension.onDocumentRestored().
def draftobjects.dimension.AngularDimension.set_properties | ( | self, | |
obj | |||
) |
Set basic properties only if they don't exist.
Reimplemented from draftobjects.dimension.DimensionBase.
References draftutils.translate.QT_TRANSLATE_NOOP.
Referenced by draftobjects.array.Array.attach(), draftobjects.patharray.PathArray.attach(), draftobjects.pathtwistedarray.PathTwistedArray.attach(), draftobjects.pointarray.PointArray.attach(), draftobjects.layer.Layer.onDocumentRestored(), draftobjects.patharray.PathArray.onDocumentRestored(), draftobjects.pathtwistedarray.PathTwistedArray.onDocumentRestored(), and draftobjects.pointarray.PointArray.onDocumentRestored().