Ofcas.Lk.Api.V3  3.0.0.98
Ofcas.Lk.Api.Ui.ElevationUi Class Reference

ElevationUi is the representation of a LogiKal element (for example, a window, a facade, ...) and provides methods with user interaction. The children are of type ElevationInstance. The children can be received from the InfoList (CoreObject<T>.Infos). More...

Inheritance diagram for Ofcas.Lk.Api.Ui.ElevationUi:
Ofcas.Lk.Api.Core.Elevation

Public Member Functions

 ElevationUi (IApiService apiService, Guid coreObjectId, ProjectUi parent, ElevationInfo coreInfo)
 
ElevationInfo Edit (ElevationEditMode elevationEditMode)
 Starts editing the elevation via user interface More...
 
async Task< ElevationInfoEditAsync (ElevationEditMode elevationEditMode)
 Asynchronously starts the editing of the elevation via user interface. More...
 
override ElevationInstanceInfo CreateElevationInstance ()
 Creates a new ElevationInstance to this Elevation. More...
 
override void DeleteElevationInstance (ElevationInstanceInfo elevationInstanceInfo)
 Deletes an existing ElevationInstance from this Elevation. More...
 
- Public Member Functions inherited from Ofcas.Lk.Api.Core.Elevation
ElevationInstance GetElevationInstance (ElevationInstanceInfo elevationInstanceInfo)
 Returns the corresponding elevation instance based on the given information data. More...
 
void GetThumbnail (Stream target, GraphicSettings settings)
 An overview image from the elevation. The thumbnail will be returned as image file. More...
 
Stream GetDrawing (GraphicSettings settings)
 Returns a drawing from the elevation. Use Format in GraphicSettings to specify the format of the drawing. Currently supported are: More...
 
void GetGdz (Stream target, GdzSettings settings)
 Returns the gdz stream (as a zip-stream). More...
 
Stream GetPartsList ()
 Returns the parts list of this Elevation as a sqlite file. More...
 
IList< ElevationEditModeGetAvailableElevationEditModes ()
 Returns a list of all available ElevationEditMode for the current Elevation. More...
 
int ElevationInstanceAmount ()
 Returns the amount of elevation instances. More...
 
ElevationInfo SetParameter (string key, object value)
 Takes the parameter to update the elevation. More...
 

Detailed Description

ElevationUi is the representation of a LogiKal element (for example, a window, a facade, ...) and provides methods with user interaction. The children are of type ElevationInstance. The children can be received from the InfoList (CoreObject<T>.Infos).

Member Function Documentation

◆ CreateElevationInstance()

override ElevationInstanceInfo Ofcas.Lk.Api.Ui.ElevationUi.CreateElevationInstance ( )
virtual

Creates a new ElevationInstance to this Elevation.

Returns
The ElevationInstanceInfo to the created elevation instance
Exceptions
ApiExceptionOccurs if the method fails.

Reimplemented from Ofcas.Lk.Api.Core.Elevation.

◆ DeleteElevationInstance()

override void Ofcas.Lk.Api.Ui.ElevationUi.DeleteElevationInstance ( ElevationInstanceInfo  elevationInstanceInfo)
virtual

Deletes an existing ElevationInstance from this Elevation.

Parameters
elevationInstanceInfo

Reimplemented from Ofcas.Lk.Api.Core.Elevation.

◆ Edit()

ElevationInfo Ofcas.Lk.Api.Ui.ElevationUi.Edit ( ElevationEditMode  elevationEditMode)

Starts editing the elevation via user interface

Parameters
elevationEditModePossible modes to edit can be received with Elevation.GetAvailableElevationEditModes
Returns

◆ EditAsync()

async Task<ElevationInfo> Ofcas.Lk.Api.Ui.ElevationUi.EditAsync ( ElevationEditMode  elevationEditMode)

Asynchronously starts the editing of the elevation via user interface.

Parameters
elevationEditModePossible modes to edit can be received with Elevation.GetAvailableElevationEditModes
Returns

The documentation for this class was generated from the following file: