MSyntax AbcImport::createSyntax() { MSyntax syntax; syntax.addFlag("-d", "-debug", MSyntax::kNoArg); syntax.addFlag("-ftr", "-fitTimeRange", MSyntax::kNoArg); syntax.addFlag("-h", "-help", MSyntax::kNoArg); syntax.addFlag("-m", "-mode", MSyntax::kString); syntax.addFlag("-rcs", "-recreateAllColorSets", MSyntax::kNoArg); syntax.addFlag("-ct", "-connect", MSyntax::kString); syntax.addFlag("-crt", "-createIfNotFound", MSyntax::kNoArg); syntax.addFlag("-rm", "-removeIfNoUpdate", MSyntax::kNoArg); syntax.addFlag("-rpr", "-reparent", MSyntax::kString); syntax.addFlag("-sts", "-setToStartFrame", MSyntax::kNoArg); syntax.addFlag("-ft", "-filterObjects", MSyntax::kString); syntax.addFlag("-eft", "-excludeFilterObjects", MSyntax::kString); syntax.addArg(MSyntax::kString); syntax.enableQuery(true); syntax.enableEdit(false); return syntax; }
MSyntax viewCallbackTest::newSyntax() { MSyntax syntax; syntax.addFlag(bufferOperationShortName, bufferOperationLongName, MSyntax::kString); // Name of model panel to monitor // syntax.addArg(MSyntax::kString); return syntax; }
MSyntax liqWriteArchive::syntax() { MSyntax syn; syn.addArg(MSyntax::kString); // object name syn.addArg(MSyntax::kString); // RIB output filename syn.addFlag("rt", "rootTransform"); syn.addFlag("ct", "childTransforms"); syn.addFlag("b", "binary"); syn.addFlag("d", "debug"); return syn; }
//-***************************************************************************** MSyntax AbcExport::createSyntax() { MSyntax syntax; syntax.addFlag("-v", "-verbose", MSyntax::kNoArg); syntax.addFlag("-h", "-help", MSyntax::kNoArg); syntax.addFlag("-fs", "-frameStart", MSyntax::kLong); syntax.addFlag("-fe", "-frameEnd", MSyntax::kLong); syntax.addArg(MSyntax::kString); syntax.enableQuery(true); syntax.enableEdit(false); return syntax; }
MSyntax AbcExport::createSyntax() { MSyntax syntax; syntax.addFlag("-d", "-debug", MSyntax::kNoArg); syntax.addFlag("-h", "-help", MSyntax::kNoArg); syntax.addFlag("-sa", "-startAt", MSyntax::kDouble); syntax.addFlag("-sf", "-skipFrame", MSyntax::kNoArg); syntax.addFlag("-sl", "-selection", MSyntax::kNoArg); syntax.addArg(MSyntax::kString); syntax.enableQuery(true); syntax.enableEdit(false); return syntax; }
MSyntax boingRbCmd::cmdSyntax() { MSyntax syntax; syntax.enableQuery(false); syntax.enableEdit(false); syntax.addFlag("-h", "-help"); syntax.addFlag("-set", "-setAttr", MSyntax::kString); syntax.addArg(MSyntax::kString); syntax.addFlag("-get", "-getAttr", MSyntax::kString); syntax.addArg(MSyntax::kString); syntax.addFlag("-add", "-addAttr", MSyntax::kString); syntax.addArg(MSyntax::kString); syntax.addFlag("-cr", "-create", MSyntax::kString); syntax.addArg(MSyntax::kString); syntax.addFlag("-del", "-delete", MSyntax::kString); syntax.addArg(MSyntax::kString); syntax.addFlag("-typ", "-type", MSyntax::kString); syntax.addArg(MSyntax::kString); syntax.addFlag("-ex", "-exists", MSyntax::kString); syntax.addArg(MSyntax::kString); syntax.addFlag("-ae", "-attributeExist", MSyntax::kString); syntax.addArg(MSyntax::kString); syntax.addFlag("-val", "-value");//, MSyntax::kDouble, MSyntax::kDouble, MSyntax::kDouble, MSyntax::kString, MSyntax::kLong ); //syntax.addFlag("-val", "-value", MSyntax::kString); //syntax.addFlag("-val", "-value", MSyntax::kLong); syntax.addArg(MSyntax::kString); syntax.addArg(MSyntax::kLong); syntax.addArg(MSyntax::kDouble); return syntax; }