32 MayaApi(
const std::string &program_name,
bool view_license =
false,
bool revertdir =
true);
34 void operator = (
const MayaApi ©);
39 static PT(
MayaApi) open_api(std::string program_name =
"",
bool view_license =
false,
bool revertdir =
true);
The name of a file, such as a texture file or an Egg file.
This class presents a wrapper around the global Maya interface.
void set_units(DistanceUnit unit)
Set Maya's UI units.
CoordinateSystem get_coordinate_system()
Returns Maya's internal coordinate system in effect.
static PT(MayaApi) open_api(std bool is_valid() const
Returns true if the API has been successfully opened and may be used, or false if there is some probl...
bool clear()
Resets the global model space to the empty state, for instance in preparation for building a new file...
DistanceUnit get_units()
Returns Maya's internal units in effect.
bool write(const Filename &filename)
Writes the global model space to the indicated file.
bool read(const Filename &filename)
Reads the indicated maya file into the global model space.
A base class for all things that want to be reference-counted.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
DistanceUnit
This enumerated type lists all the kinds of units we're likely to come across in model conversion pro...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.