A SERVICE OF

logo

90 | Chapter 7 DWG API Additions
Parameters
none
Return Values
String – Represents the name of the theme that is assigned as the filter or an
empty string.
Error Codes
-15 (DoesNotApply)
See Also
setThemeName, ThemeName, getThemeCategory, setThemeCategory,
ThemeCategory
setThemeName Method
Syntax
boolean setThemeName(String themeName)
Description
Sets the name of the theme that is assigned as the DWG filter. It also auto-
matically sets FilterType to a Theme Filter (value of 2). For infomation 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 method to set the name of the theme for the filter.
For information about setting the name of theme filters, see Step 8 under
“Creating a Layer from a Theme” on page 13.