A SERVICE OF

logo

92 | Chapter 7 DWG API Additions
Parameters
none
Return Values
String (read/write) – Represents the name of the theme that is assigned as the
filter.
Error Codes
-1 (Busy) – This error code is for the write operation.
-15 (DoesNotApply) – This error code is returned for the read operation.
See Also
getThemeName, setThemeName, getThemeCategory, setThemeCategory,
ThemeCategory
getThemeCategory Method
Syntax
String getThemeCategory()
Description
Gets the category of the theme that is assigned as the DWG filter.
In DWG layers, you can specify an AutoCAD Map theme as that the filter for
layer data. If FilterType is set as a theme filter (value of 2), this method returns
the category of the theme used in the filter. If FilterType is not set as a theme
filter, this method returns NULL with the error code DoesNotApply. For more
information about FilterType, see “FilterType Property,” on page 83.
For information about theme categories, see Step 8 under “Creating a Layer
from a Theme” on page 13.