Through API I wanted to checkot the Cad Assembly from the WOrkspace and Checkin from the solidworks
Through java i collected all the cad assemblies from the BOM in windchill and i added the Cad Assembly into the workspace, I wanted to checkout those Cad assembly from the workspace and do checkin from the solid works.
I tried the below code to checkout but it is checkout from the windchill side not from the workspace
//Get check out folder for the current user in the session
wt.folder.Folder checkoutFolder = wt.vc.wip.WorkInProgressHelper.service.getCheckoutFolder();
//Check out object
wt.vc.wip.CheckoutLink chklink = wt.vc.wip.WorkInProgressHelper.service.checkout(cad, checkoutFolder, "Check out comment");

