DistanceValueCommandInput.expression Property
Parent Object: DistanceValueCommandInputDefined in namespace "adsk::core" and the header file is <Core/UserInterface/DistanceValueCommandInput.h>
Description
Gets or sets the expression displayed in the input field. This can contain equations and references to parameters but must result in a valid length expression. If units are not specified as part of the expression, the default units for the design are used.
Syntax
"distanceValueCommandInput_var" is a variable referencing a DistanceValueCommandInput object.
|
Property Value
This is a read/write property whose value is a string.Samples
Name | Description |
Command Inputs API Sample | Creates a command dialog that demonstrates all of the available command inputs. To use the sample, create a new Python or C++ script and copy and paste this code, replacing the default code. You also need to unpack this zip file which contains a resource folder into the same folder where the source code file (.py or .cpp) is. |