×
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

Journalling (VB.Net) - Save As in TCE

Journalling (VB.Net) - Save As in TCE

Journalling (VB.Net) - Save As in TCE

(OP)
Anyone know how to change the default container (current working directory) when performing a save as using journalling/NXOpen.
Currently If I perform a save as programatically it will save the part in the last folder that was used for a user "open" or "save as" command.
I know it's easy enough to move them over after but I'd like to specify where the Parts are stored.
Any help would be great.
 

Mark Benson
Aerodynamic Model Designer

RE: Journalling (VB.Net) - Save As in TCE

Mark,

Does it not work to record a save as and then copy that section of the operation into your other program. Then you may just have to come up with a way to change the names not the directories.

Best regards

Hudson

RE: Journalling (VB.Net) - Save As in TCE

(OP)
Hudson,

I created this part of the code from a recorded journal.
That part all works fine.  however in TCEng the syntax for files is different and I've not found out how to specify the path.
If you don't specify a path it puts the new part in the last directory used for a manual save or open as I mentioned before.
It looks like I either have to find out the correct syntax for floders in TCEng (I've tried all the obvious ones) or there may be a seperate way to set the "working directory".
 

Mark Benson
Aerodynamic Model Designer

RE: Journalling (VB.Net) - Save As in TCE

Mark,

Sorry you're right the Teamcenter way of doing things does make life fairly difficult when it comes to interacting with file management. I don't know if you even do that from within your UG session manually let alone program for it.

Good Luck

Hudson

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