assembly: fix getElementInfo()
This commit is contained in:
parent
8f3fdf13fd
commit
c1be4f263c
|
@ -864,9 +864,10 @@ def getElementInfo(parent,subname,
|
||||||
# b) The elements are collapsed. Then the moveable Placement
|
# b) The elements are collapsed. Then the moveable Placement
|
||||||
# is stored inside link object's PlacementList property. So,
|
# is stored inside link object's PlacementList property. So,
|
||||||
# the shape obtained below is already before 'Placement',
|
# the shape obtained below is already before 'Placement',
|
||||||
# i.e. no need to set 'transform' to False.
|
# i.e. must set 'transform' to True.
|
||||||
if not shape:
|
if not shape:
|
||||||
shape=utils.getElementShape((part[1],subname))
|
shape=utils.getElementShape(
|
||||||
|
(part[1],subname),transform=True)
|
||||||
obj = part[1]
|
obj = part[1]
|
||||||
try:
|
try:
|
||||||
if names[1] == part[1].Name:
|
if names[1] == part[1].Name:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user