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

get bylayer color number

0 views
Skip to first unread message

nalsur8

unread,
Mar 7, 2004, 10:15:06 PM3/7/04
to
any ideal how to get color number for "bylayer" "byblock"

--
----------------------------------------
Design/Engineering Dept.[bsli.com.my]


rdi

unread,
Mar 7, 2004, 10:34:14 PM3/7/04
to
I assume you mean to find out the color number assigned to the layer of the
item that is set to bylayer.

(tblsearch "layer" (cdr (assoc 8 ent))) ;should do it

--

RDI

(remove the exclamation from the email address)

"nalsur8" <sakit@nospamdotcom> wrote in message news:404be4a7_3@newsprd01...

nalsur8

unread,
Mar 7, 2004, 10:49:03 PM3/7/04
to
thanks rdi....

--
----------------------------------------
Design/Engineering Dept.
rdi <rdi!@writeme.com> wrote in message news:404be9ba_2@newsprd01...

nalsur8

unread,
Mar 8, 2004, 12:12:01 AM3/8/04
to
ok i want change the color of bylayer ent (line.circle any object)
using ssget (filter)

--
----------------------------------------
Design/Engineering Dept.


nalsur8 <sakit@nospamdotcom> wrote in message news:404be4a7_3@newsprd01...

Joe Burke

unread,
Mar 8, 2004, 6:36:37 AM3/8/04
to
The fact an object lacks a DXF code 62 entry (its color is ByLayer) does not preclude
using a standard ssget color filter.

Select objects color ByLayer:
(ssget '((62 . 256)))

Select objects color ByBlock:
(ssget '((62 . 0)))

Select objects color ByLayer or ByBlock
(ssget '((-4 . "<or") (62 . 256) (62 . 0) (-4 . "or>")))

Joe Burke


0 new messages