What are you trying to do?

The first line would query for file names that are already in your scene.
If the file is already opened, you cannot import itself as reference.


On Sat, Aug 25, 2012 at 2:03 PM, sab <[email protected]> wrote:

>
>> not working
>>
>>
>
>   i tried some thing like this
>
> from maya import cmds
>
> getAllRef=cmds.file(q=True,l=True)
>
> for all in getAllRef:
>
>    cmds.file(all, ir=True)
>
>
>
>
>
> i am getting this error
>
>
>
> # Error: RuntimeError: The specified reference file cannot be imported. #
>
>  --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to