Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I have created a Custom Java program to get the current date. The code functions properly outside CREO Schematics. I created a custom Java button and placed it on the Custom Ribbon tab. When I toggled
the button I get the "Error: Method call failed". I have placed my Date_Label.Class complied Java code in the
rsdesigner/utils directory where my CREO schematics was installed. I can't figure what is wrong.
Below is how I defined the button.
Have a look at the java code examples, you need to follow them. You should find it in your $INSTALL_DIR.
Search for *.java files. There is spezial paradigm ´so that your code runs embedded in the creo jvm.
Hava a nice day
Leopold
maybe you should have a look at thie following link:
https://forkedbranch.eu/en/getting-started-j-link-api-creo-parametric/
Have a nice day
Leopold