Can someone please point me to any documented examples, or help me with the following?

I would like to populate a UML Package Tree using macros, and have found that there is an method in the Uml Object Model, namely metamodel.UmlElementFactory.createPackage that looks like a contender.  How does one call it from within the macro?  I think I'm grappling with Aris Scripts' namespace references.

Also is there a way to direct macro output to a log or java console?

Many thanks.

Tags: macro ARIS script