dezsit
Mechanical
- Dec 27, 2008
- 8
Hello,
I'm working on a python script and would like to use the addData method to visualize my data.
My data come from some calculation on the stress tensor of every element and I would like to visualize the results of these elements.
I've used this formula:
R1_out = frame1.FieldOutput(name='R', description='Stress Ratio', type=SCALAR)
R1_out.addData(position=INTEGRATION_POINT, instance=instance1, labels=elLab, data=R1)
where elLab contains the element labels (type of it is list)
and R1 contains the scalar data values for each element label (type of it is also a list)
R1_out is the new field.
I always get the error message:
"OdbError: illegal argument type for built-in operation
What can be the problem?
Thank you for your help
Dezsit
I'm working on a python script and would like to use the addData method to visualize my data.
My data come from some calculation on the stress tensor of every element and I would like to visualize the results of these elements.
I've used this formula:
R1_out = frame1.FieldOutput(name='R', description='Stress Ratio', type=SCALAR)
R1_out.addData(position=INTEGRATION_POINT, instance=instance1, labels=elLab, data=R1)
where elLab contains the element labels (type of it is list)
and R1 contains the scalar data values for each element label (type of it is also a list)
R1_out is the new field.
I always get the error message:
"OdbError: illegal argument type for built-in operation
What can be the problem?
Thank you for your help
Dezsit