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

Export in MEDUSA Format (JLink)

Newbie

Export in MEDUSA Format (JLink)

Hi,

I am currently search for the proper export instruction for MEDUSA format (.she).

Most other formats exist and in Toolkit it is there.

Where is it in JLink?

Many thanks in advance

R.

2 REPLIES 2
Highlighted

RE: Idea, but not working

A macro like this should solve the problem:

Unfortunately, this does not work. Any Hints would be much appreciated.

session.RunMacro(

"~ Command `ProCmdModelSaveAs` ;\n" +

"~ Activate `file_saveas` `Current Dir`;\n" +

"~ Open `file_saveas` `type_option`;\n" +

"~ Close `file_saveas` `type_option`;\n" +

"~ Select `file_saveas` `type_option` `db_822`;\n" +

"~ Activate `file_saveas` `OK`;";

Highlighted

RE: Idea, but not working

When running a macro from J-Link, the lines must be added in reverse order. The easiest way is to keep them in the normal order in the code (or an external file), then put each line on a stack and pop the stack to the RunMacro method.

Remember, the macro will not be executed before the J-Link application terminates.

Bjarne Frandsen

(Pro/ENGINEER Wildfire 4.0 M092andWindchill 9.0M050 on Windows)

Announcements
Business Continuity with Creo: Learn more about it here.