Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi all,
We want to delete unused Requirement/Test documents from Windchill RV&S, for that we found that we can use im deletesegment command and this should run through APIs, below is the code snippet
IntegrationPoint ip = factory.createLocalIntegrationPoint(4, 16);
Session s = ip.createSession(USER, PASS);
Command cmd2 = new Command("im", "deletesegment");
cmd2.addOption(new Option("reportOnly"));
cmd2.addSelection("491775");
CmdRunner cr2 = s.createCmdRunner();
Once we run this, we are getting error - MKS6411972: Item "491775" does not exist.
Is there something missing, is this a correct way to use this command, any inputs will be helpful.
We have done the prerequisite given in help document, so permission is there.
Thank you!
Articles:
Thank you for reply.
I had gone through these articles but that didn't help me to solve the problem for im deletesegment command.