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;
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 write(const Filename &filename)
Writes the global model space to the indicated file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
DistanceUnit get_units()
Returns Maya's internal units in effect.
bool clear()
Resets the global model space to the empty state, for instance in preparation for building a new file...
DistanceUnit
This enumerated type lists all the kinds of units we're likely to come across in model conversion pro...
The name of a file, such as a texture file or an Egg file.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for all things that want to be reference-counted.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
CoordinateSystem get_coordinate_system()
Returns Maya's internal coordinate system in effect.
This class presents a wrapper around the global Maya interface.