public class AssetProperty : IDisposable
Name Return Type Description Inherited From
M AddConnectedAsset(String) None Adds a new connected asset attached to this asset property, if it allows it.
M AddCopyAsConnectedAsset(Asset) None Makes a copy of the asset and connects it to this property.
M Dispose() None Releases all resources used by the AssetProperty
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M 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.
M GetConnectedProperty(Int32) AssetProperty Gets one connected property with specified index.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetSingleConnectedAsset() Asset Gets the single connected asset attached to this asset property, if it exists.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M GetTypeName(AssetPropertyType) String Get the name of the AssetProperty
M IsEditable() Boolean Check if property can be edited.
M IsValidSchemaIdentifier(String) Boolean Check that schema name is valid
M RemoveConnectedAsset() None Removes the connected asset attached to this asset property if any.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P 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.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P Name string Get the name of the AssetProperty
P NumberOfConnectedProperties int The number of currently connected properties.
P Type AssetPropertyType Returns the type of the AssetProperty