doc:user:elements:volumes:volumeinteraction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:user:elements:volumes:volumeinteraction [2013/07/11 15:30] – joris | doc:user:elements:volumes:volumeinteraction [2016/03/30 15:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Volume interaction ====== | ||
+ | Generating [[doc: | ||
+ | |||
+ | app = FieldApplicator(no) | ||
+ | app.push(gObject1) | ||
+ | app.push(gObject2) | ||
+ | ... | ||
+ | app.addProperty(prp) | ||
+ | app.addRuptureCriterion(rc) # failure criterion (optional) | ||
+ | interactionset.add(app) | ||
+ | |||
+ | or | ||
+ | |||
+ | app = interactionset.add(FieldApplicator(no)) #add returns a reference | ||
+ | app.push(gObject1) | ||
+ | app.push(gObject2) | ||
+ | ... | ||
+ | app.addProperty(prp) | ||
+ | app.addRuptureCriterion(rc) # failure criterion (optional) | ||
+ | |||
+ | where | ||
+ | |||
+ | | '' | ||
+ | |'' | ||
+ | | '' | ||
+ | | '' |