Olhado_ 发表于 2022-7-6 12:58:04

什么是DisplayDCS?

我在互联网上搜索了AutoCAD DisplayDCS的任何可能组合,也搜索了帮助。然而,似乎没有任何好的地点来解释这个坐标系是什么。它位于“平移坐标”选项中。我很确定DCS代表显示坐标系;但如何确定呢?
 
它与模型空间中的绘图窗口有关,我可以想象acPaperSpaceDCS一定是视口在模型空间中看到的坐标。
 
然而,我对DisplayDCS感兴趣,因为我正在尝试使用以下代码在模型空间中打印窗口。
 

With Application.ActiveDocument.ModelSpace.layout
       .ConfigName = strPrinter
       .StyleSheet = strStyleSheet
       .CenterPlot = True
       .StandardScale = ac1_1
       .ScaleLineweights = True
       .SetWindowToPlot dblLowerLeft, dblUpperRight
       .GetWindowToPlot dblLowerLeft, dblUpperRight
       .PlotType = acWindow
       .CanonicalMediaName = strPaperSize
       .RefreshPlotDeviceInfo
   End With

 
该代码中的变量正确;但是在一些编码和使用TranslateCoordinates之后,我意识到SetWindowToPlot和GetWindowToPlot正在DCS中打印。我试图将图形移到这个区域,结果发现DisplayDCS也移动了。
 
这里有人能帮我理解DisplayDCS坐标系吗?
 
谢谢你,很抱歉,有很多“墙上的血”试图弄清真相。
页: [1]
查看完整版本: 什么是DisplayDCS?