Public Member Functions | |
def | execute (self, obj) |
def | migrate_properties_0v19 (self, obj) |
def | onDocumentRestored (self, obj) |
def | set_properties (self, obj) |
Public Member Functions inherited from draftobjects.base.DraftObject | |
def | onChanged (self, obj, prop) |
Additional Inherited Members | |
Public Attributes inherited from draftobjects.base.DraftObject | |
Type | |
Detailed Description
The Draft Point Array object.
Member Function Documentation
◆ execute()
def draftobjects.pointarray.PointArray.execute | ( | self, | |
obj | |||
) |
Run when the object is created or recomputed.
Reimplemented from draftobjects.base.DraftObject.
References draftobjects.pointarray.build_copies(), and draftobjects.pointarray.get_point_list().
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().
◆ migrate_properties_0v19()
def draftobjects.pointarray.PointArray.migrate_properties_0v19 | ( | self, | |
obj | |||
) |
Migrate properties.
Referenced by draftobjects.pointarray.PointArray.onDocumentRestored().
◆ 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.
References draftobjects.pointarray.PointArray.migrate_properties_0v19(), draftobjects.patharray.PathArray.migrate_properties_0v19(), draftobjects.array.Array.set_properties(), draftobjects.pointarray.PointArray.set_properties(), and draftobjects.patharray.PathArray.set_properties().
◆ set_properties()
def draftobjects.pointarray.PointArray.set_properties | ( | self, | |
obj | |||
) |
Set properties only if they don't exist.
Referenced by draftobjects.pointarray.PointArray.onDocumentRestored().
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftobjects/pointarray.py