2D Models
Two Dimentional models, are collections of 2D scene items. 2D Models were
introduced to represent internal geometry of
overlays. See the
overlays topic about creating and editing 2D
models at runtime in Direct User Access mode.
Programmatically 2D models can be manipulated using
IModel_KC Interface. In the
intial form 2D items are strips of points connected with linear segments. Use
methods of IModel_KC to add new
or existing items or remove items. See 2D Items
topic about modifying geometry of an item.
Most often modifications made programmatically as described above require a call to UpdateSurface() method of the DG Kernel component to appear in the view. If there are several modification to be done, for preformance call UpdateSurface() once in the end
See also: Overlay sample
|