Oh, that's an interesting note, thanks for sharing Sivanny. So, how would one access the path from a reference node? Is the information not stored in the node at all? Where is it stored?
On 12 August 2015 at 17:27, Sivanny Selvakumar <sivanny.selvaku...@gmail.com > wrote: > 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 > <https://groups.google.com/d/msgid/python_inside_maya/471b115e-6e9e-4a3b-bdf1-4ca0dc2d44b0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- *Marcus Ottosson* konstrukt...@gmail.com -- 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/CAFRtmOB7TvY%2B7GsfagJE-t%2BS6d%3Daww_M1Z1Bj6Eyayx3KrVxjQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.