The Hurricane Forum
The Hurricane Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Hurricane for AutoCAD
 Tips and Tricks
 Layer Translation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sniswonger
New Member

USA
8 Posts

Posted - November 04 2016 :  11:45:04 AM  Show Profile  Reply with Quote
Is there a way to script the laytrans command. Even with a - in front it always brings up a dialog box. Can I use the "alt" key in the script. If so, what would be the script text for the "alt" key?

Steven L. Niswonger

Admin
Administrator



652 Posts

Posted - November 09 2016 :  1:41:22 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
Hi Steven,

Looks like there isn't a direct fix for that, but there seems to be a workaround here....

http://forums.autodesk.com/t5/autocad-2010-2011-2012/scripting-the-laytrans-command/td-p/2479031

Hopefully it will get you going.

Looking forward to hearing of your success.

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page

Admin
Administrator



652 Posts

Posted - November 09 2016 :  1:43:32 PM  Show Profile  Visit Admin's Homepage  Reply with Quote
For the record... create a lisp routine like below, and edit as needed...

(defun c:FUNCTIONNAME ()
 (arxload "LAYTRANS.ARX")
 (acet-laytrans
 "TRANSLATIONFILEPATH.dws"
 0
 )
 (princ)
)

Hurricane for AutoCAD
http://www.74mph.com
FAQ at
http://www.74mph.com/faq/faq.html
Tutorials at
http://www.74mph.com/tutorials.html
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Hurricane Forum © 2009 - 2021 Go To Top Of Page
This page was generated in 0.31 seconds. Snitz Forums 2000