Hi,

Is it possible to use a value stored in a node to define the path to another?

E.g.: I have a tree entity with an attribute "stand_number" (=1) (/plot/trees/stand_number (trees is a multiple entity)).

Can I use the value stored in "stand_number" to access /plot/dgm/dgm1m by substituting 1 in /plot/dgm/dgm1m? dgm1m is the basal area weighted mean diameter on stand 1.

The idea is to get the tree which is closest to dgm.

Thanks!

asked 27 Jun '17, 12:26

Andras's gravatar image

Andras
18481952
accept rate: 0%

edited 27 Jun '17, 12:51


Hi András,
There isn't any way to generate a path dynamically like you are asking.
However you can use the stand_number inside the Apply when condition and use different variables in the Expression field. I hope this will help you.
Thanks,
Open Foris Team

permanent link

answered 28 Jun '17, 10:04

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.7k19
accept rate: 20%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×493

question asked: 27 Jun '17, 12:26

question was seen: 1,882 times

last updated: 28 Jun '17, 10:04