|
Welcome, Guest.
|
||||||
| AutoLISP AutoLISP or Visual LISP, learn both here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
100 Club
Join Date: 2001-04
Posts: 114
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I work for a CAD service bureau. Occasionally I will get a drawing that won't execute a command line lisp instruction. I have two tool buttons set up, one to switch me from paperspace to model space and set the ltscale to 1/3 the dimscale, the other to switch back to paperspace and change the ltscale to 0.33. Normally I have no problem with these but every so often I will get a file where they won't execute. The code appears on the command line but doesn't execute.
Is there a setting (or combination of settings) that causes this? My code is (command "ltscale" 0.33334)(command "tilemode" "0") to switch to Paperspace (setq x (getvar "dimscale"))(command "ltscale" (* x 0.33334))(command "tilemode" "1") for Model space TIA |
|
|
|
|
|
#2 |
|
All AUGI, all the time
Join Date: 2003-12
Location: Palm Harbor, FL
Posts: 537
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I have a similar made button but I use it to fix my ltscale and psltscale....for some reason every once in a while it will not work unless I zoom in on the drawing a little??? almost like its a video card problem.... My line will look continuos unless I zoom in on it and then hit my button..... Makes no sense.....
__________________
Bbapties Using Vanilla Acad 2005 |
|
|
|
|
|
#3 |
|
I could stop if I wanted to
Join Date: 2002-04
Location: Halifax NS Canada
Posts: 394
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Try adding a forced regen at the end of your code.
__________________
Loyalty above all else except honor For my honor is my life! |
|
|
|
|
|
#4 |
|
All AUGI, all the time
Join Date: 2003-12
Location: Palm Harbor, FL
Posts: 537
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
I do have one on mine....
__________________
Bbapties Using Vanilla Acad 2005 |
|
|
|
|
|
#5 | |
|
I could stop if I wanted to
Join Date: 2002-02
Location: Kansas
Posts: 462
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
note: VIEWRES controls the appearance of circles, arcs, ellipses, and splines using short vectors. The greater the number of vectors, the smoother the appearance of the circle or arc. For example, if you create a very small circle and then zoom in, it might appear to be a polygon. Using VIEWRES to increase the zoom percentage and regenerate the drawing updates and smooths the circle's appearance. Decreasing the zoom percentage has the opposite effect. |
|
|
|
|
|
|
#6 | |
|
Administrator
Join Date: 2001-05
Location: In the foothills of the appalachians
Posts: 2,097
![]() |
Quote:
Workaround: Type "()" without the quotes at the command line and hit enter. Then try your tool bar or custom macros. They should work at this point. |
|
|
|
|
![]() |
|
||||||
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using LISP routines in 2005 Palettes | soverpeck | AutoCAD Customization | 5 | 2005-03-23 10:39 PM |
| Work plane grid | jwilhelm | Revit Architecture "Original" Wish List (Archived) | 0 | 2004-02-19 04:06 AM |
| Can I change the work plane of a existing family element? | Nic M. | Revit Architecture - Families | 6 | 2003-10-24 07:28 PM |
| Workset Library Card | Steve_Stafford | Revit Architecture - Tips & Tricks | 9 | 2003-07-09 06:58 PM |
| work planes cant be ref planes?? | Martin P | Revit Architecture - General | 2 | 2003-06-10 01:25 PM |