Jump to content

Strange VirtualXP ACAD to ACAD question.


Apache2k

Recommended Posts

Hello everybody.

I have a very strange question. I think so.

 

Is this possible to do?

 

I have AutoCAD2012 on one computer.

- I open a dwg file with AutoCAD2012

- Press a button that sends the dwg file to VirtualXP in 2000 format dwg.

- The DWG file opens in VirtualXP with AutoCAD2002

- Does some functions.

- Closes the dwg and virtualXP

- Jumps back to Acad2012

 

I have installed the virtualxp and the AUtoCAd2002 is working fine on it.

Just cant figure out the link from one Acad to an other acad.

 

Why i ask this:

There is a function that is very essential for us and that wont work with acad 2012.

Link to comment
Share on other sites

Welcome to the forum. :)

What does the function do?

 

Thank you :)

 

The function is very simple. 3dsout :) :) but wiht some of our own settings. As we all know Acad2012 has no 3dsout.

I have been trying all other possible options in acad2012 with no luck. (fbx, stl etc.) I dont want polytrans nor other software.

Our models are blocks with old type material information and xdata attributes. Those make the model even more difficult to translate.

 

The good old 3dsout does the trick.

Link to comment
Share on other sites

You may call the said routine in acaddoc.lsp file of AutoCAD 2000 installation and call it from 2012 using STARTAPP in AutoLISP; check also GETFILED to indicate the file to process.

Link to comment
Share on other sites

An example:

(defun c:ONot( / theFile )
(if (setq theFile (getfiled "Indicate TXT file" "C:\\" "TXT" 0))
 (startapp "NOTEPAD" theFile)
)
(princ)
)

Link to comment
Share on other sites

Ok. Ill try those tips. Thanks for helping.

 

I just want to automatize all the phases. We have to do this many times and has to work each time.

 

@MSasu: Dont know how can i call the routine from acad2012 as the acad 2002 is in the wirtualXP mode.

Link to comment
Share on other sites

Keep in mind that if you have the dwg open in 2012 that when you open it in 2002 you have to open it as read only, if you try to close it in 2012 then any lisp or macro will stop running when the dwg is closed. You might be looking for a .bat file to run that opens the 2002 version then runs your 3douts routines. Then there is the trick to get it to open a different dwg file each time or you're opening the same dwg each time.

If it was me, I would look for a 3dout app to run in 2012 or a 3rd party converter/export program.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...