Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Unique and Persistent Identifier for a Rhino Document

$
0
0

Hello

Is there a unique and persistent identifier for a Rhino document in C#?

I want to store information about 3DM files in a database.
Currently, the only value that allows me to uniquely identify a document is its path on the file system, but the problem arises when the file is moved or renamed.
I was thinking of using the RhinoDoc.DocumentId property, but it is obsolete, and it is suggested to use RhinoDoc.RuntimeSerialNumber, which is not persistent between Rhino sessions.

Thank you, jmv.

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles