Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
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.
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`;";
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)