Author Topic: Lisp for convert drawing units  (Read 5547 times)

0 Members and 1 Guest are viewing this topic.

LaPan

  • Guest
Lisp for convert drawing units
« on: September 13, 2007, 09:43:18 PM »
Is there a lisp that can change drawing from; example inches to mm?
Right now what am I doing is manually scale the drawing.....

Lisp 'Guru' out there can u help me?

kpblc

  • Bull Frog
  • Posts: 396
Re: Lisp for convert drawing units
« Reply #1 on: September 14, 2007, 01:46:02 AM »
(setvar "lunits" 2) perhaps?
Sorry for my English.

VVA

  • Newt
  • Posts: 166
Re: Lisp for convert drawing units
« Reply #2 on: September 14, 2007, 01:56:17 AM »
Or
Code: [Select]
(setvar "insunits" 4) ;_mm
(setvar "insunits" 1) ;_inches

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Lisp for convert drawing units
« Reply #3 on: September 14, 2007, 05:21:30 AM »
Exactly what do you want to convert ?
Just the drawing entitys or more or everything. ?
What have you tried ?
... and what are you doing manually .. exactly ?
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

LaPan

  • Guest
Re: Lisp for convert drawing units
« Reply #4 on: September 16, 2007, 09:15:17 PM »
Ok, like this.
I'm working on drawing that using MM as a default unit.
I want to insert drawing from other consultant that using inches or feet as their default units.
When I insert their drawing to my drawing, the drawing become to small and I must scale it up to match with my drawing.

So, is there a way that I can do so that drawing automatically become in same units/scale with my drawing when I'm insert it?

Jeff_M

  • King Gator
  • Posts: 4096
  • C3D user & customizer
Re: Lisp for convert drawing units
« Reply #5 on: September 16, 2007, 09:56:31 PM »
Look into the INSUNITS, INSUNITSDEFSOURCE, and INSUNITSDEFTARGET sytem variables.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Lisp for convert drawing units
« Reply #6 on: September 16, 2007, 10:07:58 PM »
What Jeff said ^^

General tip for next time :
If the question had been asked as per post Reply#4 you may have had this answer 4 days ago.

:-)
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.