-
Hello all, I am adding some meta data writing to the maya usd writer ( I realize I could do that in a python chaser, but I am customizing this code already anyway, so might as well do it here. Two of the things I would like to write to the usd file are the maya version that was used and the path of the scene file that was exported from. from writeJob.cpp, UsdMaya_WriteJob::_FinishWriting() is there an easy way to get both of these? thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@koen-v Not sure I understand why where it happens (i.e. in |
Beta Was this translation helpful? Give feedback.
@koen-v Not sure I understand why where it happens (i.e. in
UsdMaya_WriteJob::_FinishWriting()
is important, but couldn't you rely onMFileIO::currentFile
andMGlobal::apiVersion
(and the other Maya version-related functions inMGlobal
) to get this information?