Bexel Manager API Documentation
Bexel.Api.Viewer3D Class Reference

Returns instance of the 3D Viewer within the host application. More...

Public Member Functions

Bitmap CreateScreenshoot (int width, int height)
 Creates a screenshot of the 3D Viewer. More...
 
Bitmap CreateScreenshot (int width, int height)
 Creates a screenshot of the 3D Viewer. More...
 
void HideElements (IEnumerable< ElementID > elementIDs)
 Hides specified elements from the Bexel.Api.Viewer3D. More...
 
void HideElements (IEnumerable< Element > elements)
 Hides specified elements from the Bexel.Api.Viewer3D. More...
 
void HideSelectedElements ()
 Hides the currently selected elements from the Bexel.Api.Viewer3D. More...
 
void HideAll ()
 Hides all of the elements within the Bexel.Api.Project from Bexel.Api.Viewer3D. More...
 
void ShowElements (IEnumerable< ElementID > elementIDs)
 Shows specified elements into the Bexel.Api.Viewer3D. More...
 
void ShowElements (IEnumerable< Element > elements)
 Shows specified elements into the Bexel.Api.Viewer3D. More...
 
void ShowSelectedElements ()
 Shows the currently selected elements into the Bexel.Api.Viewer3D. More...
 
void ShowAll ()
 Shows all of the elements within the Bexel.Api.Project into the Bexel.Api.Viewer3D. More...
 
void IsolateElements (IEnumerable< ElementID > elementIDs)
 Isolates specified elements into the Bexel.Api.Viewer3D. More...
 
void IsolateElements (IEnumerable< Element > elements)
 Isolates specified elements into the Bexel.Api.Viewer3D. More...
 
void IsolateSelectedElements ()
 Isolates the currently selected elements into the Bexel.Api.Viewer3D. More...
 

Detailed Description

Returns instance of the 3D Viewer within the host application.

Member Function Documentation

◆ CreateScreenshoot()

Bitmap Bexel.Api.Viewer3D.CreateScreenshoot ( int  width,
int  height 
)

Creates a screenshot of the 3D Viewer.

Parameters
widthThe screenshot width in pixels.
heightThe screenshot height in pixels.
Returns
A System.Drawing.Bitmap that represents the screenshot of the Bexel.Api.Viewer3D.

◆ CreateScreenshot()

Bitmap Bexel.Api.Viewer3D.CreateScreenshot ( int  width,
int  height 
)

Creates a screenshot of the 3D Viewer.

Parameters
widthThe screenshot width in pixels.
heightThe screenshot height in pixels.
Returns
A System.Drawing.Bitmap that represents the screenshot of the Bexel.Api.Viewer3D.

◆ HideAll()

void Bexel.Api.Viewer3D.HideAll ( )

Hides all of the elements within the Bexel.Api.Project from Bexel.Api.Viewer3D.

◆ HideElements() [1/2]

void Bexel.Api.Viewer3D.HideElements ( IEnumerable< ElementID elementIDs)

Hides specified elements from the Bexel.Api.Viewer3D.

Parameters
elementIDsIDs of the elements to be hidden.

◆ HideElements() [2/2]

void Bexel.Api.Viewer3D.HideElements ( IEnumerable< Element elements)

Hides specified elements from the Bexel.Api.Viewer3D.

Parameters
elementsElements to be hidden.

◆ HideSelectedElements()

void Bexel.Api.Viewer3D.HideSelectedElements ( )

Hides the currently selected elements from the Bexel.Api.Viewer3D.

◆ IsolateElements() [1/2]

void Bexel.Api.Viewer3D.IsolateElements ( IEnumerable< ElementID elementIDs)

Isolates specified elements into the Bexel.Api.Viewer3D.

Parameters
elementIDsIDs of the elements to be isolated.

◆ IsolateElements() [2/2]

void Bexel.Api.Viewer3D.IsolateElements ( IEnumerable< Element elements)

Isolates specified elements into the Bexel.Api.Viewer3D.

Parameters
elementsElements to be isolated.

◆ IsolateSelectedElements()

void Bexel.Api.Viewer3D.IsolateSelectedElements ( )

Isolates the currently selected elements into the Bexel.Api.Viewer3D.

◆ ShowAll()

void Bexel.Api.Viewer3D.ShowAll ( )

Shows all of the elements within the Bexel.Api.Project into the Bexel.Api.Viewer3D.

◆ ShowElements() [1/2]

void Bexel.Api.Viewer3D.ShowElements ( IEnumerable< ElementID elementIDs)

Shows specified elements into the Bexel.Api.Viewer3D.

Parameters
elementIDsIDs of the elements to be shown.

◆ ShowElements() [2/2]

void Bexel.Api.Viewer3D.ShowElements ( IEnumerable< Element elements)

Shows specified elements into the Bexel.Api.Viewer3D.

Parameters
elementsElements to be shown.

◆ ShowSelectedElements()

void Bexel.Api.Viewer3D.ShowSelectedElements ( )

Shows the currently selected elements into the Bexel.Api.Viewer3D.