Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hello,
I am working with Creo Jlink and I have a problem with J-Link and drawings.
I like to show/hide the drawing format with J-Link.
Normally you can do it by clicking Sheet Setup and mark/unmark the "Show Format" box
I tried to show/hide the drawing format with Jlink by calling the RunMacro function with a working MapKey code in it.
Reading the User Manual and searching on the web I could not find any solutions.
Does someone has some experience with it?
Hi I just saw your request.
I did it before using the following reference:
https://support.ptc.com/appserver/cs/view/solution.jsp?n=CS129591
here is the example in the case:
inSession.RunMacro("~ Command `ProCmdWinActivate`");
//try activate the UI at least 2 times or more
inSession.RunMacro("~ Command `ProCmdUtilTrailTrain`");
inSession.RunMacro("~ Trail `UI Desktop` `UI Desktop` `PREVIEW_POPUP_TIMER` `file_open");
inSession.RunMacro("~ Trail `UI Desktop` `UI Desktop` `PREVIEW_POPUP_TIMER` `file_open:Ph_list.Filelist:<NULL>`");
inSession.RunMacro("~ Update `file_open` `Inputname` `" + trail_file_with_path +"`" );
inSession.RunMacro("~ Activate `file_open` `Inputname`" );
I have an example of my own but done in vb.net really similar
Steve