span8
span4
An AutoCAD Layout allows you to set a view of the AutoCAD model suitable for printing.Layouts often include text and symbols surrounding one or more viewports of the model and are designed in paper space.For a more in-depth explanation of layouts,please see the AutoCADonline documentation.
Example of an AutoCAD layout,showing viewport and surround graphics
FME目前只能将功能和视区添加到模板文件中的现有布局中,but not create new layouts.
While the model data is measured in real-world coordinates,paper space is measured in inches or mm on the output page.Thus when we read the paper space along with the model space,the paper space features are clustered tightly around 0,0.
When we add features to the layout,它们需要定位并缩放到图纸空间坐标。The layout's origin will be in in the lower left corner,大小将基于输出页面大小(即8.5" x 11").
A viewport is a window on the model data.It will have a center point,height and width measured in page units,but it will also have a center point,height and width of its bounds within model space,以模型单位测量。
To create a viewport in FME requires the following attributes:
autocad_entity - set to ‘autocad_viewport'autocad_space - The name of the Layout to be placed inautocad_viewport_on - set to ‘Yes'autocad_viewport_center_point_x,_y,_z - location of viewport center in page unitsautocad_viewport_height - height of viewport in page unitsautocad_viewport_width - width of viewport in page unitsautocad_viewport_view_center_x,_ Y-模型单元中视区中心的位置Sautocad_Viewport_Custom_Scale-视区的比例,以每个模型单元的页面单位表示
If the page units are in inches,and the model units are in meters,打印比例为1:5000将得到一个autocad_viewport_custom_比例:
(meters/inch)/5000 = 39.3701/5000 = 0.00787402
Given the paper space center,height and width,FME's AutoCAD writer will use the scale to calculate the model space height and width around the view center.
The attached example workspace will convert a Water Geodatabase to AutoCAD,while populating layouts with a surround block and viewport based on a Shape file of tile boundaries.The surround block's attributes are filled as well,with the layout scale,title,and date.
Reading and Writing AutoCAD Text & MText Features
Give Your DWG Some Style: Using the DWGStyler,模板文件,块和更多
Tutorial: AutoCAD Transformations
Viewing and Inspecting AutoCAD DWG Data: Handling Blocks
Polygon Within a Distance of Selected Features
MicroStation Cells to AutoCAD Blocks
How to Convert DWG to DGN (AutoCAD to Microstation)
Map and Map Feature Annotation
© 2019 亚搏在线Safe Software Inc |Legal