视窗

autocad_entity:autocad_viewport.

特点autocad_entityset toautocad_viewport.从绘图文件中读取为矩形实体,表示来自纸张空间的视口实体。它们将有许多属性定义视口如何在AutoCAD应用程序中出现的原因。

If the通过视口读取模型空间实体选择读取器参数,在通过视口显示时将读取模型空间实体的表示。这些功能将具有属性autocad_viewport_handle.设置为读取的视口的句柄。生成的功能只是模型空间实体的表示,并且将被编写器忽略。通过删除来迫使这些特征的写作autocad_viewport_handle.attribute.

属性名称 内容
autocad_viewport._ambient_light_color

环境浅色。

范围:0...256

autocad_viewport_back_clip.

指示后夹窗格是否已打开。

范围:是的不

autocad_viewport_back_clip_distance.

The distance (along the camera-target line) from the target to the back clipping plane. Positive values indicate that the clipping plane is in front of the target (between target and camera), negative values indicate that the clipping plane is behind the target.

范围:64-bit floating point number

autocad_viewport_brightness.

亮度因子(灯的相对强度)。

范围:-10 ... 10.

autocad_viewport_center_point_x.

中心点的X轴坐标(在纸张空间WCS坐标中)。

范围:64-bit floating point number

autocad_viewport_center_point_y.

中心点的Y轴坐标(在纸张空间WCS坐标中)。

范围:64-bit floating point number

autocad_viewport_center_point_z.

中心点的z轴坐标(纸张空间WCS坐标)。

范围:64-bit floating point number

autocad_viewport._circle_sides

圆圈缩放百分比;在显示曲线AutoCAD应用程序时控制侧面的数量。

范围:20000……

autocad_viewport._contrast

对比度(相对于其他灯)的对比度(环境光的强度)。

范围:-10 ... 10.

autocad_viewport_custom_scale.

The custom scale factor. Defines the relationship between paper space units and units in the viewport. A custom scale of 0.5 would indicate that 1 unit in the viewport is 0.5 units in the paper space.

范围:64-bit floating point number

autocad_viewport._default_lighting

表示默认照明是否已打开。

范围:是的不

autocad_viewport_default_lighting_type.

在视口中使用的默认照明类型。

范围:0为旧类型|1用于新类型

autocad_viewport_front_clip.

指示前剪裁平面是否打开。

范围:是的不

autocad_viewport_front_clip_eye.

Indicates whether the front clipping plane is currently located at the camera.

范围:是的不

autocad_viewport_front_clip_distance.

The distance (along the camera-target line) from the target to the front clipping plane. Positive values indicate that the clipping plane is in front of the target (between target and camera), negative values indicate that the clipping plane is behind the target.

范围:64-bit floating point number

autocad_viewport_grid.

指示网格是否已打开。

范围:是的不

autocad_viewport_grid_adaptive.

指示网格是否适应在视口中显示更少的行。

范围:是的不

autocad_viewport_grid_bound_limits.

指示网格是否超出了WCS和UC在视口中的限制。

范围:是的不

autocad_viewport_grid_follow

Indicates whether the grid will follow a dynamic UCS change in the viewport.

范围:是的不

autocad_viewport_grid._increment_x

网格的X轴间隔(绘图单元)。

范围:64-bit floating point number

autocad_viewport_grid._increment_y

网格的Y轴间隔(绘图单元)。

范围:64-bit floating point number

autocad_viewport_grid_major.

视口中每个主要网格线之间的次要网格线数。

范围:1...100

autocad_viewport_grid_subdivision_recrestrict

指示在视口中的次要网格间距下方是否允许细分。

范围:是的不

autocad_viewport._height

The height of the viewport entity (in paper space WCS units).

范围:64-bit floating point number

autocad_viewport._hidden_lines_removed

表示在绘制视口实体期间是否应删除隐藏线。

范围:是的不

autocad_viewport_lens_length.

透视模式为视口实体开启时使用的镜头长度。

范围:64位浮点数大于0.0

autocad_viewport_locked.

指示视口实体的比例是否已被锁定。

范围:是的不

autocad_viewport_non_rect_clip.

Indicates whether non-rectangular clipping is currently turned on.

范围:是的不

autocad_viewport_non_rect_clip._handle

The handle of the non-rectangular clipping entity which is associated with the viewport entity.

范围:char [50]

autocad_viewport_on.

指示视口实体是否打开或关闭。

范围:是的不

autocad_viewport_perspective.

Indicates whether or not the perspective mode is on.

范围:是的不

autocad_viewport._plot_style_sheet

在本机应用程序中查看时,适用于通过视口看到的对象的样式表的名称。

范围:细绳

autocad_viewport_resolved_target_x.

The x coordinate of the resolved target of the viewport entity; takes into account the view target, the view center, the view direction, and twist angle.

范围:64-bit floating point number

autocad_viewport_resolved_target_y.

The y coordinate of the resolved target of the viewport entity; takes into account the view target, the view center, the view direction, and twist angle.

范围:64-bit floating point number

autocad_viewport_resolved_target_z.

The z coordinate of the resolved target of the viewport entity; takes into account the view target, the view center, the view direction, and twist angle.

范围:64-bit floating point number

autocad_viewport._shade_plot

阴影绘图模式指定如何绘制视口实体。

范围:As Displayed | Wireframe | Hidden | Rendered | Visual Style | Render Preset

autocad_viewport_snap.

表示捕捉模式是否在。

范围:是的不

autocad_viewport_snap_angle.

捕捉角度(以度为单位)。捕捉角在UCS XY平面内,从正UCS X轴逆时针测量的正角度。

范围:64-bit floating point number

autocad_viewport_snap_base_point_x.

Snap基点的X轴坐标(在UCS坐标中)。

范围:64-bit floating point number

autocad_viewport_snap_base_point_y.

The y-axis coordinate of the snap base point (in UCS coordinates).

范围:64-bit floating point number

autocad_viewport_snap_increment_x.

The x spacing of the snap grid.

范围:64-bit floating point number

autocad_viewport_snap_increment_y.

扣环的Y间距。

范围:64-bit floating point number

autocad_viewport_snap._iso_pair

The snap IsoPair (which indicates the current isometric plane) setting. Used when autocad_viewport_snap_isometric is set to Yes.

范围:0对于左外肌肉|1顶部肌底板|2对于右溜溜球

autocad_viewport_snap_isometric.

指示捕捉模式是否当前设置为等距。

范围:是的不

autocad_viewport_standard_scale.

The scale of the view of the viewport entity when viewed with an AutoCAD application.

范围:规模适合|定制|1:1 |1:2 |1:4 |1:5 |1:8 |1:10 |1:16 |1:20 | 1:30 | 1:40 | 1:50 | 1:100 | 2:1 | 4:1 | 8:1 | 10:1 | 100:1 | 1/128" = 1'-0" | 1/64" = 1'-0" | 1/32" = 1'-0" | 1/16" = 1'-0" | 3/32" = 1'-0" | 1/8" = 1'-0" | 3/16" = 1'-0" | 1/4" = 1'-0" | 3/8" = 1'-0" | 1/2" = 1'-0" | 3/4" = 1'-0" | 1" = 1'-0" | 1-1/2" = 1'-0" | 3" = 1'-0" | 6" = 1'-0" | 1'-0" = 1'-0" |

autocad_viewport._twist_angle The twist angle (in degrees) of the view of the viewport entity when viewed within an AutoCAD application. The twist angle is a rotation around the view's line of sight (line from camera to target); positive angles measured counter-clockwise from the right horizontal axis. Range: 64-bit floating point number
autocad_viewport_ucs_elevation.

The elevation of the UCS plane.

范围:64-bit floating point number

autocad_viewport._ucs_follow_mode

Indicates whether the viewport entity is set to generate and display a plan view in an AutoCAD application whenever the UCS changes in the viewport.

范围:是的不

autocad_viewport._ucs_icon_origin

Indicates whether the viewport entity is set to have the UCS icon follow the current UCS origin.

范围:是的不

autocad_viewport._ucs_icon_visible

Indicates whether the viewport entity is set to have the UCS icon display.

范围:是的不

autocad_viewport._ucs_origin_x

The x coordinate of the origin point for the UCS of the viewport entity.

范围:64-bit floating point number

autocad_viewport._ucs_origin_y

视口实体UCS的原始点的Y坐标。

范围:64-bit floating point number

autocad_viewport._ucs_origin_z

视口实体UCS的原始点的z坐标。

范围:64-bit floating point number

autocad_viewport_ucs_xdir_x.

视口实体UCS的X轴的x坐标。

范围:64-bit floating point number

autocad_viewport_ucs_xdir_y.

The y coordinate of the x-axis for the UCS of the viewport entity.

范围:64-bit floating point number

autocad_viewport_ucs_xdir_z.

视口实体UCS的X轴的Z坐标。

范围:64-bit floating point number

autocad_viewport_ucs_ydir_x.

y轴的x坐标用于视口实体的UCS。

范围:64-bit floating point number

autocad_viewport_ucs_ydir_y.

The y coordinate of the y-axis for the UCS of the viewport entity.

范围:64-bit floating point number

autocad_viewport_ucs_ydir_z.

用于视口实体的UCS的Y轴的z坐标。

范围:64-bit floating point number

autocad_viewport_ucs_saved_with_viewport.

指示是否存在使用视口实体保存的UCS。

范围:是的不

autocad_viewport_view_center_x.

视口实体中视图的视图显示(在显示坐标系坐标)的x坐标。

范围:64-bit floating point number

autocad_viewport_view_center_y.

视口实体视图中的视图显示(在显示坐标系坐标)的Y坐标。

范围:64-bit floating point number

autocad_viewport._view_direction_x

从视图的目标到视口实体的视图的目标,向量(模型空间WCS坐标中的X坐标)。

范围:64-bit floating point number

autocad_viewport._view_direction_y

从视图的目标到视图实体的视图的视图相机,向量(模型空间WCS坐标)的Y坐标。

范围:64-bit floating point number

autocad_viewport._view_direction_z

The z coordinate of the vector (in model space WCS coordinates) from the view's target to the view's camera of the viewport entity.

范围:64-bit floating point number

autocad_viewport._view_height

视口实体内模型空间视图的高度(模型空间UCS坐标)。

范围:64-bit floating point number

autocad_viewport._view_target_x

视图实体的视图目标的位置(模型空间WCS坐标中的x坐标。

范围:64-bit floating point number

autocad_viewport._view_target_y

视图实体的视图目标的位置(模型空间WCS坐标中的Y坐标。

范围:64-bit floating point number

autocad_viewport._view_target_z

视图实体的视图目标的位置(模型空间WCS坐标中的z坐标。

范围:64-bit floating point number

autocad_viewport_width.

纸张空间单元中视口实体的宽度。

范围:64-bit floating point number