Revit 2021 API |
AssetProperties Members |
AssetProperties Class Methods Properties See Also |
The AssetProperties type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AddConnectedAsset |
Adds a new connected asset attached to this asset property, if it allows it.
(Inherited from AssetProperty.) |
![]() | AddCopyAsConnectedAsset |
Makes a copy of the asset and connects it to this property.
(Inherited from AssetProperty.) |
![]() | Dispose | (Inherited from AssetProperty.) |
![]() | Equals | (Inherited from Object.) |
![]() | FindByName |
Gets the property with the given name.
|
![]() | Get |
Gets the property at the given index.
|
![]() | 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.) |
![]() | GetConnectedProperty |
Gets one connected property with specified index.
(Inherited from AssetProperty.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetSingleConnectedAsset |
Gets the single connected asset attached to this asset property, if it exists.
(Inherited from AssetProperty.) |
![]() | GetType | (Inherited from Object.) |
![]() | IsEditable |
Check if property can be edited.
(Inherited from AssetProperty.) |
![]() | IsValidIndex |
Returns true if the provided index is valid.
|
![]() | IsValidSchemaIdentifier |
Check that schema name is valid
(Inherited from AssetProperty.) |
![]() | RemoveConnectedAsset |
Removes the connected asset attached to this asset property if any.
(Inherited from AssetProperty.) |
![]() | ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | 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.) |
![]() | IsValidObject |
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from AssetProperty.) |
![]() | Item | |
![]() | Name | Get the name of the AssetProperty (Inherited from AssetProperty.) |
![]() | NumberOfConnectedProperties |
The number of currently connected properties.
(Inherited from AssetProperty.) |
![]() | Size |
The number of the AssetProperty(s) in the object.
|
![]() | Type | Returns the type of the AssetProperty (Inherited from AssetProperty.) |