Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help: select all hatches with ssget!

174 views
Skip to first unread message

Martin Nigg

unread,
Jun 18, 1998, 3:00:00 AM6/18/98
to

hi,

need help for the correct command to select all hatches on a specific
layer and a specific hatch style with ssget.

(setq ss (ssget "x" '(?????????????)))

had no chance to find a solution in manuals.

thanks,
martin nigg


--
---------------------------------------------------------------------------

Architekturbüro WALCH
Architektur - Design - Bauleitung
---------------------------------------------------------------------------

Architekt Dipl.Ing. Armin Walch Tel.: +43-(0)5672-64242

Kög 22 Fax: +43-(0)5672-64460

A-6600 Reutte / Austria eMail: NOSPAMa...@walch.co.at

---------------------------------------------------------------------------

!Please remove NOSPAM from our email!

Martin Nigg

unread,
Jun 18, 1998, 3:00:00 AM6/18/98
to

Martin Nigg

unread,
Jun 18, 1998, 3:00:00 AM6/18/98
to

Paul Turvill

unread,
Jun 18, 1998, 3:00:00 AM6/18/98
to

(setq ss (ssget "x" '((0 . "HATCH"))))
__
Martin Nigg wrote in message <35891E08...@walch.co.at>...

Martin Nigg

unread,
Jun 18, 1998, 3:00:00 AM6/18/98
to

sorry, one correction!

in r14, i don't have a problem. the point is r13, because in r13 all hatches
are blocks and named "*X??". in the "customization manual", there is something
in about anonymous blocks, but it don't works.
i have to select all hatch blocks, with a specific hatch style and on a
specific layer.

thanks,
marty


Martin Nigg wrote:

> hi,


>
> need help for the correct command to select all hatches on a specific
> layer and a specific hatch style with ssget.
>
> (setq ss (ssget "x" '(?????????????)))
>

> had no chance to find a solution in manuals.
>
> thanks,
> martin nigg
>
> --
> ---------------------------------------------------------------------------
>
> Architekturbüro WALCH
> Architektur - Design - Bauleitung
> ---------------------------------------------------------------------------
>
> Architekt Dipl.Ing. Armin Walch Tel.: +43-(0)5672-64242
>
> Kög 22 Fax: +43-(0)5672-64460
>
> A-6600 Reutte / Austria eMail: NOSPAMa...@walch.co.at
>
> ---------------------------------------------------------------------------
>
> !Please remove NOSPAM from our email!

--

-------------------------------------------------------------------
Ing. Martin NIGG
-------------------------------------------------------------------
Kög 42 A-6600 Reutte/Tirol Austria
Tel.: +43-(0)5672-65913 Mobile: +43-(0)664-1356898
eMail: mailto:ni...@eunet.at URL: http://members.eunet.at/nigg/
-------------------------------------------------------------------
!!! Remove NOSPAM from my eMail adress !!!

Martin Nigg

unread,
Jun 18, 1998, 3:00:00 AM6/18/98
to

sorry, one correction!

in r14, i don't have a problem. the point is r13, because in r13 all hatches
are blocks and named "*X??". in the "customization manual", there is something
in about anonymous blocks, but it don't works.
i have to select all hatch blocks, with a specific hatch style and on a
specific layer.

thanks,
marty


Martin Nigg wrote:

> hi,
>
> need help for the correct command to select all hatches on a specific
> layer and a specific hatch style with ssget.
>
> (setq ss (ssget "x" '(?????????????)))
>
> had no chance to find a solution in manuals.
>
> thanks,
> martin nigg
>
>

--

-------------------------------------------------------------------

Martin Nigg

unread,
Jun 18, 1998, 3:00:00 AM6/18/98
to

Clint Moore

unread,
Jun 18, 1998, 3:00:00 AM6/18/98
to

Martin,

Try this
(ssget "X" (list (cons 2 "`**")))

I believe the key here is that the single quote in front of the first
asterisk is a reverse single quote as found under the Tilde key(~)

good luck,
--
Clint Moore
Moore Design
Cl...@mooredesign.net
http://www.mooredesign.net
Electrical Design Software for AutoCAD

Martin Nigg <NOSPA...@eunet.at> wrote in article
<3589404F...@eunet.at>...

Martin Nigg

unread,
Jun 19, 1998, 3:00:00 AM6/19/98
to

hi,

thanks for that quote info, but that was what i meant. i already tried it to do
so, but did not work correct.
any other ideas?


marty

Martin Nigg wrote:

--

Clint Moore

unread,
Jun 19, 1998, 3:00:00 AM6/19/98
to

Martin are you sure you used a reverse single quote? It works fine for me.
Post the code here so we can try it

--
Clint Moore
Moore Design
Cl...@mooredesign.net
http://www.mooredesign.net
Electrical Design Software for AutoCAD

Martin Nigg <NOSPAMa...@walch.co.at> wrote in message
358A0E8E...@walch.co.at...

Martin Nigg

unread,
Jun 22, 1998, 3:00:00 AM6/22/98
to Clint Moore
hi clint,

did try to use that code in my lisp:
...
(if (wcmatch (getvar "ACADVER") "*14*")
    (setq SS (ssget "X" '((0 . "HATCH") (2 . "ANSI31") (8 . "A__SCHR*") )) )
    (setq SS (ssget "X" '((2 . "´*X*") (2 . "ANSI31") (8 . "A__SCHR*") )) )
)
...
only experimental stadium!
the point is that in r14 hatches are objects which can be selected with "HATCH". in r13 every hatch is an anonymous block (i'm sure you know). i tried every 3 quote available, none worked.
if you have the correct code under r13, please send it back to me.
 
 

thanks for your efforts,
marty
 
 

--

Clint Moore

unread,
Jun 22, 1998, 3:00:00 AM6/22/98
to
Martin,
The code I posted originally works great for the R13 stuff, Try it by Copying and pasting from this message.
 
(ssget "X" (list (cons 2 "`**")))
 
Good luck,
0 new messages