Well if you like your MB and your current json/xml file solution but just
want them tied together so they don't get disconnected you may want to
consider just using a .zip to bind them. Uncompressed they can be very fast
and you can access files directly (to query your metadata etc) without
having to extract the zip with python. You'll just need a bit of code to
enable opening/saving them back together.

https://docs.python.org/2/library/zipfile.html

Ian
On Sun, Feb 11, 2018, 8:34 PM AK Eric <[email protected]> wrote:

> Marcus:  MA not an option, so no comment blocks, but thanks, good idea.
> However, I like your idea of just writing data to somewhere on the server
> that corresponds to the Maya file in question.  That could be a legit
> answer.  not tagging the file with metadata itself, but the data isn't
> living next to the Maya file itself, which I find scary :P
>
> Juan:  Your thought has merit, and technically I could do it with a
> pre-scene-open callback.  Would be worth a test to prove out, but it's a
> little scary that unless that callback fires, your scene is garbage.
> However, it does make for an interesting way to copy-protect in-house
> data....
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/4485d4ba-a768-4116-a1da-87445e01da69%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/4485d4ba-a768-4116-a1da-87445e01da69%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAL6_5Q_HHnsEY74HbZhZnpMZ_v%3D12MHFoRB6E1rz%2B8bW9CEYLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to