Good morning everybody,
I'm trying to create a Java Toolkit application that is fired when the user push a specific button of the UI ( Parameter )
Any hint?
Thanks in advance
Solved! Go to Solution.
Right so you need to use bracket command ie the listener of an existing command.
When you search OnAfterCommand in our knowledge base you will find this article that pretty much summarize how to use it: https://www.ptc.com/en/support/article/cs145364
The article yields the process (that's two-fold too):
it points to examples shipped with Creo at location: <creo_jlink_loadpoint>/jlink_appls/jlinkexamples
and this is the page in the documentation:
Hi you need to get started in creating a button with JOTK.
In the Technical Support Knowledge base you can rely on this article : https://www.ptc.com/en/support/article/cs128866 that disclose some code.
In a nutshell, the process is two-fold:
Also have a look to the User guide page 99 (Creo 8):
or search "UICreateCommand" that's the Create method.
pfcCommand.UICommandBracketListener.OnAfterCommand
Right so you need to use bracket command ie the listener of an existing command.
When you search OnAfterCommand in our knowledge base you will find this article that pretty much summarize how to use it: https://www.ptc.com/en/support/article/cs145364
The article yields the process (that's two-fold too):
it points to examples shipped with Creo at location: <creo_jlink_loadpoint>/jlink_appls/jlinkexamples
and this is the page in the documentation:
Thanks @remy for your hint.
I tested right now, I found the command name on the trail file : "ProCmdMmParams" and following the example inside pfcCommandExamples.java I reach my point.
THANK you very much!
Have a nice day.!
Good to hear you're on track.
Enjoy your day too.