几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】how can supress default viewport and layouts (http://www.dimcax.com/hust/showthread.php?t=16566)

yang686526 2009-05-05 12:24 PM

【转帖】how can supress default viewport and layouts
 
how can supress default viewport and layouts
how can supress default viewport and layouts
hallo,
if we export a dwg/dxf with no viewport and layout the dwg/dwf file includes default viewports and default layouts.
viewports
-------------------------------------
0_1_1,0_1_2,0_1_3,0_2_4 or similar
layouts
-----------------------------------------------------
ddtlayout, layout, layout2
can i supress this !!!
how can i do this !!!
dwgdirect creates default empty drawing with 3 layouts: model, layout1 and layout 2. one of paper layout can be erased but valid drawing must contain model layout and at least one paper layout.
dwgdirect does not create viewport entities in layouts untill you do it yourself. the only exception is if you activate a paper layout for the first time (for example by changing tilemode variable). at this moment overall viewport is created if you switched to paper space for the first time.
sergey slezkin


所有的时间均为北京时间。 现在的时间是 04:15 AM.