Apr 30, 2015 #1 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)
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)
May 3, 2015 #2 ufsure Mechanical Joined Apr 18, 2003 Messages 124 Location AU 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 http://www.technisites.com.au Upvote 0 Downvote
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 http://www.technisites.com.au