GetAppearanceOverride Method


Returns appearance properties that override the preset appearance of the material.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2014

Syntax

C#
public Asset GetAppearanceOverride()
Visual Basic
Public Function GetAppearanceOverride As Asset
Visual C++
public:
Asset^ GetAppearanceOverride()

Return Value

An instance of a rendering material asset, of null if there is no override.

Remarks

The returned instance of an Asset is valid only if there is an overide, which happens if there are decals applied to the face that has the base material. In such cases the rendering engine takes the asset of the material and merges it with the decal, which results to this override asset. If there are no decals, this instance is null and the HasOverriddenAppearance returns False.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →