[kepler-users] CompositeActor WorkFlow

Chad Berkley berkley at nceas.ucsb.edu
Mon May 15 08:16:39 PDT 2006


Hi Mohana,

Glad it worked.  The reason the new actor shows up in two places is 
because the code doesn't remove the existing semantic type when you tell 
it where in the tree you want it.  It probably should.  You're right 
that I actually mean CompositeActor.  Thanks for the clarification.

chad

Mohana Ramaratnam wrote:
> Hi Chad,
> 
> Yes that helped, however, the first time that i saved my workflow as a 
> composite actor under a category, the new actor was visible only under 
> that category. When I restart kepler, the new actor seems to appear 
> under the category of my selection and as well as at the root of the 
> actor tree parallel to the CompositeActor.
> 
> PS: I couldnt search of a TypedCompositeActor as you mentioned, assumed 
> you were referring to the CompositeActor.
> 
> Mohana
> 
> Chad Berkley wrote:
> 
>> Hi Mohana,
>>
>> One way to do this is to open a blank workflow window, and drag 
>> TypedCompositeActor from the tree onto the new workflow window.  Then 
>> right click on that actor and choose "open actor."  you should then 
>> have a workflow screen open that represents the contents of your new 
>> composite.  Then open your workflow, copy the contents of the workflow 
>> by hightlighting all the components and doing ctrl-c, then paste the 
>> contents into the window that represents the composite actor.  You 
>> should then have the contents of your workflow in a composite that you 
>> can save to the library (i.e. rt. click and choose "save to library" 
>> which will create a kar file for the composite and put it in the 
>> library tree).
>>
>> hope that helps.  let me know if you need more help.
>>
>> chad
>>
>> Mohana Ramaratnam wrote:
>>
>>> Hello,
>>>
>>> I have created a workflow which I want to save as a composite actor 
>>> and then use it with the IterateOverArray actor 
>>> (ptolemy.actors.lib.hoc.IterateOverArray).
>>>
>>> I can instantiate the IterateOverArray as a component, but how do I 
>>> save the composite actor so that i can either instantiate it or have 
>>> it visible in the kepler ontology. .
>>>
>>> Mohana
>>> _______________________________________________
>>> Kepler-users mailing list
>>> Kepler-users at ecoinformatics.org
>>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users 
>>>
>>
>>
>>
> 


More information about the Kepler-users mailing list