SS bug or ??
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
SS bug or ??
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization

Author Message
BillZ
Guest





Posted: Mon Jan 03, 2005 8:06 pm    Post subject: SS bug or ?? Reply with quote

R2005:

I know I've been away for a few days and things can change rapidly but why am I getting some points, circles and text in my selection set when I use:

Command: (setq ss (ssget "X" '((0 . "LINE"))))
<Selection set: 27>

Command: list

Select objects: !ss
<Selection set: 27>
854 found, 1 group

Select objects:

TEXT Layer: "0"
Space: Model space
Handle = 161F
Group = 70031
Style = "ROMANS"
Font file = romans.shx
start point, X= 142.3191 Y= 52.3964 Z= 0.0015
height 1.0000
text UP 12
rotation angle 268
width scale factor 1.0000
obliquing angle 0
generation normal

CIRCLE Layer: "OUTSIDE"
Space: Model space
Handle = 1621
Group = 70031
center point, X= 147.7375 Y= 46.9026 Z= 0.0015
radius 1.7427
circumference 10.9497
area 9.5410

POINT Layer: "LDRILL"
Space: Model space
Handle = 1623
Group = 70031
at point, X= 147.0724 Y= 45.0074 Z= 0.0015

POINT Layer: "LDRILL"
Space: Model space
Handle = 1624
Group = 70031
at point, X= 148.2053 Y= 46.7126 Z= 0.0015

POINT Layer: "LDRILL"
Space: Model space
Handle = 1625
Group = 70031
at point, X= 147.1840 Y= 46.9759 Z= 0.0015

POINT Layer: "LDRILL"
Space: Model space
Handle = 1626
Group = 70031
at point, X= 133.8405 Y= 50.5092 Z= 0.0015

Press ENTER to continue:
POINT Layer: "LDRILL"
Space: Model space
Handle = 1627
Group = 70031
at point, X= 142.1862 Y= 53.3715 Z= 0.0015

POINT Layer: "LDRILL"
Space: Model space
Handle = 1628
Group = 70031
at point, X= 133.2431 Y= 54.0260 Z= 0.0015

POINT Layer: "LDRILL"
Space: Model space
Handle = 1629
Group = 70031
at point, X= 147.3726 Y= 48.8665 Z= 0.0015

POINT Layer: "LDRILL"
Space: Model space
Handle = 162A
Group = 70031
at point, X= 149.2738 Y= 48.1721 Z= 0.0015

TEXT Layer: "0"
Space: Model space
Handle = 162B
Group = 70031
Style = "ROMANS"
Font file = romans.shx
start point, X= 143.1415 Y= 44.6434 Z= 0.0015
height 1.5000
text 70031
rotation angle 340
width scale factor 1.0000
obliquing angle 0
generation normal

POINT Layer: "LDRILL"
Space: Model space
Handle = 162C
Group = 70031
at point, X= 141.8021 Y= 44.2561 Z= 0.0015

POINT Layer: "LDRILL"
Space: Model space
Handle = 1632
Group = 70031
at point, X= 139.9269 Y= 48.6307 Z= 0.0015
Press ENTER to continue:

LINE Layer: "OUTSIDE"
Space: Model space
Handle = 163B
Group = 70031
from point, X= 141.7417 Y= 44.1184 Z= 0.0015
to point, X= 150.9204 Y= 41.1091 Z= 0.0015
Length = 9.6595, Angle in XY Plane = 342
Delta X = 9.1787, Delta Y = -3.0093, Delta Z = 0.0000

LINE Layer: "OUTSIDE"
Space: Model space
Handle = 163A
Group = 70031
from point, X= 130.5336 Y= 48.4641 Z= 0.0015
to point, X= 141.7417 Y= 44.1184 Z= 0.0015
Length = 12.0211, Angle in XY Plane = 339
Delta X = 11.2081, Delta Y = -4.3457, Delta Z = 0.0000

LINE Layer: "OUTSIDE"
Space: Model space
Handle = 1639
Group = 70031
from point, X= 130.4191 Y= 58.2471 Z= 0.0015
to point, X= 130.5336 Y= 48.4641 Z= 0.0015
Length = 9.7836, Angle in XY Plane = 271
Delta X = 0.1145, Delta Y = -9.7829, Delta Z = 0.0000

ect.ect

Have I forgotten something?

Seems to work when I use ARC:

(setq ss (ssget "X" '((0 . "ARC"))))

I get just arcs.

TIA

Bill

Back to top
T.Willey
Guest





Posted: Mon Jan 03, 2005 9:17 pm    Post subject: Re: SS bug or ?? Reply with quote

Is it because the Line you selected is within a group?

Tim
Back to top
BillZ
Guest





Posted: Mon Jan 03, 2005 9:19 pm    Post subject: Re: SS bug or ?? Reply with quote

Yes,
I see that now.

Any ideas on how to handle that?

Bill
Back to top
T.Willey
Guest





Posted: Mon Jan 03, 2005 9:22 pm    Post subject: Re: SS bug or ?? Reply with quote

The only thing I can think of is to turn off group selection, then run your routine, then turn it back on.

Tim
Back to top
Jason Piercey
Guest





Posted: Mon Jan 03, 2005 9:29 pm    Post subject: Re: SS bug or ?? Reply with quote

If I create a group of 2 lines and a circle

(setq ss (ssget "x" '((0 . "line"))))
<Selection set: 12e>

(sslength ss)
2

Am I missing something? How were your groups created?

--
Autodesk Discussion Group Facilitator



"BillZ" <nospam@address.withheld> wrote in message
news:21492127.1104769175451.JavaMail.jive@jiveforum2.autodesk.com...
Quote:
Yes,
I see that now.

Any ideas on how to handle that?

Bill
Back to top
BillZ
Guest





Posted: Mon Jan 03, 2005 9:34 pm    Post subject: Re: SS bug or ?? Reply with quote

That'll work for now.

Thanks

Bill
Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Customization All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Access Forum - Microsoft Office Forum - Electronics

Contact Us Powered by phpBB