A SERVICE OF

logo

94 | Chapter 7 DWG API Additions
Parameters
themeCategory – String representing the category of the theme that you
want to assign as the filter.
Return Values
boolean – Specifies whether or not the category of the theme is successfully
set.
True – Indicates that the theme category has been set successfully.
False – Indicates that the theme category has not been set.
Error Codes
-1 (Busy)
See Also
getThemeCategory, ThemeCategory, getThemeName, setThemeName,
ThemeName
ThemeCategory Property
Syntax
ThemeCategory
Description
Gets and sets the category of the theme that is assigned as the DWG filter. It
also automatically sets FilterType to a Theme Filter (value of 2). For infoma-
tion about FilterType, see “FilterType Property” on page 83.
In DWG layers, you can specify an AutoCAD Map theme as the filter for layer
data. Use this property to get and set the category of the theme that is
assigned as the filter.
For information about theme categories, see Step 8 under “Creating a Layer
from a Theme” on page 13.