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

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.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 4171

Latest Images

Trending Articles



Latest Images