OK, so my memory is horrible tonight......here's the description of the 70
Group code:
Dimension type.
Values 0-6 are integer values that represent the dimension type. Values
32,
64, and 128 are bit values, which are added to the integer values (value
32
is always set in R13 and later releases).
0 = Rotated, horizontal, or vertical; 1 = Aligned;
2 = Angular; 3 = Diameter; 4 = Radius;
5 = Angular 3 point; 6 = Ordinate;
32 = Indicates that the block reference (group code 2) is referenced by
this
dimension only.
64 = Ordinate type. This is a bit value (bit 7) used only with integer
value
6. If set, ordinate is X-type; if not set, ordinate is Y-type.
128 = This is a bit value (bit 8) added to the other group 70 values if
the
dimension text has been positioned at a user-defined location rather than
at
the default location
You will have to play around a bit to get the results you need, since I
got
lucky with the radial in that it used an Integer that could have been a
bitwise number........will toy with this tomorrow if you haven't figured
it
out yet.
--
Jeff
check out
www.cadvault.com
"Jeff" <miff@sonic451.net> wrote in message
news:8rjid.3454$_3.36729@typhoon.sonic.net...
Yes, look into the DXF Reference Manual for the Dimension Entities. See
what the values are for the different type dimensions under the 70 group
code.
From memory: 0 is Linear, 1 is Aligned, 2 is 'forget', 4 is Radial, 8 is
'forget' and 16 is 'forget'......hmmm only remember 50%, not good. Oh
well, that's why we have manuals ;-) ,but I don't have one available
right
now and the wife wants to watch a movie......
--
Jeff
check out
www.cadvault.com
"chuck" <chuck@nospam.wo> wrote in message
news:%siid.2582$hp3.388100@read2.cgocable.net...
are there similar functions for diametric and angular dimensions?
"Jeff" <miff@sonic451.net> wrote in message
news:pCeid.3354$_3.36172@typhoon.sonic.net...
In your filter list, filter on the logical bitwise AND of code 70 for
4......the following will get ALL Radial Dimensions in the drawing:
(setq ss (ssget "x" '((0 . "DIMENSION")(-4 . "&")(70 . 4))))
--
Jeff
check out
www.cadvault.com
"chuck" <chuck@nospam.wo> wrote in message
news:Lieid.2730$14.733@read1.cgocable.net...
I would like to create a selection set of Radial only dimensions. How
do
I
go about this. The return value for radial dimensions assoc 100 is
(100
.
"AcDbEntity") not the (100 . "AcDbRadialDimension") association I
require.
I've tried to cdr through the entity list by using a conditional
loop
(while
(/= (car entlist) (cons 100 "AcDbRadialDimension"))(progn (setq
entlist
(cdr
entlist)))) thinking that I could use ssadd here but the assoc (100
..
"AcDbRadialDimension") appears to not be equal to (cons 100
"AcDbRadialDimension") for some reason. Even if I use (cdr(car
entlist))
it
does not equal "AcDbRadialDimension" and the condition is never
satisfied.
Is there something I'm missing?