ACadSharp.Tables.VPort

class · ACadSharp · CLR name: ACadSharp.Tables.VPort

Represents a ACadSharp.Tables.VPort table entry

Object name F:ACadSharp.DxfFileToken.TableVport Dxf class name F:ACadSharp.DxfSubclassMarker.VPort

Base type: ACadSharp.Tables.TableEntry. Inherited members are documented on their declaring type.

Interfaces: ACadSharp.IHandledCadObject, ACadSharp.INamedCadObject.

import acadsharp
Type = acadsharp.get_type('ACadSharp.Tables.VPort')

Declared public members

Signatures retain CLR types and names. Python.NET resolves overloads and converts compatible Python values at call time. Property setters are shown only when public. Operators retain their CLR names; Python.NET also maps supported operators to Python syntax.

.ctor

ACadSharp.Tables.VPort()

.ctor

ACadSharp.Tables.VPort(System.String name)

DefaultName

static System.String DefaultName = *Active

Clone

ACadSharp.CadObject Clone()

AmbientColor

ACadSharp.Color AmbientColor { get; set; }

Ambient color(only output when non-black)

AspectRatio

System.Double AspectRatio { get; set; }

Aspect ratio

BackClippingPlane

System.Double BackClippingPlane { get; set; }

Back clipping plane(offset from target point)

BaseUcs

ACadSharp.Tables.UCS BaseUcs { get; set; }

Base Ucs

Remarks: AcDbUCSTableRecord of base UCS if UCS is orthographic(79 code is non-zero). If not present and 79 code is non-zero, then base UCS is taken to be WORLD

BottomLeft

CSMath.XY BottomLeft { get; set; }

Lower-left corner of viewport

Brightness

System.Double Brightness { get; set; }

Brightness

Center

CSMath.XY Center { get; set; }

View center point(in DCS)

CircleZoomPercent

System.Int16 CircleZoomPercent { get; set; }

Circle sides

Contrast

System.Double Contrast { get; set; }

Contrast

Default

static ACadSharp.Tables.VPort Default { get; }

DefaultLighting

ACadSharp.Tables.DefaultLightingType DefaultLighting { get; set; }

Default Lighting type

Direction

CSMath.XYZ Direction { get; set; }

View direction from target point(in WCS)

Elevation

System.Double Elevation { get; set; }

Elevation

FrontClippingPlane

System.Double FrontClippingPlane { get; set; }

Front clipping plane(offset from target point)

GridFlags

ACadSharp.Tables.GridFlags GridFlags { get; set; }

Grid flags

GridSpacing

CSMath.XY GridSpacing { get; set; }

Grid spacing X and Y

IsometricSnap

System.Boolean IsometricSnap { get; set; }

Snap style

LensLength

System.Double LensLength { get; set; }

Lens length

MinorGridLinesPerMajorGridLine

System.Int16 MinorGridLinesPerMajorGridLine { get; set; }

Major grid lines

NamedUcs

ACadSharp.Tables.UCS NamedUcs { get; set; }

Named Ucs

Remarks: AcDbUCSTableRecord if UCS is a named UCS.If not present, then UCS is unnamed

ObjectName

System.String ObjectName { get; }

Documentation inherited from: base member.

ObjectType

ACadSharp.ObjectType ObjectType { get; }

Documentation inherited from: base member.

Origin

CSMath.XYZ Origin { get; set; }

UCS origin

OrthographicType

ACadSharp.OrthographicType OrthographicType { get; set; }

Orthographic type of UCS

RenderMode

ACadSharp.RenderMode RenderMode { get; set; }

Render mode

ShowGrid

System.Boolean ShowGrid { get; set; }

Grid on/off

SnapBasePoint

CSMath.XY SnapBasePoint { get; set; }

Snap base point(in DCS)

SnapIsoPair

System.Int16 SnapIsoPair { get; set; }

Snap style

SnapOn

System.Boolean SnapOn { get; set; }

Snap on/off

SnapRotation

System.Double SnapRotation { get; set; }

Snap rotation angle

SnapSpacing

CSMath.XY SnapSpacing { get; set; }

Snap spacing X and Y

SubclassMarker

System.String SubclassMarker { get; }

Documentation inherited from: base member.

Target

CSMath.XYZ Target { get; set; }

View target point(in WCS)

TopRight

CSMath.XY TopRight { get; set; }

Upper-right corner of viewport

TwistAngle

System.Double TwistAngle { get; set; }

View twist angle

UcsIconDisplay

ACadSharp.Tables.UscIconType UcsIconDisplay { get; set; }

UCSICON setting

UseDefaultLighting

System.Boolean UseDefaultLighting { get; set; }

Default Lighting On flag

ViewHeight

System.Double ViewHeight { get; set; }

View height

ViewMode

ACadSharp.Tables.ViewModeType ViewMode { get; set; }

View mode(see VIEWMODE system variable)

VisualStyle

ACadSharp.Objects.VisualStyle VisualStyle { get; set; }

Visual style object (optional)

Remarks: (optional)

XAxis

CSMath.XYZ XAxis { get; set; }

UCS X-axis

YAxis

CSMath.XYZ YAxis { get; set; }

UCS Y-axis