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

Xdata

0 views
Skip to first unread message

Bobby Jones

unread,
May 15, 2001, 12:25:00 PM5/15/01
to
Would anybody care to give us, me in particular, a quick lesson in
manipulating xdata? I'm most interested in manipulating groups of info in
the 1002 group codes and nested 1002 groups. Thanks for your help.
--
Bobby C. Jones

Cliff Middleton

unread,
May 15, 2001, 2:55:51 PM5/15/01
to
If you haven't already done so, chapter 10 of the Visual LISP Developer's
Guide is a good place to start.

"Bobby Jones" <bjo...@beazer.com> wrote in message
news:1D3ABF02DB192DBD...@in.WebX.maYIadrTaRb...

Bobby Jones

unread,
May 15, 2001, 4:35:23 PM5/15/01
to
I'll be a little more specific. I'm wanting to get, which I can, and modify
xdata attached to a floating viewport. I realize that a viewport cannot be
entmod'd, but it can be vla-setxdata'd. Specifically I want to be able to
modify/add/delete the 1003 layer group codes that are grouped between the
second nested 1002 grouping code. These are layers that are frozen in that
viewport. I just wanted to know if anyone had any pointers or tools that
they would share prior to my starting this project. I already have a
utility from Frank O. that will convert the list into a pair of safearrays
suitable for use with the vla-setxdata method. What I don't have is a
starting point for manipulating the xdata list to find the nested grouping
codes, manipulate that subset of the list, and to reconstruct the list. I'm
going to start figuring this myself, but if anyone has a tip or two I sure
would appreciate it. BTW - I can't use (command "vplayer" ....) as this
utility will be reactor driven. Thanks.

(("ACAD" (1000 . "MVIEW")
(1002 . "{")
(1070 . 16)
(1010 65.8235 828.715 107.026)
(1010 0.0 0.0 1.0)
<snip>
(1040 . 120.0)
(1070 . 0)
(1002 . "{")
(1003 . "EEPOWER")
(1003 . "E-Lite-Swch")
(1003 . "E-Powr-Symb")
(1003 . "E-Powr")
(1003 . "E-Powr-Note")
(1003 . "E-Lite-Clng")
(1003 . "E-Comm")
(1003 . "E-Lite-Wall")
(1003 . "E-Clng-Symb")
(1003 . "E-Anno-Note")
(1002 . "}")
(1002 . "}")
)
)

--
Bobby C. Jones

"Cliff Middleton" <cmidd...@generalbroach.com> wrote in message
news:809BEC32D43757DC...@in.WebX.maYIadrTaRb...

Cliff Middleton

unread,
May 15, 2001, 5:10:20 PM5/15/01
to
Check into a program called savedata.lsp on Vladimir Nesterovsky's site.
http://vnestr.tripod.com/

Also, if I remember correctly, Michael Puckett shared some dictionary (which
are similar to xdata in structure) utilities with me a while ago. Check out
his site. I don't know if they are posted or not.
http://www.cadvision.com/puckettm/

Cliff

"Bobby Jones" <bjo...@beazer.com> wrote in message

news:6FCA4F043C89B6FA...@in.WebX.maYIadrTaRb...

Bobby Jones

unread,
May 15, 2001, 5:13:58 PM5/15/01
to
Thanks Cliff. Again....
--
Bobby C. Jones

"Cliff Middleton" <cmidd...@generalbroach.com> wrote in message

news:845FFF63A6E2B802...@in.WebX.maYIadrTaRb...

0 new messages