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

Xdata

0 views
Skip to first unread message

perry

unread,
May 13, 1999, 3:00:00 AM5/13/99
to
How can I determine if a piece of xdata is somehow "bound" to the drawing or entity through ACIS or some other invisible
object??? i.e., how can I safely delete xdata without getting an error message that it is referenced by some other object...

Muchos gracious!

Dietmar Rudolph

unread,
May 14, 1999, 3:00:00 AM5/14/99
to
On Thu, 13 May 1999 06:26:41 GMT, pe...@ptinet.net (perry) wrote:

>How can I determine if a piece of xdata is somehow "bound" to the drawing or entity through ACIS or some other invisible
>object??? i.e., how can I safely delete xdata without getting an error message that it is referenced by some other object...

Perry,

can you give us an example of what you want to do and why it doesn't
work?

Xdata is always linked to one specific object in the drawing. (Any
object, including symbol table records and such.)

Xdata may reference a second object by its handle, but the xdata
itself is never referenced and therefore can be deleted always.


Dietmar Rudolph

CR/LF GmbH, http://www.crlf.de
CADLock, Inc. Europe, http://www.cadlock.com
Member of the Autodesk Discussion Forum Moderator Program

perry

unread,
May 14, 1999, 3:00:00 AM5/14/99
to
For example I have a simple MDT drawing, a washer, created by a third party program. Attached to it is some xdata which is kinda hosing up
my BOM database, overriding my description fields, etc.
When I delete the xdata however the washer disappears!

Also I want to check the "APPID" table and delete any APPID's that are not in use, but I dont know how to determine if an APPID is being referenced somewhere
in the drawing...

Dietmar Rudolph

unread,
May 26, 1999, 3:00:00 AM5/26/99
to
On Fri, 14 May 1999 14:18:34 GMT, pe...@ptinet.net (perry) wrote:

>For example I have a simple MDT drawing, a washer, created by a third party program. Attached to it is some xdata which is kinda hosing up
>my BOM database, overriding my description fields, etc.
>When I delete the xdata however the washer disappears!

How do you delete the xdata? Unless there is an application running
which catches the xdata remove and deletes the corresponding object,
deleting the xdata (and not the object it is attached to) will not
remove the object itself.

>Also I want to check the "APPID" table and delete any APPID's that are not in use, but I dont know how to determine if an APPID is being referenced somewhere
>in the drawing...

The records in the APPID table and in any other table have an in-use
bit (in LISP/DXF: group 70, bit 7 = 64). Unfortunately AutoCAD is
known to be unreliable with this bit. It may be set even though no
object references the table record. I haven't checked lately if the
in-use bit now works correctly with APPID.

0 new messages