Modelspace Viewport

Getting Started  Previous  Next

Modelspace viewport object is the main drawing window through which most entities are created and edited. It shows a view of 3D model space. Depending on whether the viewport exists on Modelspace or Paperspace they are defined as modelspace viewport object . There can only one modelspace viewport exist in a drawing. Modelspace viewport are always created by hsCADView on a Layout named "Model" when a new drawing is created.

 

 

A modelspace viewport object 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 are visible 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

Menu

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

Grid