Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set Nodes

Status
Not open for further replies.

eraserwww

New member
Joined
Mar 16, 2010
Messages
4
Location
BR
Helo,

I have a matrix with nodes selected [1], now I have to set in a new name (X+)[2], as described below.

[1]
tol=1.0E-9
no=[]
for i in assy.instances[Square1].nodes:
if ((i.coordinates[0] < side+tol) and (i.coordinates[0] > side-tol)):
no.append(i)

[2]
(not working)
for i in no.data[0]
assy.Set(nodes=no,name='X+')

How to set a matrix containing nodes ?

Thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top