Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Journalling (VB.Net) - Save As in TCE

Status
Not open for further replies.

MSPBenson

Mechanical
Jan 13, 2005
190
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
 
Replies continue below

Recommended for you

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
 
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
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor