2020 Method
Changes 0
M

Material.IsMaterialOrValidDefault

Description:
Validates whether the specified element id is a material element.
public static bool IsMaterialOrValidDefault(
	Element pElem,
	ElementId materialId
)
Return Value bool True if the element a material element or invalidElementId, which means take material from category, false otherwise.