Skip to main content
1-Visitor
January 18, 2012
Solved

VIEW xmcd files

  • January 18, 2012
  • 4 replies
  • 83759 views

Need just simple way to view xmcd files, I do not need to edit or nothin else just view, is there any way to do this, IE, Excel etc...

Best answer by mzeftel

Angel,


The easiest is to save to HTML or PDF.

Mona

4 replies

mzeftel1-VisitorAnswer
1-Visitor
January 18, 2012

Angel,


The easiest is to save to HTML or PDF.

Mona

23-Emerald I
January 18, 2012

I think the question was really, "On a computer without Mathcad, how do I view xmcd files?"

The unfortunate aswer is, "You need to ask someone with Mathcad 14 or 15 to save to HTML or PDF."

The idea of a viewer (similar to Adobe Reader) would help disseminate Mathcad!

1-Visitor
January 18, 2012

Well, if this is the case, this has been a request which has been made many times before.

Mike

1-Visitor
January 18, 2012

Unfortunately I don't think there is a way. What are you actually looking for?

Mike

1-Visitor
January 18, 2012

Iff the user has saved their worksheets with the XML option for saving all regions as images then you can reconstruct the worksheet directly with a 'bit' [aka a lot] of XML coding.

Each region has its image in one of the data sections which are IIRC uuencoded versions of the png of the region image. The region location is in the main XML struct.

There was a bit of code on the old collab (or perhaps the Adept list) that simply extracted all the images from the xmcd file.

It was called xmcdGetPicture.exe

http://lists.adeptscience.co.uk/mathcad/mathcad_Dec_2008/msg_4849.html

24-Ruby III
January 19, 2012

Philip Oakley wrote:

...It was called xmcdGetPicture.exe...

Can you upload/attach this program?

1-Visitor
January 25, 2012

I tried some stuff on Wiundows XP 32 bit (my little netbook - I'm away on equipment trials..).

The error message about line 16 occurs is no parameter is passed (or possibly is unrecognised?)

If you drag and drop a file onto the exe in explorer the results go into your documents and setting folder - i.e. it's above the My Documents you normally see.

I've run it in a dos window and then the results are in the same folder as the dos prompt (which also was where the exe was..)

Make sure you actually have images set ON in the File>>Properties.. || XML Options tab otherwise it will report no images.

It worked for me with V15 files (see attached).

To inspect the xmcd file contents change theire extensions to .xml and then open them in regular MS Internet Explorer which will show you the heirarchy and allow opening and closing of the 'folds' of each data group.

If you have a file difference programme (e.g. Beyond Compare - very good) then it should also help (e.g. change extensions to .txt and use your regular editor to do a comparison - e.g. MS Word document compare 😉

You will see two extra items at the end of my examples - note the common starting characters

<item item-id="1">iVBORw0KGgoAAAANSUhEUgAAACwAAAARCAYAAACmYE5yAAAAAXNSR0IArs4c6QAAAARnQU1B ......

I'm sure you can google what they mean.

http://stackoverflow.com/a/2341029/717355 explains its base-64 encoded data.

See attached examples

Philip

added google result

23-Emerald IV
April 11, 2022

Check out this: https://community.ptc.com/t5/PTC-Mathcad/Can-t-see-your-sheet-but/m-p/636482

And notice that Prime 8 will allow to save any (real) Mathcad sheet to html file.

 

Success!

Luc