← Back to team overview

yade-users team mailing list archive

[Question #677475]: issue with ymport

 

New question #677475 on Yade:
https://answers.launchpad.net/yade/+question/677475

Hello,

I'm using Yade 2018.02b. I want to import sphere coordinates from a text file that I created using a separate script using export.textExt('name','x_y_z_r')

to do that, I'm using ymport

O.bodies.append(ymport.text('name',format='x_y_z_r'))

But I get this error: NameError: name 'ymport' is not defined

I also tried: O.bodies.append(ymport.textExt('name',format='x_y_z_r')) but I still get the same error.

Can someone help with this error?

Thank you,
Othman

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.