AssetPropertyList Members


The AssetPropertyList type exposes the following members.

Methods

Name Description
Public method AddConnectedAsset
Adds a new connected asset attached to this asset property, if it allows it.
(Inherited from AssetProperty .)
Public method AddCopyAsConnectedAsset
Makes a copy of the asset and connects it to this property.
(Inherited from AssetProperty .)
Public method AddNewAssetAsColor
Adds a new AssetPropertyDouble4 property to the list containing a value matching the input color.
Public method AddNewAssetPropertyDouble
Adds a new AssetPropertyDouble containing the input value to this list.
Public method AddNewAssetPropertyInteger
Adds a new AssetPropertyInteger containing the input value to this list.
Public method Dispose (Inherited from AssetProperty .)
Public method Equals
Determines whether the specified Object is equal to the current Object .
(Inherited from Object .)
Public method GetAllConnectedProperties
Gets the list of the connected properties. Connected properties are the detachable properties of an AssetProperty. e.g. diffuse property can have texture as its connected property. It can also detach texture on runtime.
(Inherited from AssetProperty .)
Public method GetConnectedPropertiesNames
Gets names of all connected properties.
(Inherited from AssetProperty .)
Public method GetConnectedProperty(Int32)
Gets one connected property with specified index.
(Inherited from AssetProperty .)
Public method GetConnectedProperty(String)
Gets a connected property by its name.
(Inherited from AssetProperty .)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object .)
Public method GetSingleConnectedAsset
Gets the single connected asset attached to this asset property, if it exists.
(Inherited from AssetProperty .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method GetValue
Gets a collection of properties stored in this property list. These properties are copied.
Public method InsertNewAssetAsColor
Insert a new AssetPropertyDouble4 containing the input value to this list.
Public method InsertNewAssetPropertyDouble
Inserts a new AssetPropertyDouble containing the input value to this list.
Public method InsertNewAssetPropertyInteger
Insert a new AssetPropertyInteger containing the input value to this list.
Public method IsEditable
Check if property can be edited.
(Inherited from AssetProperty .)
Public method IsValidSchemaIdentifier
Check that schema name is valid
(Inherited from AssetProperty .)
Public method IsValidValue
Check that value is valid.
Public method RemoveAssetProperty
Remove the AssetProperty from the list.
Public method RemoveConnectedAsset
Removes the connected asset attached to this asset property if any.
(Inherited from AssetProperty .)
Public method SetValue
Sets collection of properties stored in this property list.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)

Properties

Name Description
Public property IsReadOnly
Identifies if the object is read-only or modifiable. If true, the object may not be modified. If false, the object's contents may be modified.
(Inherited from AssetProperty .)
Public property IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from AssetProperty .)
Public property Name
Get the name of the AssetProperty
(Inherited from AssetProperty .)
Public property NumberOfConnectedProperties
The number of currently connected properties.
(Inherited from AssetProperty .)
Public property Type
Returns the type of the AssetProperty
(Inherited from AssetProperty .)

See Also