_UNKNOWN_REFERENCE_NODE_

조회수 753회
읽지 않은 첫 메시지로 건너뛰기

Daniel

읽지 않음,
2016. 10. 17. 오후 8:17:2716. 10. 17.
받는사람 Python Programming for Autodesk Maya
Hi,

I was wondering the _UNKNOWN_REFERENCE_NODE_ gets created. The node is usually attached to other reference nodes and I could delete it or filter it by using maya.cmds.ls(references=True) but I cannot reconstruct how the node gets created. Same goes for the sharedReferenceNode.

Any input on this is highly appreciated.

Thanks,

Daniel

likage

읽지 않음,
2016. 10. 17. 오후 8:38:4516. 10. 17.
받는사람 Python Programming for Autodesk Maya
It is possible that your scene is using broken reference, references that have been deleted/renamed etc...

Daniel

읽지 않음,
2016. 10. 17. 오후 8:55:5916. 10. 17.
받는사람 Python Programming for Autodesk Maya
All references are working fine. Theres no errors in the scene yet I do have the 'special' reference nodes. As I said: I can work around the nodes but I am curious about how they get created.

From the maya cmds ls docs:

references(rf)

boolean create

List references associated with files. Excludes special reference nodes such as the sharedReferenceNode and unknown reference nodes.

Daniel

읽지 않음,
2016. 10. 17. 오후 8:58:2216. 10. 17.
받는사람 Python Programming for Autodesk Maya
http://help.autodesk.com/view/MAYAUL/2017/ENU/?guid=GUID-A517002F-9B10-4AD2-8848-AB233E2B559F

thats all I can find but I definitely don`t have any references from Maya 6.5 or prior in the scene.

Neil Roche

읽지 않음,
2016. 10. 19. 오전 7:43:2916. 10. 19.
받는사람 Python Programming for Autodesk Maya
It might be where a reference file has a node from a plug-in which the file that contains the reference doesn't have.  The file still has to create a node but as it doesn't have access to the plug-in it creates this UNKNOWN_REFERENCE_NODE instead.

Daniel

읽지 않음,
2016. 10. 19. 오후 3:24:2616. 10. 19.
받는사람 Python Programming for Autodesk Maya
Hi Neil,

thats exactly it and it lets me recreate the issue. Thanks. Do you know on how to create sharedReference node aswell?

Thanks,

Daniel

Daniel

읽지 않음,
2016. 10. 19. 오후 7:26:0416. 10. 19.
받는사람 Python Programming for Autodesk Maya
If anyone is interested: sharedReference nodes only get created when the flag "sharedNodes" (with 'displayLayers', 'shadingNetworks', 'renderLayersByName', or 'renderLayersById') and the references use the same data.
전체답장
작성자에게 답글
전달
새 메시지 0개