Source Expressions (Property Transfer)
Is it possible with source expression to refer to the parentobject?
.
$'.:Value' refers to the object where the aspect is placed, but is there a way to refer to the object one step further up the tree?
.
What I want is to be able to fetch the property of another childobject within the same parentobject tree.
$'../ChildObject1:Value' Seems to do the trick, the verification is completed without errors, but it does not update the value.
.
.
The shortest working reference which I've found is
$'ParentObject/Childobject1:value'
But since I have alot of places where the same propertytranslation is going to be used I would like to have a reference which could be the same for several objects without changing the Expression that much.
Answers
Try to use reference $'./[UP]/Childobject1:value' .
I have used ./[UP]/ in PG2 in Aspect View Button, AspectView property = LateBoundViewRef("./[UP]/*", "* SFC Viewer", "Main View", True). This button can open SFC viewer from parent object.
I hope it helps
Add new comment