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 MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scriping problem:how to get nodal coordinate of an instance?

Status
Not open for further replies.

dariushtari99

Mechanical
Joined
Jun 15, 2007
Messages
25
Location
CA
Hi
I m trying to read the COORD data from an specifies instance nodes.But i get an following error:

this is what i wrote:

myOdb = visualization.openOdb(path='initial.odb',readOnly=FALSE)
firstStep = myOdb.steps['forming']
coords0=frame0.fieldOutputs['COORD']
coordxValue=coords0.values
coordxinstance=coordxValue.instance(name='TUBE-1',object=)

the error is :
AttributeError:'FieldValueArray' object has no Attribute 'instance'

And also i m not sure if i can get each Coordinate(x,y,z) using : iValue.data

Thank you
Dariush
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top