cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

Jlink Drawing Format

Benny_B
10-Marble

Jlink Drawing Format

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?

1 REPLY 1
smartel
12-Amethyst
(To:Benny_B)

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

Announcements


Top Tags