ask a simple guestion

homhsu

Usenet Archive
Joined
Sep 14, 2003
Messages
5
Reaction score
0
I want to implement a select of only one entity in Lisp, which is similiar to "ssget". Does "ssget" have some kind of "filter-list" to limit or exist other function which can do that

thanks for help
homling
 
If the user will be seleting the one item, use (entsel). If the selection is to be made without user intervention, you'll have to provide a bit more detail ...
___
 
Yes,

(setq ss1 (ssget "+.:E:S" '((0 . "TEXT"))))

This line will allow one pick and it will accept only text. ; ; ;

Bill
 
Bill,

 

Where did you find documentation on the "+.:E:S"

portion?

 

I've never seen anything about the + or ..

 

Thanks,

 

Don

 

"BillZ" <> wrote:

Yes,

(setq ss1 (ssget "+.:E:S" '((0 . "TEXT"))))

This line will allow one pick and it will accept only text. ; ; ;

Bill
 
I was given this in an answer to a post, from Jason P:

Not sure if this works in R14 (give it a try and let us know)

;; Courtsey of Stig Madsen, posted by Robert Bell
(ssget "+.:E:S" '((0 . "ARC")))

Bill
 
Thanks Luis,

Hey,, how did your presentation go at the AutoCAD user's group?

Don
 
Thanks Bill,

 

I'll bet there's still a lot more undocumented stuff out there too.

 

I've just changed some of my routines to take advantage your example.

 

Thanks again.

 

Don

 

Also thanks to Stig and Robert!

 

"BillZ" <> wrote:

I was given this in an answer to a post, from Jason P:

Not sure if this works in R14 (give it a try and let us know)

;; Courtsey of Stig Madsen, posted by Robert Bell
(ssget "+.:E:S" '((0 . "ARC")))

Bill
 
AND Tony!

 

"DonB" <> wrote:

Thanks Bill,

 

I'll bet there's still a lot more undocumented stuff out there too.

 

I've just changed some of my routines to take advantage your example.

 

Thanks again.

 

Don

 

Also thanks to Stig and Robert!

 

"BillZ" <> wrote:

I was given this in an answer to a post, from Jason P:

Not sure if this works in R14 (give it a try and let us know)

;; Courtsey of Stig Madsen, posted by Robert Bell
(ssget "+.:E:S" '((0 . "ARC")))

Bill
 
Aw, Shucks, it was nothing guys, really. :^)

Bill
 
Went pretty good, I spent a little more than three hours... and the best part was the chance to meet very nice people.
 
Congratulations!

Don

Luis said:
Went pretty good, I spent a little more than three hours... and the best part was the chance to meet very nice people.
 

Latest threads

Back
Top