Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-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
Jun 15, 2007
25
0
0
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.
Back
Top