Search found 15 matches

by apmoorepa
Fri Dec 21, 2018 6:20 pm
Forum: Ventity
Topic: multiple variables in sliders
Replies: 4
Views: 4808

Re: multiple variables in sliders

Oh yes, I see how that works now. My model has numerous model parameters, so handling multiple variables on a single multi-slider bar would significantly improve my model interface. Thanks for considering in a future update!
by apmoorepa
Fri Dec 21, 2018 4:23 pm
Forum: Ventity
Topic: multiple variables in sliders
Replies: 4
Views: 4808

multiple variables in sliders

Thanks for the upgrades in the new 2.0.1 release! I noticed in the graphic in the release announcement that the Resources multi-slider has several variables listed. I have never been able to use the multi-slider for more than one variable. Is that possible? I had been a assuming that was just a limi...
by apmoorepa
Thu Aug 23, 2018 3:56 pm
Forum: Ventity
Topic: bags in Ventity?
Replies: 10
Views: 8344

Re: bags in Ventity?

This worked brilliantly. Thanks Tom. I think I finally understand the full value of the IsNull built-in function for this purpose.
by apmoorepa
Thu Aug 16, 2018 12:23 pm
Forum: Ventity
Topic: bags in Ventity?
Replies: 10
Views: 8344

Re: bags in Ventity?

Great to hear! I don't think I need to delete relationships. Do you have a test model or a structure for how it can work?
by apmoorepa
Wed Aug 15, 2018 2:47 pm
Forum: Ventity
Topic: bags in Ventity?
Replies: 10
Views: 8344

Re: bags in Ventity?

Yes, that is right.
by apmoorepa
Wed Aug 15, 2018 2:12 pm
Forum: Ventity
Topic: bags in Ventity?
Replies: 10
Views: 8344

Re: bags in Ventity?

If I am understanding your question correctly, I believe that it has to be remembered across time steps. Going back to the model that you sent me in a previous post, which I've attached, it would be as if you wanted to never pick the same vendor twice (via the PickVendor action) RandomizeCreateAttri...
by apmoorepa
Wed Aug 15, 2018 1:25 pm
Forum: Ventity
Topic: bags in Ventity?
Replies: 10
Views: 8344

bags in Ventity?

I have a need to sequentially select randomly from a collection of entities where subsequent selections can no longer select entities that were previously selected (like pulling objects from a bag, the objects no longer exist for future selection). I recognize that the process list action can be use...
by apmoorepa
Wed Aug 15, 2018 1:13 pm
Forum: Ventity
Topic: setting an attribute in a create action
Replies: 15
Views: 11914

Re: setting an attribute in a create action

Tom pointed out that Ventity 2.0 (partially) resolves the issue with the if then elseif statements in setting an attribute in a create action. You just need to use the IFTHENELSE() construct instead of the if () {} else {}. Thanks for the fix!
by apmoorepa
Mon Jun 18, 2018 9:48 pm
Forum: Ventity
Topic: setting an attribute in a create action
Replies: 15
Views: 11914

Re: setting an attribute in a create action

Ok - thanks. I’ll send the full model to Ventity.biz for a possible workaround. I’ll report out any findings in this forum. Sorry I can’t post the full model to this public forum - just a policy of my employing organization.
by apmoorepa
Sat Jun 16, 2018 2:41 pm
Forum: Ventity
Topic: setting an attribute in a create action
Replies: 15
Views: 11914

Re: setting an attribute in a create action

RandomizeCreateAttrib3.zip I'm having a problem with using if-then-else statements in actions when assigning the new value for an attribute. Ventity is giving me an error. I used the model that Tom sent in this thread previously to illustrate this problem - in the pickVendor action. Just setting th...
by apmoorepa
Mon Jun 11, 2018 11:50 pm
Forum: Ventity
Topic: setting an attribute in a create action
Replies: 15
Views: 11914

Re: setting an attribute in a create action

You are quite right. I thought you had to use no data if you did not use any data from tables. Good lesson that there is a difference between no data and using a table with no data. That fixed my problem. Thank you!
by apmoorepa
Mon Jun 11, 2018 8:16 pm
Forum: Ventity
Topic: setting an attribute in a create action
Replies: 15
Views: 11914

Re: setting an attribute in a create action

I sent the model to info@ventity.biz. I'll try to summarize the resolution, if any to this forum. Thanks!
by apmoorepa
Mon Jun 11, 2018 6:46 pm
Forum: Ventity
Topic: setting an attribute in a create action
Replies: 15
Views: 11914

Re: setting an attribute in a create action

Tom, I have noticed one problem with my execution of the above fix. I am not pulling the data for vendors and buyers from a table as you are. I am generating them dynamically. For instance I generate 10 vendors as an action, and assigning an attribute to each vendor (whether it is a "player&quo...
by apmoorepa
Sat May 26, 2018 3:51 pm
Forum: Ventity
Topic: setting an attribute in a create action
Replies: 15
Views: 11914

Re: setting an attribute in a create action

Thanks Tom! This is a very nice solution that allows easier extension to a larger numbers of vendor agents. Should be very useful for selecting random elements of a collection. I've got your approach working in my application already.
by apmoorepa
Mon May 21, 2018 2:57 pm
Forum: Ventity
Topic: setting an attribute in a create action
Replies: 15
Views: 11914

setting an attribute in a create action

I'm having trouble setting the attribute in a create action, with which I'd appreciate help. The attribute new value is: if(newVendorFix●VendorNum<1) {"Vendor1"} else if (newVendorFix●VendorNum<2){"Vendor2"} else {"Vendor3"} VendorNum is a randomly assigned value: Rando...