Hello OF team,

I need to get informations from my sampling point data in an expression.

Is it possible ?

Ctrl + Space in expression editor don't show me anything helpful.

asked 29 Jul, 12:32

jeromev's gravatar image

jeromev
1317
accept rate: 0%


Dear user,
You can define some "Extra properties" in your sampling point data category, then use the function categoryItemProp to extract that information. The expression should look like this:

categoryItemProp('sampling_point_data', 'extra_prop_name', cluster_id, plot_id)

Please refer to the Arena manual, especially to the section 12. Example of Expressions and to the online document Arena Expressions to get some useful examples.

Many thanks,
Open Foris Team

permanent link

answered 29 Jul, 12:40

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

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

Not sure it meets my needs : I need to get max value of the code of my level 2 items for a selected level 1 item.

permanent link

answered 29 Jul, 13:34

jeromev's gravatar image

jeromev
1317
accept rate: 0%

Dear user,
We don't have any functions that can extract such information right now.
What you could do is to define the "max value of code in level 2" as an extra property of the items in level 1; in this way you could extract that information using the categoryItemProp function, with something like this:

categoryItemProp('sampling_point_data', 'max_code_level_2', cluster_id)

Let us know if this could solve your issue.
Many thanks,
Open Foris Team

permanent link

answered 30 Jul, 09:10

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

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

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:

×58

question asked: 29 Jul, 12:32

question was seen: 591 times

last updated: 30 Jul, 09:10