Like this?
cmds.file("/path/to/file.mb", i=True, namespace="new_namespace", pr=True,
loadReferenceDepth="all")
The docs for the file command are here:
http://download.autodesk.com/global/docs/maya2012/en_us/CommandsPython/file.html
On Fri, Aug 24, 2012 at 1:34 AM, sab <[email protected]> wrote:
> I need to import referenced maya file using python
>
> my scene is 3 level referenced
>
> is it any method in normal maya py or pymel
>
>
>
>
>
> --
> 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