Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for resetting a parameter value of a component on instantiating a new child #13

Closed
pgleeson opened this issue Nov 27, 2012 · 1 comment

Comments

@pgleeson
Copy link
Member

This will be needed in various scenarios:

Changing vshift in a channel prototype when instantiated as part of a channelDensity
Setting x, y, z location of cell when instantiating a list of positioned cells
Setting v0 in a cell instance

Robert currently working on underlying issues relating to this...

@robertcannon
Copy link
Member

There is an example of this in ex-properties.xml. If you want a property to vary from instance to instance it should be a Property and not a Parameter. Then you need an Assign element in the structure block that instantiates it in order to set its value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants