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.
On Wednesday, 19 October 2016 15:24:26 UTC-4, Daniel wrote:
>
> 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
> On Wednesday, 19 October 2016 07:43:29 UTC-4, Neil Roche wrote:
>>
>> 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.
>>
>> On Tuesday, 18 October 2016 01:58:22 UTC+1, Daniel wrote:
>>>
>>>
>>> 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.
>>> On Monday, 17 October 2016 20:55:59 UTC-4, Daniel wrote:
>>>>
>>>> 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* [image: create] 
>>>>
>>>> List references associated with files. Excludes special reference nodes 
>>>> such as the sharedReferenceNode and unknown reference nodes.
>>>> On Monday, 17 October 2016 20:38:45 UTC-4, likage wrote:
>>>>>
>>>>> It is possible that your scene is using broken reference, references 
>>>>> that have been deleted/renamed etc...
>>>>>
>>>>> On Monday, October 17, 2016 at 5:17:27 PM UTC-7, Daniel wrote:
>>>>>>
>>>>>> 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
>>>>>>
>>>>>

-- 
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/f13a96ad-9f89-4a32-9e4c-949c699f2db1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to