Draft: pointarray set Count property during execute

This commit is contained in:
mwganson
2022-01-26 20:32:31 -06:00
parent f045a0b6f1
commit 43c0ef43e6

View File

@@ -119,6 +119,7 @@ class PointArray(DraftLink):
"""Run when the object is created or recomputed."""
pt_list, count = get_point_list(obj.PointObject)
obj.Count = count
pls = build_placements(obj.Base, pt_list, obj.ExtraPlacement)
return super(PointArray, self).buildShape(obj, obj.Placement, pls)