Problems with translation during plotting

Discussion in 'AutoCAD' started by Tony Nichols, Dec 6, 2004.

  1. Tony Nichols

    Tony Nichols Guest

    Can someone tell me if when you use the “–plot†command at the command line and when you enter the plot area by window and specific the coordinates if absolute or relative coordinates are used in AutoCAD 2000? What if Mechanical Desktop has been used to produce the drawing? Does that change things?

    I have a plotting VBA routine written that finds all the lines entities on non-frozen layers and sorts through the lines to find the upper and lower points to create the plot window. Then it inputs the two points into the “–plot†command and executes the plot routine to write a PLT file.

    I am having a problem when the coordinates are written to the “–plot†command they seem to translate and my resultant plot file only contains a portion of the real dwg file. I have a checking routine that creates a dynamically drawn rectangle based on the found window coordinates and it is dead nuts on finding the proper window.

    For a quick test I drew a rectangle based on the coordinates found in the window finding routine, then I ran the plot routine in a dialog box and selected the corners of the rectangle. Then I ran the “–plot†command and stepped through line by line and low and behold the coordinates that where saved in the plot routine where different than the coordinates I used to draw the rectangle.

    I checked to make sure the UCS was set to world and it was but I am still getting the translation problem. The crazy thing is the program works on 90% of the existing files without a hitch. I tried running the problem file in AutoCAD 2002 and I get perfect window results.

    Any assistance on translation issues that Mechanical Desktop may create would be greatly appreciated. Maybe I am following the wrong lead, if anyone has similar experience with such a problem I am interested in learning about the fix for the problem.

    Regards,
    Tony Nichols
     
    Tony Nichols, Dec 6, 2004
    #1
  2. Tony Nichols

    bmeier Guest

    Hello Tony

    I have the same Problem, do you have still no answer?


    Regards

    Bruno Meier
     
    bmeier, Feb 18, 2005
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.