2027 Method
Changes 0
M

View.SetCategoryOverrides

Description:
Sets graphic overrides for a category in view.
public void SetCategoryOverrides(
	ElementId categoryId,
	OverrideGraphicSettings overrideGraphicSettings
)
  • categoryId
    Category to be overridden
  • overrideGraphicSettings
    Object representing all graphic overrides of the category categoryId in view.
  • Category cannot be overridden. -or- Fill pattern must be a drafting pattern. -or- Fill pattern Id must be invalidElementId or point to a LinePattern element.
  • A non-optional argument was null
  • The view type does not support Visibility/Graphics Overriddes.