parent
3b6ba266c4
commit
9a9cdb8ac5
|
@ -1691,7 +1691,7 @@ class AsmElementLink(AsmBase):
|
||||||
infos = []
|
infos = []
|
||||||
offset = info.Placement.inverse()
|
offset = info.Placement.inverse()
|
||||||
plaList = []
|
plaList = []
|
||||||
for i in xrange(obj.Count):
|
for i in range(obj.Count):
|
||||||
part = info.Part
|
part = info.Part
|
||||||
if part[3]:
|
if part[3]:
|
||||||
pla = getLinkProperty(part[0],'PlacementList')[i]
|
pla = getLinkProperty(part[0],'PlacementList')[i]
|
||||||
|
@ -3043,7 +3043,7 @@ class AsmRelation(AsmBase):
|
||||||
self.getConstraints()
|
self.getConstraints()
|
||||||
elif obj.Count < count:
|
elif obj.Count < count:
|
||||||
new = []
|
new = []
|
||||||
for i in xrange(obj.Count,count):
|
for i in range(obj.Count,count):
|
||||||
new.append(AsmRelation.make(obj,(part,i)))
|
new.append(AsmRelation.make(obj,(part,i)))
|
||||||
obj.Count = count
|
obj.Count = count
|
||||||
obj.Group = obj.Group[:obj.Count]+new
|
obj.Group = obj.Group[:obj.Count]+new
|
||||||
|
|
Loading…
Reference in New Issue
Block a user