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

Export in MEDUSA Format (JLink)

office
1-Visitor

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.


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2
office
1-Visitor
(To:office)

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)

Announcements


Top Tags