hexagon logo

Size Feature and DataPage

FYI

The new size feature in PC-DMIS 2017 R1 does not import into DataPage+ 5.2 SP1. I use an external command to call up the DataPageStats.exe file. I have submitted a ticket about this into Tech Support.

UPDATE from Tech Support: The external command to DataPageStats.exe does not work, however the STATS/ON does work. He will be submitting a ticket to the software development group to fix this issue.
Parents
  • A temporary workaround is to GETTEXT the two values, create generic features from them and dimension that.
    (Sorry, in Swedish, but I think you get it...)

    
    The feature
    
    CYL1       =ELEMENT/CYLINDER,REKTANGULÄRA,INRE,GAUSS,NEJ
                TEOR/<124,50,-6>,<0,0,-1>,60.493,10
                MÄTT/<124,50,-6>,<0,0,-1>,60.493,10
                KONSTR/CYLINDER,BA,CIR1,CIR2,CIR3,,
    
    Dimension size
    
    SIZE4      =STORLEK/
                UTSKRIFT=BÅDA, ENHETER=MM, STANDARD: ISO 14405-1
                LÄGE FÖR TOLERANSSPECIFIKATION: NOMINELL_MED_AVVIKELSER
                NOMINELL STORLEK: 60.493
                ÖVRE TOLERANS: 0.05,__
                LOWER TOLERANCE: -0.05,LP,__
                ÖVRE STORLEK: 60.5
                UNDRE STORLEK: 60.48
                ELEMENT: CYL1
    
    Get the UPPER and LOWER values
    
                TILLDELA/UPPER_SIZE=GETTEXT(1049, 0, {SIZE4})
                TILLDELA/LOWER_SIZE=GETTEXT(1050, 0, {SIZE4})
    
    Construct two generic feature
    
    SIZE4__UPPER=ALLMÄN/CYLINDER,BEROENDE,REKTANGULÄRA,YTTRE,$
                NOM/XYZ,<CYL1.TX,CYL1.TY,CYL1.TZ>,$
                MÄTT/XYZ,<CYL1.X,CYL1.Y,CYL1.Z>,$
                NOM/IJK,<CYL1.TI,CYL1.TJ,CYL1.TK>,$
                MÄTT/IJK,<CYL1.I,CYL1.J,CYL1.K>,$
                DIAMETER/CYL1.TDIAM,UPPER_SIZE,$
                AVSTÅND/CYL1.TLENGTH,CYL1.LENGTH
    
    SIZE4_LOWER=ALLMÄN/CYLINDER,BEROENDE,REKTANGULÄRA,YTTRE,$
                NOM/XYZ,<CYL1.TX,CYL1.TY,CYL1.TZ>,$
                MÄTT/XYZ,<CYL1.X,CYL1.Y,CYL1.Z>,$
                NOM/IJK,<CYL1.TI,CYL1.TJ,CYL1.TK>,$
                MÄTT/IJK,<CYL1.I,CYL1.J,CYL1.K>,$
                DIAMETER/CYL1.TDIAM,LOWER_SIZE,$
                AVSTÅND/CYL1.TLENGTH,CYL1.LENGTH
    
    Dimension
    
    UTV LOC1= ELEMENTEGENSKAPER FÖR CYLINDER SIZE4__UPPER  ENHETER=MM ,$
    GRAF=AV  TEXT=AV  MULT=10.00  UTSKRIFT=BÅDA  HALV VINKEL=NEJ
    AX  NOMINELLT       +TOL       -TOL       MÄTT          AVV    UTOMTOL
    X      124.000      0.050     -0.050    124.000      0.000        0.000
    Y       50.000      0.050     -0.050     50.000      0.000        0.000
    Z       -6.000      0.050     -0.050     -6.000      0.000        0.000
    D       60.493      0.050     -0.050     60.500      0.007        0.000
    SLUT PÅ UTVÄRDERING LOC1
    
    UTV LOC2= ELEMENTEGENSKAPER FÖR CYLINDER SIZE4_LOWER  ENHETER=MM ,$
    GRAF=AV  TEXT=AV  MULT=10.00  UTSKRIFT=BÅDA  HALV VINKEL=NEJ
    AX  NOMINELLT       +TOL       -TOL       MÄTT          AVV    UTOMTOL
    D       60.493      0.050     -0.050     60.480     -0.013        0.000
    SLUT PÅ UTVÄRDERING LOC2
    
    
    
Reply
  • A temporary workaround is to GETTEXT the two values, create generic features from them and dimension that.
    (Sorry, in Swedish, but I think you get it...)

    
    The feature
    
    CYL1       =ELEMENT/CYLINDER,REKTANGULÄRA,INRE,GAUSS,NEJ
                TEOR/<124,50,-6>,<0,0,-1>,60.493,10
                MÄTT/<124,50,-6>,<0,0,-1>,60.493,10
                KONSTR/CYLINDER,BA,CIR1,CIR2,CIR3,,
    
    Dimension size
    
    SIZE4      =STORLEK/
                UTSKRIFT=BÅDA, ENHETER=MM, STANDARD: ISO 14405-1
                LÄGE FÖR TOLERANSSPECIFIKATION: NOMINELL_MED_AVVIKELSER
                NOMINELL STORLEK: 60.493
                ÖVRE TOLERANS: 0.05,__
                LOWER TOLERANCE: -0.05,LP,__
                ÖVRE STORLEK: 60.5
                UNDRE STORLEK: 60.48
                ELEMENT: CYL1
    
    Get the UPPER and LOWER values
    
                TILLDELA/UPPER_SIZE=GETTEXT(1049, 0, {SIZE4})
                TILLDELA/LOWER_SIZE=GETTEXT(1050, 0, {SIZE4})
    
    Construct two generic feature
    
    SIZE4__UPPER=ALLMÄN/CYLINDER,BEROENDE,REKTANGULÄRA,YTTRE,$
                NOM/XYZ,<CYL1.TX,CYL1.TY,CYL1.TZ>,$
                MÄTT/XYZ,<CYL1.X,CYL1.Y,CYL1.Z>,$
                NOM/IJK,<CYL1.TI,CYL1.TJ,CYL1.TK>,$
                MÄTT/IJK,<CYL1.I,CYL1.J,CYL1.K>,$
                DIAMETER/CYL1.TDIAM,UPPER_SIZE,$
                AVSTÅND/CYL1.TLENGTH,CYL1.LENGTH
    
    SIZE4_LOWER=ALLMÄN/CYLINDER,BEROENDE,REKTANGULÄRA,YTTRE,$
                NOM/XYZ,<CYL1.TX,CYL1.TY,CYL1.TZ>,$
                MÄTT/XYZ,<CYL1.X,CYL1.Y,CYL1.Z>,$
                NOM/IJK,<CYL1.TI,CYL1.TJ,CYL1.TK>,$
                MÄTT/IJK,<CYL1.I,CYL1.J,CYL1.K>,$
                DIAMETER/CYL1.TDIAM,LOWER_SIZE,$
                AVSTÅND/CYL1.TLENGTH,CYL1.LENGTH
    
    Dimension
    
    UTV LOC1= ELEMENTEGENSKAPER FÖR CYLINDER SIZE4__UPPER  ENHETER=MM ,$
    GRAF=AV  TEXT=AV  MULT=10.00  UTSKRIFT=BÅDA  HALV VINKEL=NEJ
    AX  NOMINELLT       +TOL       -TOL       MÄTT          AVV    UTOMTOL
    X      124.000      0.050     -0.050    124.000      0.000        0.000
    Y       50.000      0.050     -0.050     50.000      0.000        0.000
    Z       -6.000      0.050     -0.050     -6.000      0.000        0.000
    D       60.493      0.050     -0.050     60.500      0.007        0.000
    SLUT PÅ UTVÄRDERING LOC1
    
    UTV LOC2= ELEMENTEGENSKAPER FÖR CYLINDER SIZE4_LOWER  ENHETER=MM ,$
    GRAF=AV  TEXT=AV  MULT=10.00  UTSKRIFT=BÅDA  HALV VINKEL=NEJ
    AX  NOMINELLT       +TOL       -TOL       MÄTT          AVV    UTOMTOL
    D       60.493      0.050     -0.050     60.480     -0.013        0.000
    SLUT PÅ UTVÄRDERING LOC2
    
    
    
Children
  • Just a FYI, in v2017 R2 we have added "proper" expression support for SIZE rather then using GETTEXT (which also works well as seen here).

    ASSIGN/UPPER_SIZE=SIZE4.UPPER.MEAS
    ASSIGN/LOWER_SIZE = SIZE4.LOWER.MEAS

    The other typical expressions (.DEV / .TOL / .OUTOL) are there as well. Expression builder has the full list if interested.