Class Between
Namespace: Autodesk.ModelDerivative.Model
Assembly: Autodesk.ModelDerivative.dll
Describes a query for retrieving objects where a specified numeric property falls within a specified range.
[DataContract]
public class Between : ISpecificPropertiesPayloadQuery
Inheritance
Implements
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
Between()
Initializes a new instance of the
public Between()
Properties
_Between
Returns only the objects where the value of the specified numerical property lies between the specified values.
The first element of the array contains the name of the property. The next two elements specify the values that the property must lie between. The array can only be three elements long.
For example, if you specify an array as: "$between":["properties.Dimensions.Width1",1,10]
, the request returns the properties of all objects whose properties.Dimensions.Width1
property is between 1
and 10
.
Note: The Model Derivative service converts numeric values from their native units to metric base units for comparison. So, you must specify the values to compare with in metric base units. For example, if the property you are comparing is a length measurement, you must specify the values in m
. Not in cm
, mm
, or ft
.
[DataMember(Name = "$between", EmitDefaultValue = false)]
public List<object> _Between { get; set; }
Property Value
Methods
ToString()
Returns the string presentation of the object
public override string ToString()
Returns
String presentation of the object