Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

C# folder list

Status
Not open for further replies.

cpaine

Mechanical
Joined
Jan 14, 2013
Messages
1
Location
US
Looking for code to get a folder list from Teamcenter back to an array in Nx?

I found the following code, not sure of the what the tag folder is:

uf.ListFolderContents(tag folder, count, Tag[] folder_contents)
 
First you need to get the root folder tag with ufs.UgMgr.AskRootFolder(). Pass this to ListFolderContents(..), use AskFolderName(..) to find the required folder and traverse the directory tree until you find the required folder.


Suresh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top