AssetProperties
Description:
Represents a set of asset property(s).
Represents a set of asset property(s).
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Visual.AssetProperty
Autodesk.Revit.DB.Visual.AssetProperties
Autodesk.Revit.DB.Visual.Asset
System.Object
Autodesk.Revit.DB.Visual.AssetProperty
Autodesk.Revit.DB.Visual.AssetProperties
Autodesk.Revit.DB.Visual.Asset
public class AssetProperties : AssetProperty
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| FindByName(String) | AssetProperty | Gets the property with the given name. | |
| Get(Int32) | AssetProperty | Gets the property at the given index. | |
| IsValidIndex(Int32) | bool | Returns true if the provided index is valid. | |
| 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 |
|---|---|---|---|
| Item | AssetProperty | ||
| Size | int | The number of the AssetProperty(s) in the object. | |
| 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 |