.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to set/get xdata, extension dict, xrecords in net api?

5 REPLIES 5
Reply
Message 1 of 6
Anonymous
1246 Views, 5 Replies

how to set/get xdata, extension dict, xrecords in net api?

I've searched the acad docs online
(http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html)
I don't see any topics on how to create and read any of the 3 above
mentioned objects.

I searched this group via the web interface and get 6 hits on xdata, none of
which show how to create it.
i searched this group on xrecord and got 2 hits neither which showed how to
create or read xrecord

i searched this group on extension dictionary and get 25 hits, none of which
show how to create/read

am i missing something about searching on the web interface for acad
discussion groups?
I'm surprised not to find some hits with the actual info in them?

So if i want to save and retrieve persistent(over multiple sessions) info in
acad dwg, what is best way?
save extension dict on layer 0?
create named dict in nod ?
other?
i know xdata on objects isn't the best for a variety of reasons, but i have
to convert an existing app that uses xdata to something more "cool"
:-)

thanks
mark
5 REPLIES 5
Message 2 of 6
Anonymous
in reply to: Anonymous

i didn't notice the date was filtering for last 90 days only
reset it to all and found a lot of hits on extension dict
wading through many have yet to find a simple clear example of
creating/reading
xrecords on extension dictionaries on objects

if i want to store the equivalent of a sorted dictionary full of sorted
dictionaries,
would xrecords in an extension dictionary attached to layer 0 be a viable
approach?

pros/cons?

thanks
mark


"mp" wrote in message
news:6293457@discussion.autodesk.com...
I've searched the acad docs online
(http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html)
I don't see any topics on how to create and read any of the 3 above
mentioned objects.

I searched this group via the web interface and get 6 hits on xdata, none of
which show how to create it.
i searched this group on xrecord and got 2 hits neither which showed how to
create or read xrecord

i searched this group on extension dictionary and get 25 hits, none of which
show how to create/read

am i missing something about searching on the web interface for acad
discussion groups?
I'm surprised not to find some hits with the actual info in them?

So if i want to save and retrieve persistent(over multiple sessions) info in
acad dwg, what is best way?
save extension dict on layer 0?
create named dict in nod ?
other?
i know xdata on objects isn't the best for a variety of reasons, but i have
to convert an existing app that uses xdata to something more "cool"
:-)

thanks
mark
Message 3 of 6
Anonymous
in reply to: Anonymous

finally found the net labs i saw mentioned
lab 4 seems to have some xrecord stuff in a nod, just briefly looked at the
doc file so far.
is creating an "app specific" dictionary on the nod better than attaching an
ext dict on layer 0 for example?
thanks
mark

"mp" wrote in message
news:6293460@discussion.autodesk.com...
i didn't notice the date was filtering for last 90 days only
reset it to all and found a lot of hits on extension dict
wading through many have yet to find a simple clear example of
creating/reading
xrecords on extension dictionaries on objects

if i want to store the equivalent of a sorted dictionary full of sorted
dictionaries,
would xrecords in an extension dictionary attached to layer 0 be a viable
approach?

pros/cons?

thanks
mark


"mp" wrote in message
news:6293457@discussion.autodesk.com...
I've searched the acad docs online
(http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html)
I don't see any topics on how to create and read any of the 3 above
mentioned objects.

I searched this group via the web interface and get 6 hits on xdata, none of
which show how to create it.
i searched this group on xrecord and got 2 hits neither which showed how to
create or read xrecord

i searched this group on extension dictionary and get 25 hits, none of which
show how to create/read

am i missing something about searching on the web interface for acad
discussion groups?
I'm surprised not to find some hits with the actual info in them?

So if i want to save and retrieve persistent(over multiple sessions) info in
acad dwg, what is best way?
save extension dict on layer 0?
create named dict in nod ?
other?
i know xdata on objects isn't the best for a variety of reasons, but i have
to convert an existing app that uses xdata to something more "cool"
:-)

thanks
mark
Message 4 of 6
Anonymous
in reply to: Anonymous

i did write a blogs on dictionaries and xrecords - really not telling you how to program that in there but my give you some knowledge of them

http://www.cadenhancement.com/2009/05/dictionaries-inside-autocad.html

http://www.cadenhancement.com/2009/05/xrecords-what-are-they.html

Patrick Johnson
http:\\www.cadenhancement.com
Message 5 of 6
Anonymous
in reply to: Anonymous

It depends on what you want to happen when a user does a WBLOCK (full or
partial), and whether you want some/all of your dictionary content to be
cloned to the destination database.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

"mp" wrote in message
news:6293462@discussion.autodesk.com...
finally found the net labs i saw mentioned
lab 4 seems to have some xrecord stuff in a nod, just briefly looked at the
doc file so far.
is creating an "app specific" dictionary on the nod better than attaching an
ext dict on layer 0 for example?
thanks
mark

"mp" wrote in message
news:6293460@discussion.autodesk.com...
i didn't notice the date was filtering for last 90 days only
reset it to all and found a lot of hits on extension dict
wading through many have yet to find a simple clear example of
creating/reading
xrecords on extension dictionaries on objects

if i want to store the equivalent of a sorted dictionary full of sorted
dictionaries,
would xrecords in an extension dictionary attached to layer 0 be a viable
approach?

pros/cons?

thanks
mark


"mp" wrote in message
news:6293457@discussion.autodesk.com...
I've searched the acad docs online
(http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html)
I don't see any topics on how to create and read any of the 3 above
mentioned objects.

I searched this group via the web interface and get 6 hits on xdata, none of
which show how to create it.
i searched this group on xrecord and got 2 hits neither which showed how to
create or read xrecord

i searched this group on extension dictionary and get 25 hits, none of which
show how to create/read

am i missing something about searching on the web interface for acad
discussion groups?
I'm surprised not to find some hits with the actual info in them?

So if i want to save and retrieve persistent(over multiple sessions) info in
acad dwg, what is best way?
save extension dict on layer 0?
create named dict in nod ?
other?
i know xdata on objects isn't the best for a variety of reasons, but i have
to convert an existing app that uses xdata to something more "cool"
:-)

thanks
mark
Message 6 of 6
Anonymous
in reply to: Anonymous

Excellent point (as always)
Do you happen to have a link handy where i could review the alternate
behaviour for those forms of storage?
thanks
mark

"Tony Tanzillo" wrote in message
news:6294037@discussion.autodesk.com...
It depends on what you want to happen when a user does a WBLOCK (full or
partial), and whether you want some/all of your dictionary content to be
cloned to the destination database.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

"mp" wrote in message
news:6293462@discussion.autodesk.com...
finally found the net labs i saw mentioned
lab 4 seems to have some xrecord stuff in a nod, just briefly looked at the
doc file so far.
is creating an "app specific" dictionary on the nod better than attaching an
ext dict on layer 0 for example?
thanks
mark

"mp" wrote in message
news:6293460@discussion.autodesk.com...
i didn't notice the date was filtering for last 90 days only
reset it to all and found a lot of hits on extension dict
wading through many have yet to find a simple clear example of
creating/reading
xrecords on extension dictionaries on objects

if i want to store the equivalent of a sorted dictionary full of sorted
dictionaries,
would xrecords in an extension dictionary attached to layer 0 be a viable
approach?

pros/cons?

thanks
mark


"mp" wrote in message
news:6293457@discussion.autodesk.com...
I've searched the acad docs online
(http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html)
I don't see any topics on how to create and read any of the 3 above
mentioned objects.

I searched this group via the web interface and get 6 hits on xdata, none of
which show how to create it.
i searched this group on xrecord and got 2 hits neither which showed how to
create or read xrecord

i searched this group on extension dictionary and get 25 hits, none of which
show how to create/read

am i missing something about searching on the web interface for acad
discussion groups?
I'm surprised not to find some hits with the actual info in them?

So if i want to save and retrieve persistent(over multiple sessions) info in
acad dwg, what is best way?
save extension dict on layer 0?
create named dict in nod ?
other?
i know xdata on objects isn't the best for a variety of reasons, but i have
to convert an existing app that uses xdata to something more "cool"
:-)

thanks
mark

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report