Difference between revisions of "Activity:AssignToNamedRelation (Activity)"
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
The AssignedToNamedRelation activity assigns a child objec via the name of an existing [[Relation|relation]] to a given parent object. | The AssignedToNamedRelation activity assigns a child objec via the name of an existing [[Relation|relation]] to a given parent object. | ||
− | + | =Description= | |
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Assign To Named Relation | | title = Assign To Named Relation | ||
Line 12: | Line 12: | ||
}} | }} | ||
− | ==Arguments== | + | ===Arguments=== |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
Line 29: | Line 29: | ||
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
This activity is used to find a certain relation at the parent object via the name and then relate the child object to it. | This activity is used to find a certain relation at the parent object via the name and then relate the child object to it. | ||
− | + | =Example= | |
− | + | ||
Load the MetaClass named ''PUMP'', also load the MetaProperty ''NOMINALPOWER'' from the property pool and then add it to the MetaClasses' properties: | Load the MetaClass named ''PUMP'', also load the MetaProperty ''NOMINALPOWER'' from the property pool and then add it to the MetaClasses' properties: | ||
− | |||
{| class="wikitable" | width = "50%" | {| class="wikitable" | width = "50%" | ||
Line 52: | Line 50: | ||
.GetMetaProperty("NOMINALPOWER")</source> | .GetMetaProperty("NOMINALPOWER")</source> | ||
|} | |} | ||
+ | |||
+ | <headertabs /> | ||
==See also== | ==See also== | ||
* [[Workflow Designer]] | * [[Workflow Designer]] | ||
− | * [[RemoveFromNamedRelation (Activity)]] | + | * [[Activity:RemoveFromNamedRelation (Activity)]] |
− | + | [[Category:Activities]] |
Latest revision as of 13:54, 23 February 2015
The AssignedToNamedRelation activity assigns a child objec via the name of an existing Relation to a given parent object.