Hi Marcus, Just a quick note about the fileNames attribute. It's actually obsolete and hasn't been used since Maya 6.0. It was only kept around for backwards compatibility. After Maya 6.5, reference paths are only accessible via the referenceQuery and the file command. Other attributes that are not used anymore include connectionList, setAttrList, addAttrList, deleteAttrList, brokenConnectionList, parentList, edits and multiParentList. placeHolderList is still used, though. It looks like the node docs don't really state this, but they totally should!
Just FYI, Sivanny On Wednesday, August 12, 2015 at 12:12:17 AM UTC-7, Marcus Ottosson wrote: > > What’s more, it doesn’t look like reference nodes contain their > unresolved filename, maybe this is resolved by the editor itself? > > # Always returns a resolved path? > cmds.getAttr("ben02_RN.fileNames[0]") > > -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/471b115e-6e9e-4a3b-bdf1-4ca0dc2d44b0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.