Skip to content

Commit 976926f

Browse files
authored
Merge pull request #230271 from baanders/3-10-qs
ADT: Expand qs visual rules
2 parents 271a4f3 + c888535 commit 976926f

26 files changed

+46
-18
lines changed

articles/digital-twins/how-to-use-3d-scenes-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,15 +236,15 @@ To create a rule, start by selecting **Add Rule**.
236236

237237
Choose a **Display name** for the rule.
238238

239-
Next, choose whether the rule is dependent on a **Single property** or a **Custom (advanced)** property expression. For a **Single property**, you'll get a dropdown list of numeric properties on the primary twin. For **Custom (advanced)**, you'll get a text box where you can write a custom JavaScript expression using one or more properties. The expression should have a numeric outcome. For more information about writing custom expressions, see [Use custom (advanced) expressions](#use-custom-advanced-expressions).
239+
Next, choose whether the rule is dependent on a **Single property** or a **Custom (advanced)** property expression. For a **Single property**, you'll get a dropdown list of numeric properties on the primary twin. For **Custom (advanced)**, you'll get a text box where you can write a custom JavaScript expression using one or more properties. The result of your expression must match the result type that you specify in the **Type** field. For more information about writing custom expressions, see [Use custom (advanced) expressions](#use-custom-advanced-expressions).
240240

241241
Once you've defined your property expression, select **Add condition** to define the conditional visual effects.
242242

243243
:::image type="content" source="media/how-to-use-3d-scenes-studio/new-behavior-visual-rules-2.png" alt-text="Screenshot of the New visual rule options in 3D Scenes Studio. The described fields are highlighted." lightbox="media/how-to-use-3d-scenes-studio/new-behavior-visual-rules-2.png":::
244244

245245
In the **Add condition** options, enter a **Label** for the condition in the visualization.
246246

247-
Under **Conditions**, use the **Min** and **Max** fields to identify value boundaries for the condition. The min of each value range is inclusive, and the max is exclusive.
247+
Then, set the **Values** to identify value boundaries for the condition (the exact selection will change depending on the property type). For numerical properties, the min of each value range is inclusive, and the max is exclusive.
248248

249249
Under **Actions**, define what happens in the scene visualization when the condition is met. You can use **Mesh coloring** to control the color of the property expression in the viewer, or **Badge** to display a badge of a certain color and icon when the condition for the property expression is met.
250250

186 KB
Loading
-51.7 KB
Loading
97 KB
Loading
11.6 KB
Loading
82.3 KB
Loading
391 KB
Loading
23.3 KB
Loading
-12.5 KB
Loading
-38.4 KB
Loading

0 commit comments

Comments
 (0)