Class LessThan
Namespace: Autodesk.ModelDerivative.Model
Assembly: Autodesk.ModelDerivative.dll
Describes a query for retrieving objects where a specified numeric property is less than or equal to a specified value.
[DataContract]
public class LessThan : 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
LessThan()
Initializes a new instance of the
public LessThan()
Properties
Le
Returns only the objects where the value of the specified numerical property is less than or equal to the specified value.
The first element of the array contains the name of the property. The next element specifies the values that the property must be less than or equal to. The array can only be two elements long.
For example, if you specify an array as: "$le":["properties.Dimensions.Width1",10]
, the request returns the properties of all objects whose properties.Dimensions.Width1
property is less than or equal to 10
.
Note: The Model Derivative service converts numeric values from their native units to metric base units for comparison. So, the value to compare with must be specified in metric base units. For example, if the property you are comparing is a length measurement, you must specify the value in m
. Not in cm
, mm
, or ft
.
[DataMember(Name = "$le", EmitDefaultValue = false)]
public List<object> Le { get; set; }
Property Value
Methods
ToString()
Returns the string presentation of the object
public override string ToString()
Returns
String presentation of the object