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!
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 !!!
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
>
>
--
-------------------------------------------------------------------
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>...
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
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...
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
--