DMIS Import Changes Dimension into Comment

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DMIS Import Changes Dimension into Comment

    I've run into an issue when importing a DMIS file, so I decided to do an experiment. I created a program with one surface point and a dimension of that point.
    Exported DMIS.JPG
    I exported this as a DMIS file. Then, I imported that same file back into PC-DMIS using the Replace option. Here's what happened.
    Imported DMIS.JPG
    In addition to the extra stuff at the beginning, it converted the dimension to a comment. Can anyone explain what's going on here? TIA

    Here's the code from the exported DMIS file.

    Code:
    DMISMN/'DMS_EXPORT_WTF',05.3
    $$ PCD_PART_PROGRAM: PC-DMIS generated DMIS file
    $$ REV NUMBER :
    $$ SER NUMBER :
    $$ STATS COUNT : 1
    
    UNITS/INCH,ANGDEC
    INCLUD/DMIS,'PCD_DMIS_DEFINES.DMI'
    V(PCD_EWPO)=VFORM/ALL
    DID(PCD_EWPO_DEVICE)=DEVICE/STOR,'001.RTF'
    OPEN/DID(PCD_EWPO_DEVICE),FDATA,V(PCD_EWPO),OUTPUT
    
    $$ PCD_DMIS_REPOST:OFF
    V(1)=VFORM/ALL
    DISPLY/TERM,V(1)
    $$ PCD_DMIS_REPOST:ON
    DMESW/COMAND,'PCDOPT/PressEndKey,ON'
    DMESW/COMAND,'PCDOPT/MinutesToSave,0'
    DMESW/COMAND,'PCDOPT/AutoFileSave,OFF'
    DMESW/COMAND,'PCDOPT/AutoAdjustProbeHeadWrist,OFF'
    DMESW/COMAND,'PCDOPT/IgnoreCADtoPart,OFF'
    DMESW/COMAND,'PCDOPT/ResetGlobalSettings,ON'
    DMESW/COMAND,'PCDOPT/MoveFeatureToRefPlane,OFF'
    DMESW/COMAND,'PCDOPT/ExtendSheetMetal,OFF'
    DMESW/COMAND,'PCDOPT/FixedDialogPositions,OFF'
    DMESW/COMAND,'PCDOPT/LockMarkedSets,OFF'
    DMESW/COMAND,'PCDOPT/AutoScaleToFit,ON'
    DMESW/COMAND,'PCDOPT/ShowHitDeviations,OFF'
    DMESW/COMAND,'PCDOPT/AllowFineTuningOfAlignment,ON'
    DMESW/COMAND,'PCDOPT/FindNominalsDuringExection,OFF'
    DMESW/COMAND,'PCDOPT/AutoContinueExecutionFileHole,OFF'
    DMESW/COMAND,'PCDOPT/ShowIconInTextBox,OFF'
    DMESW/COMAND,'PCDOPT/SavePartProgramOnExecute,OFF'
    DMESW/COMAND,'PCDOPT/MakeVariablesGloballyVisible,OFF'
    DMESW/COMAND,'PCDOPT/ExecFindNominalsTolerance,0.0098'
    DMESW/COMAND,'PCDOPT/ShowCmdFeature,ON'
    DMESW/COMAND,'PCDOPT/ShowCmdAlignments,ON'
    DMESW/COMAND,'PCDOPT/ShowCmdMoves,ON'
    DMESW/COMAND,'PCDOPT/ShowCmdComments,ON'
    DMESW/COMAND,'PCDOPT/ShowCmdDimensions,ON'
    DMESW/COMAND,'PCDOPT/ShowCmdHits,ON'
    DMESW/COMAND,'PCDOPT/ShowCmdHeaderFooter,ON'
    DMESW/COMAND,'PCDOPT/ShowCmdTips,ON'
    DMESW/COMAND,'PCDOPT/ShowRptFeature,OFF'
    DMESW/COMAND,'PCDOPT/ShowRptAlignments,OFF'
    DMESW/COMAND,'PCDOPT/ShowRptMoves,OFF'
    DMESW/COMAND,'PCDOPT/ShowRptComments,ON'
    DMESW/COMAND,'PCDOPT/ShowRptDimensions,ON'
    DMESW/COMAND,'PCDOPT/ShowRptOldStyleDimensions,OFF'
    DMESW/COMAND,'PCDOPT/ShowRptHeaderFooter,ON'
    DMESW/COMAND,'PCDOPT/ShowRptScreenCapture,ON'
    DMESW/COMAND,'PCDOPT/PrintToFile,PDF'
    DMESW/COMAND,'PCDOPT/Printer,OFF'
    DMESW/COMAND,'PCDOPT/DMISOutput,OFF'
    DMESW/COMAND,'PCDOPT/AbsoluteSpeeds,ON'
    DMESW/COMAND,'PCDOPT/IgnoreMotion,OFF'
    DMESW/COMAND,'PCDOPT/ManualRetract,2.54'
    DMESW/COMAND,'PCDOPT/TopSpeed,0'
    DMESW/COMAND,'PCDOPT/TableAvoidance,OFF'
    DMESW/COMAND,'PCDOPT/FindNomsTol,10'
    DMESW/COMAND,'PCDOPT/Thickness,2.54'
    DMESW/COMAND,'PCDOPT/DevMultArrow,1'
    DMESW/COMAND,'PCDOPT/UseDmisPolarConvention,OFF'
    $$ PCD_REPOST_IGNORE:
    DECL/GLOBAL,DOUBLE,PCD_DOUBLE
    $$ PCD_REPOST_IGNORE:
    DECL/GLOBAL,INTGR,PCD_INTGR
    D(STARTUP)=DATSET/MCS
    SAVE/DA(STARTUP)
    
    MODE/MAN
    
    $$ PCD_DIMENSION_FORMAT:6891:1:2:3:5:6:0:0
    V(L1)=VFORM/NOM,ACT,DEV,AMT
    
    DMESW/COMAND,'COP1=COP/DATA,TOTAL SIZE=1188,REDUCED SIZE=1188,,$
    REF=,'
    
    $$ PCD_LOADPROBES:1,RSX
    SNSMNT/XVEC,0,-1,0,ZVEC,0,0,1,MNTLEN,0,0,0
    DMESW/COMAND,'LOADPROBE/RSX'
    S(TIP1)=SNSDEF/PROBE,FIXED,CART,0,0,-7.9921,0,0,1,0
    
    SNSLCT/SA(TIP1)
    
    DMESW/COMAND,'POINT1_0=FEAT/LASER/SURFACE POINT/DEFAULT,POLAR,$
    THEO/4.672,129.9996,-6.1,0.7778312,-0.0304325,-0.627736,$
    ACTL/4.672,129.9996,-6.1,0.7778312,-0.0304325,-0.627736,$
    TARG/4.672,129.9996,-6.1,0.7778312,-0.0304325,-0.627736,$
    SHOW FEATURE PARAMETERS=NO,$
    SHOW_LASER_PARAMETERS=YES,$
    REFERENCE ID=COP1,$
    SOUND=ON,$
    HORIZONTAL CLIPPING=0.0787,VERTICAL CLIPPING=0.15,$
    OUTLIER_REMOVAL=ON,10,$
    REMOVE POINTS WITH NORMALS OUTSIDE=ON,75'
    
    T(POINT1_0R__PR)=TOL/CORTOL,RADIUS,-0.03,0.03
    
    OUTPUT/FA(POINT1_0),TA(POINT1_0R__PR)
    ENDFIL

  • #2
    Yeah, good luck with using DMIS in or out. Pcdmis is not DMIS code, none of it, so it does a lot of 'guessing' when exporting and importing.
    sigpic
    Originally posted by AndersI
    I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

    Comment


    • #3
      Me personally, I would switch to COMMAND mode before exporting to DMIS. Just my humble not really internet DEMON jockey opinion
      Xcel & MicroVal Pfx & Global 37mr4 thru 2012mr1sp3
      Contura Calypso 5.4

      Lord, keep Your arm around my shoulder and Your hand over my mouth. Amen.

      Comment


      • #4
        There are 3 modes for DMIS export. It looks like you are using the flex output, which I've never had success with. It's supposed to create macros for auto features, Or that could be the DMIS command mode.
        I would suggest using Legacy, especially if you just have standard measured features. It will create a simple DMIS output that most software can work with.
        PC-DMIS 2016.0 SP8

        Jeff

        Comment


        • #5
          Does that also happen if you create a new (empty) program and imports the same DMIS file?
          PC-DMIS CAD++ 2o19 R1 SP11

          Comment

          Related Topics

          Collapse

          Working...
          X