Skip to content
Discussion options

You must be logged in to vote

Discard XDATA for AppID "SOMETEXT" in all entities:

for entity in doc.entitydb.values():
    entity.discard_xdata("SOMETEXT")

This method discards only the XDATA for the given AppID, it's possible to delete all XDATA, but this is not recommended because also AutoCAD stores important information in the XDATA section by multiple AppIDs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@f0rme
Comment options

Answer selected by f0rme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants