Author Topic: Lisp command for ACAD 2000  (Read 2471 times)

0 Members and 1 Guest are viewing this topic.

aepeszel

  • Guest
Lisp command for ACAD 2000
« on: January 07, 2005, 03:26:02 PM »
We are looking for a lisp command that will take several selected dimensions and add their values together. We have one for Single line text
but to use this with dims it looks like we will have to explode a couple of times. Any ideas?

CADaver

  • Guest
Lisp command for ACAD 2000
« Reply #1 on: January 07, 2005, 03:32:21 PM »
The difference between assoc code 14 and assoc code 14 is the measured dimension.

MikePerry

  • Guest
Lisp command for ACAD 2000
« Reply #2 on: January 07, 2005, 06:13:08 PM »
Hi

Check out the following thread -

Calculate text values

Have a good one, Mike

SMadsen

  • Guest
Lisp command for ACAD 2000
« Reply #3 on: January 07, 2005, 08:03:31 PM »
aepeszel,
It could be a simple task or a complex one, depending on what kind of criteria you have for "adding values". Dimensions always keep the true measurements readily available without the need of further calculation but, as we all know, the dimension text can be overridden with all sorts of values.

If you only want to add true measurements, it's a simple matter of gathering the measurements and do the calculation (and of course distinguishing between angles and lengths). If you want to dig into the dimension texts, you'd probably need to consider tolerances, alternative units, prefixes, suffixes etc.

aepeszel

  • Guest
Lisp command for ACAD 2000
« Reply #4 on: January 13, 2005, 01:02:31 PM »
A co-worker wants a lisp that he can use to select a number of dimensions and automatically find the sum.

We have a lisp that will add values from lines of text, but not unexploded dimensions.