×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

exporting a table

exporting a table

exporting a table

(OP)
Hi everyone

I have build a table in nx journal and I would like to export this table in a text file that I would use with matlab.
I know to methode in VBA that do what I want but it doesn't work in the journal. can someone help me with this " conversion "

this what I have in VBA :

Dim intFicBat As Integer
Dim FichierBat As Variant

intFicBat = FreeFile
‘ChDrive strDrive
‘ ChDir strDirectory

FichierBat = Application.GetSaveAsFilename(fileFilter:="Text Files (*.txt), *.txt")
‘FichierBat = strDirectory & "\Batch.bat"
Open FichierBat For Output As intFicBat
Print #intFicBat, strEcriture
Close intFicBat


the comment lines discribe the second methode

thanks for your help

RE: exporting a table

You can find some information on writing to a text file here:
http://nxjournaling.com/content/write-text-file

If you are using a .net language, you can Google the term ".net write to text file" for literally thousands of webpages showing how to do it. You can use the common .net framework commands to read and write files, you don't need any special knowledge of the NXOpen API to do it.

www.nxjournaling.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources