2027 Class
Changes 0
C

MaterialNode

Description:
This class represents a change of material during a model-exporting process.
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).

Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.RenderNode
    Autodesk.Revit.DB.MaterialNode
public class MaterialNode : RenderNode
Name Return Type Description Inherited From
M Dispose() None (Inherited from RenderNode ) RenderNode
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetAppearance() Asset Appearance properties associated with the material.
M GetAppearanceOverride() Asset Returns appearance properties that override the preset appearance of the material.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P Color Color The color the material is being rendered at
P Glossiness int The level of glossiness of the material
P HasOverriddenAppearance bool Identifies if the default rendering appearance the material has is being overridden.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity. (Inherited from RenderNode ) RenderNode
P MaterialId ElementId The Id of the element assocated with this material in the model.
P NodeName string A readable name of the output node. (Inherited from RenderNode ) RenderNode
P Smoothness int The level of smoothness of the material.
P ThumbnailFile string The path if a file that contains a thumbnail image of the material.
P Transparency double The value of transparency the material is being rendered with