2024 Class
Changes 0
C

AssetProperties

Description:
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
Name Return Type Description Inherited From
M FindByName(String) AssetProperty Gets the property with the given name.
M Get(Int32) AssetProperty Gets the property at the given index.
M IsValidIndex(Int32) bool Returns true if the provided index is valid.
M AddConnectedAsset(String) None Adds a new connected asset attached to this asset property, if it allows it. AssetProperty
M AddCopyAsConnectedAsset(Asset) None Makes a copy of the asset and connects it to this property. AssetProperty
M Dispose() None Releases all resources used by the AssetProperty
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. AssetProperty
M GetConnectedProperty(Int32) AssetProperty Gets one connected property with specified index. AssetProperty
M GetSingleConnectedAsset() nullNothingnullptr Gets the single connected asset attached to this asset property, if it exists. AssetProperty
M GetTypeName(AssetPropertyType) string Get the name of the AssetProperty AssetProperty
M IsEditable() bool Check if property can be edited. AssetProperty
M IsValidSchemaIdentifier(String) bool Check that schema name is valid AssetProperty
M RemoveConnectedAsset() None Removes the connected asset attached to this asset property if any. AssetProperty
Name Return Type Description Inherited From
P Item AssetProperty
P Size int The number of the AssetProperty(s) in the object.
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. AssetProperty
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity. AssetProperty
P Name string Get the name of the AssetProperty AssetProperty
P NumberOfConnectedProperties int The number of currently connected properties. AssetProperty
P Type AssetPropertyType Returns the type of the AssetProperty AssetProperty