<Code Lib>
2025.3 Method
Changes 0
M

Document.GetPaintedMaterial

Description:
Get the material painted on the element's face. Returns invalidElementId if the face is not painted.

public ElementId GetPaintedMaterial(
	ElementId elementId,
	Face face
)

  • elementId
    The element that the face belongs to.
  • face
    The painted element's face.
Return Value ElementId The material's Id painted on the element's face.

Loading…