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, 12:26

Andras's gravatar image

Andras
948814
accept rate: 0%

edited 27 Jun, 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, 10:04

OF%20Collect's gravatar image

OF Collect ♦♦
1.2k4
accept rate: 15%

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:

×198

question asked: 27 Jun, 12:26

question was seen: 161 times

last updated: 28 Jun, 10:04