DXF Output - Round Off Errors

 
  • I am outputting dxf files from Draft, and I am getting significant digit errors.

    Example: The distance between two columns in the model is 9500mm.  When I export to dxf using Utilities -> DXF CE, it comes out to be 9499.95mm.

    Anyone else having this problem?

    Bonus question: Is there a way to set the precision somewhere to correct for this?  I have already tried using the SCALEUP as described in section 7.2.6 on page 7-4 in the Draft User Guide, Part 1.
  • see Reference Manual Part1, 3.5.2 Setting Output of Distance Units
    The command is PRECISION.  Set it accordingly before you export the DXF.
    Give that a try.

    Nerdy..
  • In Standard DXF Output window mark Scale Up at least to 1. Other way you'll have all drawing in one square mm and after magnifying it in Autocad all dimensions will be wrong (with very raw precision).
  • [QUOTE=nerdy;18949]see Reference Manual Part1, 3.5.2 Setting Output of Distance Units
    The command is PRECISION.  Set it accordingly before you export the DXF.
    Give that a try.

    Nerdy..

    We already looked into this, and are testing some outputs having increased our precision to 8 significant digits.  I think the default is 2.  I am curious to know what is meant by the note in the box under the section heading of 3.5.2

    NOTE: You must not change the precision if you are customising the AVEVA Applicationware. You should only use this command if you are writing a completely new application.

    Ok, does this mean "do not touch?"

    [QUOTE=nerdy;18951]Setting up the scale will get you the DXF you need.  I think it will not get you around the dimensions.  If you are setting a dimension on AutoCad then you need to setup the dimension style, primary unit > Precision to '0'.

    If you are dimension them in DRAFT, got to LAYER and set the PCODE to 0 dpls.  That will bring you to the value you require.

    However, you may want to just move the column and update the DXF once more.  Your choice.

    Nerdy..

    I have checked all of the positional data in Design.  All of the geometry is located correctly, and sizes are dead on as well.  I have also checked in Draft, and all dimensions are coming up correctly.  What I am finding is that the error is being introduced in the conversion to DXF.  A box that is exactly 1000mm on each side in PDMS is coming out to 999.99mm on each side in the DXF.  The wacky part is that it isn't on all the geometry, just some of them.

    Now, to me this is setting the precision on the dimensions in AutoCAD... done deal.  However, I'm having to battle the perception among some users that PDMS is somehow not accurate.

    Unfortunately it is a contract requirement by the customer on this project that we must produce DWG files of our drawings.

    My favorite part of all of this is the wording regarding scaling DXF's in the PDMS Draft User Guide, Part 1, Section 7.2.6 Scaling.  Very last sentence in the paragraph:

    "This option allows the effects of VIEW scaling to be reversed to some extent."

    I love it.  I probably would have written the same documentation myself.:sarcastic:
  • Setting up the scale will get you the DXF you need.  I think it will not get you around the dimensions.  If you are setting a dimension on AutoCad then you need to setup the dimension style, primary unit > Precision to '0'.

    If you are dimension them in DRAFT, got to LAYER and set the PCODE to 0 dpls.  That will bring you to the value you require.

    However, you may want to just move the column and update the DXF once more.  Your choice.

    Nerdy..
  • while making DXF out give the scale up as per your drawing scale & do not select paper size A1 A2 etc !! see the result will be accurate

    Regards

    Rafique
  • plot shee dxf /C:/TEMP/*.dxf scaleup 0.03937007874015 cut off overwrite
    This doest quite come out as a true 22x34 drawing.
    What is the syntax to DXF out at D size paper
  • plot shee dxf /C:/temp/test.dxf EUC 34 22 cut off overwrite

    This creates a dxf the size I want but any line with NLStyle SolidThick with print Very Thick

    If i use the for and pick Default it is OK but when I select D for paper size lines are thinck, see pick.

    2.PNG

    PDMS 12