Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: FolderHelper.assignFolderByReference

$
0
0

Hello!

 

I have not tried this but maybe you can try the below code instead?

 

    WTPart part = getPart("name");
    SubFolder folder = getSubFolder("libraryName", "folderPath");
  
    try{
             FolderHelper.assignLocation(part, folder);
    }catch(Exception e){
        e.printStackTrace();
    }

 

I know the API is deprecated in Windchill 10 but there are some other similar methods there you can use that will probably do the same.

 

Best regards,

Peter


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>