Public Member Functions | |
def | attach (self, obj) |
def | execute (self, obj) |
def | linkSetup (self, obj) |
def | migrate_properties_0v19 (self, obj) |
def | onDocumentRestored (self, obj) |
def | set_properties (self, obj) |
Public Member Functions inherited from draftobjects.draftlink.DraftLink | |
def | attach (self, obj) |
def | buildShape (self, obj, pl, pls) |
def | canLinkProperties (self, _obj) |
def | getViewProviderName (self, _obj) |
def | linkSetup (self, obj) |
def | migrate_attributes (self, obj) |
def | onChanged (self, obj, prop) |
def | onDocumentRestored (self, obj) |
def | execute (self, obj) |
def | onChanged (self, obj, prop) |
Additional Inherited Members | |
Public Attributes inherited from draftobjects.draftlink.DraftLink | |
use_link | |
Public Attributes inherited from draftobjects.base.DraftObject | |
Type | |
The Draft Point Array object.
def draftobjects.pointarray.PointArray.attach | ( | self, | |
obj | |||
) |
Set up the properties when the object is attached.
Reimplemented from draftobjects.draftlink.DraftLink.
References draftobjects.pointarray.PointArray.attach(), draftobjects.array.Array.set_properties(), draftobjects.dimension.DimensionBase.set_properties(), draftobjects.dimension.LinearDimension.set_properties(), draftobjects.dimension.AngularDimension.set_properties(), draftobjects.label.Label.set_properties(), draftobjects.layer.Layer.set_properties(), draftobjects.patharray.PathArray.set_properties(), draftobjects.pathtwistedarray.PathTwistedArray.set_properties(), draftobjects.pointarray.PointArray.set_properties(), draftobjects.text.Text.set_properties(), draftviewproviders.view_dimension.ViewProviderDimensionBase.set_properties(), draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.set_properties(), draftviewproviders.view_label.ViewProviderLabel.set_properties(), draftviewproviders.view_layer.ViewProviderLayer.set_properties(), and draftviewproviders.view_text.ViewProviderText.set_properties().
Referenced by draftobjects.pointarray.PointArray.attach().
def draftobjects.pointarray.PointArray.execute | ( | self, | |
obj | |||
) |
Run when the object is created or recomputed.
Reimplemented from draftobjects.base.DraftObject.
References draftobjects.pointarray.build_placements(), draftobjects.draftlink.DraftLink.buildShape(), and draftobjects.pointarray.get_point_list().
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.pointarray.PointArray.linkSetup | ( | self, | |
obj | |||
) |
Set up the object as a link object.
Reimplemented from draftobjects.draftlink.DraftLink.
References draftobjects.pointarray.PointArray.linkSetup().
Referenced by draftobjects.draftlink.DraftLink.attach(), draftobjects.pointarray.PointArray.linkSetup(), draftobjects.draftlink.DraftLink.onDocumentRestored(), draftobjects.patharray.PathArray.onDocumentRestored(), and draftobjects.pathtwistedarray.PathTwistedArray.onDocumentRestored().
def draftobjects.pointarray.PointArray.migrate_properties_0v19 | ( | self, | |
obj | |||
) |
Migrate properties.
Referenced by draftobjects.patharray.PathArray.onDocumentRestored(), and draftobjects.pointarray.PointArray.onDocumentRestored().
def draftobjects.pointarray.PointArray.onDocumentRestored | ( | self, | |
obj | |||
) |
Execute code when the document is restored. Add properties that don't exist and migrate old properties.
Reimplemented from draftobjects.draftlink.DraftLink.
References draftobjects.patharray.PathArray.migrate_properties_0v19(), draftobjects.pointarray.PointArray.migrate_properties_0v19(), draftobjects.pointarray.PointArray.onDocumentRestored(), draftutils.translate.QT_TRANSLATE_NOOP, draftobjects.array.Array.set_properties(), draftobjects.dimension.DimensionBase.set_properties(), draftobjects.dimension.LinearDimension.set_properties(), draftobjects.dimension.AngularDimension.set_properties(), draftobjects.label.Label.set_properties(), draftobjects.layer.Layer.set_properties(), draftobjects.patharray.PathArray.set_properties(), draftobjects.pathtwistedarray.PathTwistedArray.set_properties(), draftobjects.pointarray.PointArray.set_properties(), draftobjects.text.Text.set_properties(), draftviewproviders.view_dimension.ViewProviderDimensionBase.set_properties(), draftviewproviders.view_draft_annotation.ViewProviderDraftAnnotation.set_properties(), draftviewproviders.view_label.ViewProviderLabel.set_properties(), draftviewproviders.view_layer.ViewProviderLayer.set_properties(), and draftviewproviders.view_text.ViewProviderText.set_properties().
Referenced by draftobjects.pointarray.PointArray.onDocumentRestored().
def draftobjects.pointarray.PointArray.set_properties | ( | self, | |
obj | |||
) |
Set properties only if they don't exist.
References draftutils.translate.QT_TRANSLATE_NOOP, draftguitools.gui_array_simple.Array.use_link, draftguitools.gui_patharray.PathArray.use_link, draftguitools.gui_pathtwistedarray.PathTwistedArray.use_link, draftguitools.gui_pointarray.PointArray.use_link, draftobjects.draftlink.DraftLink.use_link, drafttaskpanels.task_circulararray.TaskPanelCircularArray.use_link, drafttaskpanels.task_orthoarray.TaskPanelOrthoArray.use_link, and drafttaskpanels.task_polararray.TaskPanelPolarArray.use_link.
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().