dgnlib.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
11 
12 enum class DgnLibSelector
13  {
14  None = 0,
15 
16  ElementStyles = 1 << 0, // Levels, Line Styles, Dimension Styles, Text Styles, Multiline Styles, Templates, Text Snippets, Table Styles, Report Styles, Item Types, Drawing Seeds, Drawing Areas, Display Styles, Display Rules, Page Layouts for Markup, Named Views
17  Rendering = 1 << 1, // Render Setup, Materials, Lights.
18 
19  Links = 1 << 2, // Link Sets.
20  Printing = 1 << 3, // Print Styles
21  ClashDetection = 1 << 4, // Clash Detection rules
22 
23  GuiLibs = 1 << 5, // User GUI overrides.
24  SystemGuiLibs = 1 << 6, // The GUI libraries shipped by Bentley
25 
26  System = 1 << 7, // The cells that MicroStation uses internally (lighting, KML placemark, GPS tracking), and other system data.
27 
28  LevelsOnly = 1 << 8, // The level system works by using MS_DGNLIBLIST_LEVELS (DgnLibSelector::LevelsOnly) if that is defined. Otherwise it uses MS_DGNLIBLIST (DgnLibSelector::ElementStyles) is used.
29 
30  TextFavoritesOnly = 1 << 9, //Text favorites works by using MS_DGNLIBLIST_TEXTFAVORITES (DgnLibSelector::TextFavoritesOnly) if that is defined. Otherwise it uses MS_DGNLIBLIST (DgnLibSelector::ElementStyles) is used.
31 
32  TextStylesOnly = 1 << 10, //Text Styles works by using MS_DGNLIBLIST_TEXTSTYLES (DgnLibSelector::TextStylesOnly) if that is defined. Otherwise it uses MS_DGNLIBLIST (DgnLibSelector::ElementStyles) is used.
33 
34  NamedExpressions = SystemGuiLibs | GuiLibs | Printing, // Named expressions can be stored in any of the following types of dgnlib
35  };
36 
38 
39 
41 
42 
#define ENUM_IS_FLAGS(ENUMTYPE)
Definition: Bentley.r.h:164
DgnLibSelector
Definition: dgnlib.h:12
#define END_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:30
#define BEGIN_BENTLEY_MSTNPLATFORM_NAMESPACE
Definition: DgnPlatform.h:29

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.