PDA

View Full Version : 10.50 <--> 11.00


max001
11-22-2002, 01:43 AM
I have to exchange ME/2D drawings (no extension file) from/to a company that uses ME10 v.10.50 (file version 2.70 compressed)
I use ME10 v.11.00

The company and I use Windows.

I downloaded a macro very well and useful, I adapted it ,so now I can save and "save as" file in version 2.70 like this
STORE_270 file_name CONFIRM

and it works very well.

But I can't do this trasformation with the command "save_part":
(STORE MI part_name ... destination_file_name)

in this specific case the file is for release 11.00 and later;
this is in ver 2.80 file MI, and If I opened the file with ME 10.50 I would have some messages error.

If I saved with compression binary mode the file would be incompatible (gzip versus compress)


The questio is:

Is there a way to save the "current_part" directly in version 2.70?

Thank's at all.

Max

Damjan
12-04-2002, 01:34 AM
Hi Max,

You can use the select functionality which has been introduced into the STORE and STORE_XXX commands in version 11.0:

STORE SELECT PARTS (selection) CONFIRM 'FileName'

A part to be stored can be selected by click on a part itself or by
entering a part name or part id. Also some other strings can be used, indication the relative position according to the current part.

Examples of part selection:
'name' part name
'~12' part with id 12
'.' current part
'..' parent part
'../..' parent of parent part
'/' top part.

So the answer to your question is:

STORE_270 SELECT PARTS '.' CONFIRM 'FileName'


Best regards, Damjan

max001
12-04-2002, 12:49 PM
Originally posted by Damjan
Hi Max,

You can use the select functionality which has been introduced into the STORE and STORE_XXX commands in version 11.0:

STORE SELECT PARTS (selection) CONFIRM 'FileName'

A part to be stored can be selected by click on a part itself or by
entering a part name or part id. Also some other strings can be used, indication the relative position according to the current part.

Examples of part selection:
'name' part name
'~12' part with id 12
'.' current part
'..' parent part
'../..' parent of parent part
'/' top part.

So the answer to your question is:

STORE_270 SELECT PARTS '.' CONFIRM 'FileName'


Best regards, Damjan

Yes. That command line is correct and very usefull, but it doesn't answer to my question

Saving in that way causes also saving the part tree structure.
E.g: if you have an assembly and you activate a part and finally you save this part with "STORE_270 SELECT PARTS '.' CONFIRM 'FileName'" , the result in the new 'FileName' is "Top_part_name"--->"SELECT_PARTS_name";
You'll have the same part structure of the original file.

Using 'STORE 'part_name' ecc...
you'll have (in the new file) 'part_name' at the root of part tree.

Do u understand?
I'm sorry but my english is worst day by day.

bie max

Damjan
12-04-2002, 11:42 PM
Hi again,

You are right. By using the select mechanism within STORE and STORE_XXX commands a whole part tree structure is stored. This is because during the selection the geometry from different parts can be selected. Unfortunatelly, the command itself is not smart enought to find out the highest parent part (P) which contains all the selected geometry and to save it as a TOP part in the new file. Instead, a whole part tree (containing selected geometry) is stored. Note, that parts within which nothing has been selected, are not stored.

So the correct answer to your question would be
STORE_270 'partname' ....., but unfortunatelly there is no such option for STORE_XXX commands.

Regards, Damjan.