AssetPropertyList
Description:
Represents a list of AssetProperty(s).
Represents a list of AssetProperty(s).
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Visual.AssetProperty
Autodesk.Revit.DB.Visual.AssetPropertyList
System.Object
Autodesk.Revit.DB.Visual.AssetProperty
Autodesk.Revit.DB.Visual.AssetPropertyList
public class AssetPropertyList : AssetProperty
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AddNewAssetAsColor(Color) | None | Adds a new AssetPropertyDouble4 property to the list containing a value matching the input color. | |
| AddNewAssetPropertyDouble(Double) | None | Adds a new AssetPropertyDouble containing the input value to this list. | |
| AddNewAssetPropertyInteger(Int32) | None | Adds a new AssetPropertyInteger containing the input value to this list. | |
| GetValue() | IList<AssetProperty> | Gets a collection of properties stored in this property list. These properties are copied. | |
| InsertNewAssetAsColor(Color, Int32) | None | Insert a new AssetPropertyDouble4 containing the input value to this list. | |
| InsertNewAssetPropertyDouble(Double, Int32) | None | Inserts a new AssetPropertyDouble containing the input value to this list. | |
| InsertNewAssetPropertyInteger(Int32, Int32) | None | Insert a new AssetPropertyInteger containing the input value to this list. | |
| IsValidValue(IList<AssetProperty>) | bool | Check that value is valid. | |
| RemoveAssetProperty(Int32) | None | Remove the AssetProperty from the list. | |
| SetValue(IList<AssetProperty>) | None | Sets collection of properties stored in this property list. | |
| AddConnectedAsset(String) | None | Adds a new connected asset attached to this asset property, if it allows it. | AssetProperty |
| AddCopyAsConnectedAsset(Asset) | None | Makes a copy of the asset and connects it to this property. | AssetProperty |
| Dispose() | None | Releases all resources used by the | AssetProperty |
| GetAllConnectedProperties() | IList<AssetProperty> | 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. | AssetProperty |
| GetConnectedProperty(Int32) | AssetProperty | Gets one connected property with specified index. | AssetProperty |
| GetSingleConnectedAsset() | nullNothingnullptr | Gets the single connected asset attached to this asset property, if it exists. | AssetProperty |
| GetTypeName(AssetPropertyType) | string | Get the name of the AssetProperty | AssetProperty |
| IsEditable() | bool | Check if property can be edited. | AssetProperty |
| IsValidSchemaIdentifier(String) | bool | Check that schema name is valid | AssetProperty |
| RemoveConnectedAsset() | None | Removes the connected asset attached to this asset property if any. | AssetProperty |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsReadOnly | bool | 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. | AssetProperty |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | AssetProperty |
| Name | string | Get the name of the AssetProperty | AssetProperty |
| NumberOfConnectedProperties | int | The number of currently connected properties. | AssetProperty |
| Type | AssetPropertyType | Returns the type of the AssetProperty | AssetProperty |