|
You can use either of the following:
|
MENull forAll (MENull receiver, string forAll, string run)
|
For all graphs whose type name matches the forAll wildcard argument, run the generator named run.
|
|
MENull forName (MENull receiver, string forName, string type, string run)
|
For all graphs whose name matches the forName wildcard argument, and whose type matches the type wildcard argument, run the generator named run. |
The MENull receivers are because these are based on command line operations, which have no receiver. E.g. in Java (where receiver parameters come before the method name) you might have: com.metacase.MENull meNull = new com.metacase.MENull();
meNull.forName("2008Models", "WatchFamily", "Autobuild"); meNull.forAll("Watch*", "Export graph to HTML");
All the other command line operations can be used as API methods too. This nicely integrates the three MetaEdit+ automation facilities: http://www.metacase.com/support/45/manuals/mwb/Mw-5_3.html - generators , http://www.metacase.com/support/45/manuals/mwb/Mw-8.html - API , and http://www.metacase.com/support/45/manuals/mwb/Mw-9.html - command line , all of which can start each other. When command line operations are used as API methods, the method name is the command line parameter up to the first colon (e.g. forAll:run: becomes forAll). The receiver is always an MENull, any arguments are strings, and the return value is always an MENull. If you look in the WSDL saved from the http://www.metacase.com/support/45/manuals/meplus/Mp-5_4_1.html - API Tool , you can find the command line API message definitions on lines 777-923, and the operations on lines 1455-1559.
|