DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ComponentsDG Kernel Components
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Open Source
Support
Skip Navigation Links Search Documentation


Layers

Every Entity in DG Kernel models has a string property called "Layer Name". Layer Name should be considered as family name of the object. There is no separate "layer" objects created in the software. In every operation, where layers are involved, only individual layer names are used to  to dynamically classify objects.

Layers are user-defined classification of objects independent of the child/parent relationship. The DG Kernel software itself does not modify or use layer names, unless requested by the user or programmatically

By default the Layer Name is an empty string (Default Layer).

The layer name can be used to store an application-defined string in the object. See details at User Data

Programmatically individual Layer Name can be accessed via the IUserData_DG interface, which can be queried from the correspondent IEntity_DG interface. Collection of all different layer names in the model can be accessed via the ILayers interface, obtained via IModel_DG.

See also:  User Data Sample,