CADsite forum

AutoCAD => AutoCAD probleem => Topic gestart door: Markske op vr 10 11 2006, 09:15:40

Titel: XDATA
Bericht door: Markske op vr 10 11 2006, 09:15:40
Hoi,

is er hier iemand die al enige ervaring(en) heeft met het commando XDATA (Express Tools)???

Groetjes,
Markske
Titel: Re: XDATA
Bericht door: HofCAD op vr 10 11 2006, 15:20:34
Citaat van: Markske op vr 10 11 2006, 09:15:40
Hoi,

is er hier iemand die al enige ervaring(en) heeft met het commando XDATA (Express Tools)???

Groetjes,
Markske

Beste Markske,

Ik heb ooit iets gedaan met XDATA. :oops:
http://www.autocadexchange.com/forum/list_messages/682
http://www.cadsite.be/smf/index.php/topic,772.0.html
Maar wat wil je eigenlijk precies weten?

Met vriendelijke groet,
HofCAD CSI

PS Hoe gaat het met het importeren van Excel-sheets in een ACAD-tekening via DBCONNECT?
Titel: Re: XDATA
Bericht door: Markske op di 14 11 2006, 13:03:01
Citaat van: HofCAD op vr 10 11 2006, 15:20:34
Beste Markske,

Ik heb ooit iets gedaan met XDATA. :oops:
http://www.autocadexchange.com/forum/list_messages/682
http://www.cadsite.be/smf/index.php/topic,772.0.html
Maar wat wil je eigenlijk precies weten?

Met vriendelijke groet,
HofCAD CSI

PS Hoe gaat het met het importeren van Excel-sheets in een ACAD-tekening via DBCONNECT?

Beste HofCAD,

het importeren van die Excel-sheets via DBCONNECT lukt nog niet helemaal, en ik krijg spijtig genoeg helemaal geen tijd om me hierin te verdiepen  :(
maar we doen ons best  :wink:

de reden dat ik meer uitleg vraag over XDATA is eerst en vooral dat AutoCAD-Express Tools Hulp heel karig is met z'n info over dit onderwerp.
graag zou ik data willen koppelen aan bv. een polylijn...
een voorbeeldje: momenteel ben ik bezig met het intekenen van ondergrondse infra. (water, riolering, elektra, dat, enz...)
zo heb ik bv. een sleuf met daarin verschillende van die nutsvoorzieningen. Die sleuf wou ik graag intekenen als één polylijn met daaraan gekoppeld wat er eigelijk allemaal in die sleuf ligt.
(dit is al een beetje het begin... ik hoop dat je me een beetje kan volgen???)

groetjes,
Markske
Titel: Re: XDATA
Bericht door: HofCAD op di 14 11 2006, 19:28:07
Citaat van: Markske op di 14 11 2006, 13:03:01

Beste HofCAD,

het importeren van die Excel-sheets via DBCONNECT lukt nog niet helemaal, en ik krijg spijtig genoeg helemaal geen tijd om me hierin te verdiepen  :(
maar we doen ons best  :wink:

de reden dat ik meer uitleg vraag over XDATA is eerst en vooral dat AutoCAD-Express Tools Hulp heel karig is met z'n info over dit onderwerp.
graag zou ik data willen koppelen aan bv. een polylijn...
een voorbeeldje: momenteel ben ik bezig met het intekenen van ondergrondse infra. (water, riolering, elektra, dat, enz...)
zo heb ik bv. een sleuf met daarin verschillende van die nutsvoorzieningen. Die sleuf wou ik graag intekenen als één polylijn met daaraan gekoppeld wat er eigelijk allemaal in die sleuf ligt.
(dit is al een beetje het begin... ik hoop dat je me een beetje kan volgen???)

groetjes,
Markske


Beste Markske,

Inderdaad staat er niet veel, maar heb je ook op andere plaatsen in de Help gekeken?
Heb je ook mijn programma bestudeerd?

Met Vriendelijke groet,
HofCAD CSI.


Extended data group codes and descriptions

Entity name    Group code Description

String         1000       Strings in extended data can be up to 255 bytes long
                          (with the 256th byte reserved for the null character)

Application    1001       also a string value
name                      Application names can be up to 31 bytes long
                          (the 32nd byte is reserved for the null character)
                          Note Do not add a 1001 group into your extended data
                          because AutoCAD assumes it is the beginning of a new
                          application extended data group

Control string 1002      An extended data control string can be either “{”or “}”.
                         These braces enable applications to organize their data
                         by subdividing the data into lists.
                         The left brace begins a list, and the right brace terminates
                         the most recent list.
                         Lists can be nested
                         When AutoCAD reads the extended data for a particular application,
                         it checks to ensure that braces are balanced

Layer name    1003       Name of the layer associated with the extended data

Binary data   1004       Binary data is organized into variable-length chunks.
                         The maximum length of each chunk is 127 bytes.
                         In ASCII DXF files, binary data is represented as a string
                         of hexadecimal digits, two per binary byte

Database      1005       Handles of entities in the drawing database
handle                   Note When a drawing with handles and extended data handles
                         is imported into another drawing using INSERT, INSERT *,
                         XREF Bind, XBIND, or partial OPEN, the extended data handles
                         are translated in the same manner as their corresponding entity
                         handles, thus maintaining their binding.
                         This is also done in the EXPLODE block operation or for any other
                         AutoCAD operation.
                         When AUDIT detects an extended data handle that doesn't match the
                         handle of an entity in the drawing file, it is considered an error.
                         If AUDIT is fixing entities, it sets the handle to 0

3 reals      1010,       Three real values, in the order X, Y, Z.
             1020,       They can be used as a point or vector record.
             1030        AutoCAD never alters their value

World space  1011,       Unlike a simple 3D point, the world space coordinates are moved,
position     1021,       scaled, rotated, and mirrored along with the parent entity to
             1031        which the extended data belongs.
                         The world space position is also stretched when the STRETCH command
                         is applied to the parent entity and this point lies within the
                         select window

World space  1012,       Also a 3D point that is scaled, rotated, and mirrored along
displacement 1022,       with the parent (but is not moved or stretched)
             1032


World        1013,       Also a 3D point that is rotated and mirrored along with the parent
direction    1023,       (but is not moved, scaled, or stretched)
             1033

Real         1040        A real value

Distance     1041        A real value that is scaled along with the parent entity

Scale factor 1042        Also a real value that is scaled along with the parent.
                         The difference between a distance and a scale factor is application-defined

Integer      1070        A 16-bit integer (signed or unsigned)

Long         1071        A 32-bit signed (long) integer