MaterialNode
This class represents a change of material during a model-exporting process.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.RenderNode
Autodesk.Revit.DB.MaterialNode
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class MaterialNode : RenderNode
The MaterialNode type exposes the following members.
Properties
Name
Description
Public Property
Color
The color the material is being rendered at
Public Property
Glossiness
The level of glossiness of the material
Public Property
HasOverriddenAppearance
Identifies if the default rendering appearance the material has is being overridden.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from RenderNode)
Public Property
MaterialId
The Id of the element assocated with this material in the model.
Public Property
NodeName
A readable name of the output node.
(Inherited from RenderNode)
Public Property
Smoothness
The level of smoothness of the material.
Public Property
ThumbnailFile
The path if a file that contains a thumbnail image of the material.
Public Property
Transparency
The value of transparency the material is being rendered with
Methods
Name
Description
Public Method
Dispose
(Inherited from RenderNode)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetAppearance
Appearance properties associated with the material.
Public Method
GetAppearanceOverride
Returns appearance properties that override the preset appearance of the material.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
Output nodes following this node are to be assumed using the material. The material remains in effect until another material node is sent to the output.
See also:
OnMaterial(MaterialNode)
.