Draft: fix point array without using link

This commit is contained in:
Zheng, Lei
2020-08-24 12:44:36 +08:00
committed by Yorik van Havre
parent 607c14b512
commit 31e8bb27a6

View File

@@ -64,6 +64,10 @@ class PointArray(DraftLink):
"""Set up the properties when the object is attached."""
self.set_properties(obj)
super(PointArray, self).attach(obj)
def linkSetup(self, obj):
"""Set up the object as a link object."""
super(PointArray, self).linkSetup(obj)
obj.configLinkProperty(ElementCount='Count')
def set_properties(self, obj):