PDA

View Full Version : Generate a ME10 Multi-sheets drawing and print in a PDF file


GiorgioL
06-03-2004, 04:47 AM
Hello to everybody,

the new version of ME10 rev. 12 (OSDD 2004) allows to print a drawing in a PDF file (there are some topics about this arguments). It also allows to print a multi-sheets drawing in a single file but the drawing must be generate from annotation! Me10 allows to generate a multi-sheets drawing but is not able to print a single PDF file with the same pages of the drawing.

John Scheffel in the post (link) (http://www.cocreateusers.org/forum/showthread.php?s=&threadid=4490&highlight=multi+sheets) give us a suggestion to plot a multi-sheet drawing to a printer with a macro but is not useful for a PDF files.

To print a multi-sheets in a single PDF file follow the instruction:

To load the macro new_sheet digit :
input 'c:\new_sheet.txt' where "c:\" is the path of the file

to execute the macro digit:
new_sheet and answer with the numer of the sheet.

Now draw something and create a new sheet with macro new_sheet and put some geometries.
Save the file with MI extention (standard option).

Now, with a text-editor (notepad is OK) open the file and find the row:
CoCreate ME10 Release
and change ME10 with Annotation then save.

Load the Mi file in ME10 and a [ANNO] text show us that a Annotation drawing is loaded.
Click on the print icon and choose PDF GENERIC and set the rigth paramters and click OK. Set the file name and open the file with Acrobat reader.

If all it is OK you'll see a PDF file with a multiple pages :D.

At the moment there are two bad things :rolleyes: :
1) use a external editor to change from ME10 to ANNOTATION
2) set the order of the printing of the page.

any suggestion to improve the macro or the sequence are welcome. Regards GiorgioL.

GiorgioL
06-03-2004, 04:49 AM
Opps, the macro...

define new_sheet

local num_sheet

read number prompt (DGETTEXT 'me10anno' 'Enter the number of the new sheet') num_sheet

{ set to the top part the following INFO}
edit_part '/'
add_elem_info 'DOCU_DRAWING' parts '/' end

{ create a new part and visualize}
init_part (str num_sheet)
view (str num_sheet)

{ set INFO for the new part }
add_elem_info 'DOCU_SHEET' parts (str num_sheet) end

{ update the table of the sheets}
show_sheets


end_define

MikeBoswell
09-17-2004, 11:52 AM
Did you resolve this?

I have the problem of maintaining sheets w/ the pdf.
They come out stacked on top of each other. I use a macro from Cocreate that spreads the sheets out but they still print out as one sheet.
I would like ME10 files w/ sheets to turn out the same as the Annotation files.
They come out nice w/ the sheets seperate with in the same file.

I would appreciate any input.

Thanks,

Mikeb

GiorgioL
09-19-2004, 10:59 PM
Yes I did. Now I can draw different entity in different pages, store them in a single MI file and then generate a single PDF file. ME10 has capability to manage multi pages drawing (create_sheet command) but the ME10 designers forgot to implement all Annotation features(!!!). My E-mail explain (or try to explain) how to solve this problem but there are some bad things (explained in the first E-mail).

Regards, GiorgioL.

GiorgioL
09-20-2004, 03:46 AM
I wrote:

... Now, with a text-editor (notepad is OK) open the file and find the row:
CoCreate ME10 Release
and change ME10 with Annotation then save.

Instead to do this use:

store anno all <filename>

and reload the MI file.

Also this allow to load a file built in ME10 in Soliddesigner.

anno is undocumented (?) syntax of store command.

Regards

MikeBoswell
09-20-2004, 03:51 AM
Sounds good.
I did not know about the "store anno all <filename>"

Ill give it a try.

Thanks,
Mike

nan battaglia
09-21-2004, 02:04 PM
I tried the PDF Generic in Me10 and was able to print a multi-sheet drawing into one pdf file. That's a great thing.
My question is, can this PDF Generic be used in Annotator or put into am_plot_customize?

GiorgioL
09-21-2004, 10:23 PM
I have printed single page drawing in a PDF file form Annotation.
Annotation is based on ME10 core but some features are not visibile. PDF generic printer is present but you can not use directly.
To use the PDF printer you must use a ME10 macro loaded in Annotation. I think it is possibile print a multi-sheets drawing in a single PDF file.

Regard GiorgioL.

GiorgioL
09-28-2004, 04:17 AM
Just to test the internal PDF generator of Annotator use the macro in the zip file.

The Plotdef file modified the format available for the PDF printer.

Load the LSP file in Soliddesigner and generate a multi page drawing.

In the tool box there is a PDF generator.

Set the format and the place where you want put the file then confirm. A PDF is generated.

Regards. GiorgioL.

MikeBoswell
12-08-2004, 05:23 AM
GiorgioL

What is it about your new_sheet macro that makes this all work?

The create_sheet macro included w/ me10 12 will not maintain multiple sheets when PDF'ed , but yours does.

Mikeb

GiorgioL
12-08-2004, 10:40 PM
Hello MikeBoswell,

the two macro are quite different but below there is the part you you looking for:


{ set to the top part the following INFO}
edit_part '/'
add_elem_info 'DOCU_DRAWING' parts '/' end


If you use, also, with the macro CREATE_SHEET after you load the drawing and store in a file STORE ANNO ALL '<FILENAME>' and reload the file you will be able to print multiple sheets in a single PDF file.

I hope to be clear. Regards GiorgioL. Thanks for attention.

MikeBoswell
12-09-2004, 04:44 AM
Thanks GiorgioL.

The macro / store anno all combo DOES work the way you describe.

1. new_sheet
2. draw something
3. store anno all
4. pdf

I want to be able to......

1. new_sheet
2. load drawing into sheet
3. new_sheet
4. load drawing into sheet
5. store anno all
6. pdf

.....but this does not work.

Any thoughts? Anyone?

Thanks,

Andy Poulsen
12-09-2004, 06:54 AM
Hi Mike,

The functionality you desire is currently available under ME10 using PDFAssistant (from Accurate Consulting, www.nethut.net/me10).

Aspiration Innovation is about to begin the beta testing phase for a product that provides this functionality in the Annotation environment as well.

For more information on this product and the beta testing program, please see this thread in the third-party forum: http://cocreateusers.org/forum/showthread.php?s=&threadid=5319

Thanks!

andy