cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Interaction between 2 MathCAD files ???

SOLVED
Newbie

Interaction between 2 MathCAD files ???

Hi,

I am trying to establish communication between 2 Mathcad files cause i would like to Mathcad file 1 to retrieve few data from MathCAD file 2.


I found that Mathcad is able to communicate with other kind of documents (like xls,word, etc) .

Any help in this direction is appreciate.

Thanks,
Arun

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Interaction between 2 MathCAD files ???

Arunachalam Nagarajan wrote:

Hi,

Thanks for your quick reply.


MathCAD file 1:

E = A + B+C+D

D = 4

C=

E =


MathCAD file 2 :

C= A+B
A= 2
B =3
In the above example i would Match CAD file 1 to retrive the data from MathCAD file 2 for the variable " C" .

Thanks,
Arun

If you insert file 2 as a reference into file 1, then everything you have defined in file 2 will be available in file 1. Everything! Including A = 2 and B = 3.

Which looks like it may be a problem for you. You could write C into a text file in file 2 and read it in file 1. Short of a scripted component I don't see another way.

View solution in original post

6 REPLIES 6

Re: Interaction between 2 MathCAD files ???

Arunachalam Nagarajan wrote:

Hi,

I am trying to establish communication between 2 Mathcad files cause i would like to Mathcad file 1 to retrieve few data from MathCAD file 2.


I found that Mathcad is able to communicate with other kind of documents (like xls,word, etc) .

Any help in this direction is appreciate.

Thanks,
Arun

Try please Insert/Reference command.

Or do you need some others, more!?

Re: Interaction between 2 MathCAD files ???

There are many ways to interact worksheets. How about posting an example for further assistance.

Mike

Re: Interaction between 2 MathCAD files ???

Hi,

Thanks for your quick reply.


MathCAD file 1:

E = A + B+C+D

D = 4

C=

E =


MathCAD file 2 :

C= A+B
A= 2
B =3
In the above example i would Match CAD file 1 to retrive the data from MathCAD file 2 for the variable " C" .

Thanks,
Arun

Re: Interaction between 2 MathCAD files ???

Arunachalam Nagarajan wrote:

Hi,

Thanks for your quick reply.


MathCAD file 1:

E = A + B+C+D

D = 4

C=

E =


MathCAD file 2 :

C= A+B
A= 2
B =3
In the above example i would Match CAD file 1 to retrive the data from MathCAD file 2 for the variable " C" .

Thanks,
Arun

If you insert file 2 as a reference into file 1, then everything you have defined in file 2 will be available in file 1. Everything! Including A = 2 and B = 3.

Which looks like it may be a problem for you. You could write C into a text file in file 2 and read it in file 1. Short of a scripted component I don't see another way.

View solution in original post

Re: Interaction between 2 MathCAD files ???

As Fred as stated you could reference a Mathcad worksheet inside another, but personally I would write it to a text file or excel worksheet and call it up in the other Mathcad sheet.

Mike

Re: Interaction between 2 MathCAD files ???

The controller and dummy worksheets I posted here might be useful to you:

http://communities.ptc.com/message/164310#164310