RVTDocs.com
Namespace: Autodesk.Revit.DB Class: View

GetColorFillSchemeId

Method
Description:
Returns id of the color fill scheme element applied to the view.
Syntax
public ElementId GetColorFillSchemeId(
	ElementId categoryId
)
Parameters
Parameter Type Description
categoryId Autodesk.Revit.DB.ElementId The id of the category which the color fill scheme element belongs to.
Return Value
Type Description
Autodesk.Revit.Exceptions.ArgumentNullException The id of the color fill scheme element.
Exceptions
Exception Condition
Autodesk.Revit.Exceptions.ArgumentNullException A non-optional argument was null