Go to the documentation of this file.
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);
40 bool is_valid()
const;
DistanceUnit get_units()
Returns Maya's internal units in effect.
A base class for all things that want to be reference-counted.
bool write(const Filename &filename)
Writes the global model space to the indicated file.
void set_units(DistanceUnit unit)
Set Maya's UI units.
bool read(const Filename &filename)
Reads the indicated maya file into the global model space.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
bool clear()
Resets the global model space to the empty state, for instance in preparation for building a new file...
CoordinateSystem get_coordinate_system()
Returns Maya's internal coordinate system in effect.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class presents a wrapper around the global Maya interface.
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.
The name of a file, such as a texture file or an Egg file.