PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "mayaApi.h"#include "config_maya.h"#include "string_utils.h"#include "thread.h"#include "pre_maya_include.h"#include <maya/MGlobal.h>#include <maya/MDistance.h>#include <maya/MFileIO.h>#include <maya/MLibrary.h>#include <maya/MStatus.h>#include <maya/MFnAnimCurve.h>#include "post_maya_include.h"Go to the source code of this file.
Functions | |
| PT (MayaApi) MayaApi | |
| Opens the Maya API, if it is not already open, and returns a pointer representing this connection. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file mayaApi.cxx.
| PT | ( | MayaApi | ) |
Opens the Maya API, if it is not already open, and returns a pointer representing this connection.
When you are done using the Maya API, let the pointer destruct.
If program_name is supplied, it is passed to Maya as the name of the currently-executing program. Otherwise, the current program name is extracted from the execution environment, if possible. The special program_name "plug-in" is used for code that is intended to be invoked as a plug-in only; in this case, the maya library is not re-initialized.
Definition at line 144 of file mayaApi.cxx.
References string_to_int(), and trim().
1.8.15