small fix in SubLink
This commit is contained in:
parent
2608b25b76
commit
7e1cb0246f
|
@ -101,6 +101,7 @@ class LatticeSubLink:
|
||||||
index = int(subname.replace('Vertex',''))-1
|
index = int(subname.replace('Vertex',''))-1
|
||||||
pack.append(sh.Vertexes[index])
|
pack.append(sh.Vertexes[index])
|
||||||
else: #fail-safe. non-standard sublink.
|
else: #fail-safe. non-standard sublink.
|
||||||
|
import lattice2Executer
|
||||||
lattice2Executer.warning(selfobj,"Unexpected subelement name: "+subname+". Trying to extract it with .Shape.getElement()...")
|
lattice2Executer.warning(selfobj,"Unexpected subelement name: "+subname+". Trying to extract it with .Shape.getElement()...")
|
||||||
pack.append(sh.getElement(subname))
|
pack.append(sh.getElement(subname))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user