Hello, please tell me how to use the JAVA API to connect to Windchill?
See windchill connection API in documentation located in Common Files/otk_java_doc/otk_javaug.pdf
or you can execute macro from jlink as normal macro using BaseSession.RunMacro() method