Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$FINGERPRINTGUID and $VERSIONGUID changes at loading #729

Closed
mozman opened this issue Aug 11, 2022 Discussed in #728 · 2 comments
Closed

$FINGERPRINTGUID and $VERSIONGUID changes at loading #729

mozman opened this issue Aug 11, 2022 Discussed in #728 · 2 comments

Comments

@mozman
Copy link
Owner

mozman commented Aug 11, 2022

Discussed in #728

Originally posted by chrmangold August 10, 2022
Hi!

I want to know if the following is an intended behaviour of ezdxf package.

# open a simple dxf file (eg. acad_table_simple.dxf)
doc = ezdxf.readfile(dxf_path)

# then print special header variables
print(doc.header['$FINGERPRINTGUID'])
print(doc.header['$VERSIONGUID'])

valid uuids will be printed out.
But - one can find the values in the dxf file. The printed uuids are not identical to the ones in the dxf file

And - each time I restart this snippet I get different uuids printed out.

For me it seems like an unwanted situation, but I am not quite sure about that.

I need to be able to identify one drawing out of some attributes.
So what is the best way to achieve this goal?

Thanks for any suggestions,

Chris

mozman added a commit that referenced this issue Aug 11, 2022
$FINGERPRINTGUID is never changed after document creation.
$VERSIONGUID changes as every export.
@mozman
Copy link
Owner Author

mozman commented Aug 11, 2022

The indented behavior is:

  • $FINGERPRINTGUID never changes after document creation
  • $VERSIONGUID changes at every export

That's fixed now.

@chrmangold
Copy link

Thank you very much for this nearly immediate response and fix.

@mozman mozman closed this as completed Aug 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants