Hi Giri, See ptII/ptolemy/domains/sdf/demo/Butterfly/Butterfly.java That class extends TypedCompositeActor
You can invoke that model with: "$(JAVA)" ptolemy.actor.gui.CompositeActorApplication -class ptolemy.domains.sdf.demo.Butterfly.Butterfly CompositeActorApplication instantiates the named class runs it. I don't think we have a Ptolemy configuration that is headless. By Ptolemy configuration, I mean a set of .xml files that configures Ptolemy to handle models in specific ways. The Ptolemy configurations are primarily for determining how a model is displayed and what menu choices are present in the UI. _Christopher -------- Hey Christopher, I'd like to instantiate a headless Ptolemy (no UI) with an empty configurat ion and model (or better yet, a null model). I'd like to create a TypedCompo siteActor and all all the Actors I require dynamically and programmatically. How can I go about doing this? I've started by subclassing MoMLApplication. I suspect I need to override createDefault/EmptyConfiguration. Thanks, Giridhar "Giri" Sreenivas Software Engineer - Modeling, Simulation and Information Sciences Advanced Technology Center Lockheed Martin - Space Systems Company B/153 2K4 Phone: (408) 742-5914 [EMAIL PROTECTED] -------- ---------------------------------------------------------------------------- Posted to the ptolemy-hackers mailing list. Please send administrative mail for this list to: [EMAIL PROTECTED]