Skip to content

Commit ec4d941

Browse files
committed
Update condition instructions
1 parent d5f44d0 commit ec4d941

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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, vhe 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

articles/digital-twins/quickstart-3d-scenes-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ titleSuffix: Azure Digital Twins
55
description: Learn how to use 3D Scenes Studio (preview) for Azure Digital Twins by following this demo, where you'll create a sample scene with elements and behaviors.
66
author: baanders
77
ms.author: baanders # Microsoft employees only
8-
ms.date: 02/22/2023
8+
ms.date: 03/10/2023
99
ms.topic: quickstart
1010
ms.service: digital-twins
1111
ms.custom: event-tier1-build-2022

0 commit comments

Comments
 (0)