×
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

import dxf to teamcenter dataset using NXOpen

import dxf to teamcenter dataset using NXOpen

import dxf to teamcenter dataset using NXOpen

(OP)
Hi anyone -

I have tried a little test - to see if it should be possible to import a DXF file into a teamcenter dataset.
But I am not sure I have done it the right way...

my error is :Reference to a non-shared member requires an object reference

But maybe is it not possible at all ,to import a file to a dataset using NXOpen (VB.NET)

If someone here on the board have any usefull comment , I will be very happy


Option Strict Off
Imports System
Imports NXOpen
Imports NXOpen.PDM.FileManagement


Module NXJournal
Sub Main (ByVal args() As String)

Dim theSession As Session = Session.GetSession()
Dim theUI As UI = UI.GetUI()

Dim TCno As String = "D1278216"
Dim TCrev As String = "001"
Dim TCname As String = "D1278216" & "/" & "001"
dim TCtype as string = "DXF"
Dim TCrel As String = "specification"
Dim TCdir As String = "C:\NX_to_DXF_output_directory\"

ImportFiles(TCno, TCrev, TCname, TCtype, TCrel, TCdir)

End Sub
End Module

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