Modelspace Viewport

Getting Started  Previous  Next

Modelspace Viewport Object is the main drawing window through which most of entities are created and edited. It shows a view of 3D model space.  To facilitate viewing of drawing through multiple viewports in Modelspace, hsCADCreator utilizes pre-set multiple viewports through Pre-configured Viewport Tool and Divide Viewport Tool. Depending on whether the viewport exists on Modelspace or Paperspace they are defined as Modelspace viewport object and Paperspace viewport entity.. There can only one Modelspace Viewport exist in a drawing. Modelspace Viewport are always created by hsCADCreator on a layout named "Model" when a new drawing is created.

 

 

In hsCADCreator, a Modelspace Viewport Entity consists of the following data:

Property Name

Data Type

Description

Name

Text

Name for this Viewport object

Camera Settings for this Viewport:

Back Clip Distance

Real Number

Distance from the view plane to the back clipping plane

Back Clip Enabled

Boolean

Whether or not to draw entities beyond the back clipping plane.

Center Point

2D Point

Center point for this viewport object.

Elevation

Scientific Data

Distance from WCS origin to the UCS of this viewport

Clip at Eye

Boolean

Clip the scene from camera at eye location.

Front Clip Distance

Real Number

Distance from the view plane to the front clipping plane

Front Clip Enabled

Boolean

Whether or not to draw entities before the front clipping plane.

Height

Real Number

Height of scene in device coordinates

Lens Length

Real Number

The length of lens used in perspective mode

Is Perspective

Boolean

Make the view from camera as perspective view

Render Mode

Multiple options combo box.

Specifies how to render entities.

Target

3D Point

Target point for camera

UCS

User coordinate System

User coordinate system associated with this viewport

Width

Real Number

Width of this view in device coordinates

View Direction

Vector

Vector representing direction the view faces relative to the WCS

Twist

Scientific Data

Twisting angle in device coordinates

Modelspace viewport:

UCS icon visible

Boolean

Show UCS icon or hide it

UCS icon at origin

Boolean

Always show UCS icon exactly at UCS origin or show it on left hand bottom corner when UCS origin is not on screen.

Follow UCS

Boolean

Always display plan view whenever the UCS for this viewport changes

Independent UCS

Boolean

This viewport has its individual UCS and it becomes active whenever this viewport is activated

Grid visible

Boolean

Show/hide grid points in this viewport.

Grid snap

Boolean

Enable/Disable grid snap points in this viewport.

Grid Spacing along X-Axis

Scientific Data

Spacing between grid points along X-axis.

Grid Spacing along Y-Axis

Scientific Data

Spacing between grid points along X-axis.

 

 

See also:

             Divide Viewport Tool

             Pre-configured Viewport Tool