PDA

View Full Version : Storing uncompressed .mi file into WorkManager


Gary L.
04-15-2003, 11:56 AM
What do I need to add to the following command to not have my .mi file in WorkManager compressed?

save_2d_data :start

ChrisE
04-16-2003, 02:33 AM
If you are using WM 11.60, then you can set a global variable to 0, thus telling Annotation (or actually the ME10 macro code behind it) to store the MI file in uncompressed format into WM.

DEFINE Awm_val_store_compressed_mi
0
END_DEFINE

Place this definition in your WM ME10 AIP customization,
e.g. in a file named "ui_cust.m" in the directory ...\WorkManager\desktop\aips\me10\custom
(or similar, depends on the way your ME10 AIP gets customized)

Good luck.

Chris

Gary L.
04-16-2003, 04:48 AM
We are using WorkManager 5.1 and OneSpace Designer 11.5.

Will your suggestion work with our setup?

ChrisE
04-17-2003, 02:40 AM
Originally posted by Gary L.
We are using WorkManager 5.1 and OneSpace Designer 11.5.



Whoa, kind-a-unsupported, isn't it? ;) :D

I don't have the old macros at hand at the moment, but what you might wanna do is:

* Save all the OSD Anno macros into a single file,
* then look for all locations with a STORE command,
* check whether it is inside a macro named Awm_i_store_xxx (somewhat similar), e.g. Awm_i_store_quick, Awm_i_store_metop
* extract the macro into your ui_cust.m file, and adopt it to your needs.
* Make sure to modify the line where the pure drawings gets stored, not the frame part

How to save all Anno macros into a single file:

(docu-cmd "save_macro all del_old 'c:/temp/all_me10.mac'")

Good luck :)

Chris