Jump to content

Recommended Posts

Posted

I have searched the Internet for any possible combination of AutoCAD DisplayDCS and I have also searched the help. However, there does not seem to be any good site that explains what this coordinate system is. It is located in an option for "TranslateCoordinates". I am pretty sure DCS stands for Display Coordinate System; but how is it determined?

 

It has something to do with the plot window in model space and I can imagine acPaperSpaceDCS must be the coordinates a viewport looks at in Model Space.

 

However, I am interested in DisplayDCS since I am trying to print a window in Model Space using the following code.

 

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

 

The variables in this code are correct; but after some coding and using the TranslateCoordinates I realize the SetWindowToPlot & GetWindowToPlot are printing in DCS. I tried to move the graphiics into this area, only to find out that the DisplayDCS has also moved.

 

So, is there anyone here who can help me understand the DisplayDCS coordinate system?

 

Thanks and sorry for this rant there has been a lot of "blood on the wall" trying to get to the bottom of this.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...