Class PropertiesDataCollection
Namespace: Autodesk.ModelDerivative.Model
Assembly: Autodesk.ModelDerivative.dll
PropertiesDataCollection
[DataContract]
public class PropertiesDataCollection
Inheritance
Inherited Members
object.Equals(object) , object.Equals(object, object) , object.GetHashCode() , object.GetType() , object.MemberwiseClone() , object.ReferenceEquals(object, object) , object.ToString()
Constructors
PropertiesDataCollection()
Initializes a new instance of the
public PropertiesDataCollection()
Properties
ExternalId
A unique identifier of the object as defined in the source design. For example, UniqueID
in Revit files.
[DataMember(Name = "externalId", EmitDefaultValue = false)]
public string ExternalId { get; set; }
Property Value
Name
Name of the object.
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
ObjectId
Unique identifier of the object.
Note: The objectid
is a non-persistent ID assigned to an object when a design file is translated to SVF or SVF2. So:
- The
objectid
of an object can change if the design is translated to SVF or SVF2 again. - If you require a persistent ID to reference an object, use
externalId
.
[DataMember(Name = "objectid", EmitDefaultValue = false)]
public decimal? ObjectId { get; set; }
Property Value
decimal ?
Properties
A JSON object containing dictionary objects (key value pairs), where the key is the property name and the value is the value of the property.
[DataMember(Name = "properties", EmitDefaultValue = false)]
public Dictionary<string, object> Properties { get; set; }
Property Value
Dictionary <string , object >
Methods
ToString()
Returns the string presentation of the object
public override string ToString()
Returns
String presentation of the object