Datum Definition from a Feature Set, you dont want to do it!

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

  • Datum Definition from a Feature Set, you dont want to do it!

    I just lost a program Ive been working on for two days and of course I like need it yesterday...

    Word of caution, NEVER add a Datum Definition to your program from a set of features. As soon as you use it in a dimension all of your program code below that feature set will be deleted... Nice huh...

    This is new feature in v4.1 must be called the Auto Destruct sequence, unfortunately you dont get the sexy voice counting down to keep you calm, it just blows up.

    I guess its break time!!!
    Mr. Comment
    SCIROCCO-NT 13-20-10
    B3C-LC Controller (Leitz Protocol), SP600M, TP200
    PCDMIS CAD++ v4.3 MR1(Build: 12/11/08)
    sigpic

  • #2
    Originally posted by MrComment
    .......This is new feature in v4.1 must be called the Auto Destruct sequence.......
    Yes it is reported to be the number one cause of a condition known as "smash mode".

    This is the kind of stuff I was talking about in the "I hate PCDMIS, MM is the bomb" thread. I just do not believe that the advancement of CAD integration is going to fix these code problems.
    <internet bumper sticker goes here>

    Comment


    • #3
      sweet enhancement......sucks man...sorry
      sigpic.....Its called golf because all the other 4 letter words were taken

      Comment


      • #4
        Originally posted by MrComment View Post
        I just lost a program Ive been working on for two days and of course I like need it yesterday...

        Word of caution, NEVER add a Datum Definition to your program from a set of features. As soon as you use it in a dimension all of your program code below that feature set will be deleted... Nice huh...

        This is new feature in v4.1 must be called the Auto Destruct sequence, unfortunately you dont get the sexy voice counting down to keep you calm, it just blows up.

        I guess its break time!!!
        Sorry for your loss.

        Can you explain a little further what steps you took. I'll try to recreate it and see what happens in 4.2?
        sigpic

        James Mannes

        Comment


        • #5
          This how code looks before trying to add a none legacy style True Position Dimension to PNT1, just for shits an giggles..

          Code:
          STARTUP    =ALIGNMENT/START,RECALL:,LIST=YES
                      ALIGNMENT/END
                      MODE/MANUAL
                      FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, , 
                      LOADPROBE/20X4X20
                      TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
          PLN1       =AUTO/PLANE,SHOWALLPARAMS = YES,SHOWHITS = YES
                      THEO/175,0,-22,0,1,0
                      ACTL/175,0,-22,0,1,0
                      TARG/175,0,-22,0,1,0
                      THEO_THICKNESS = 0,RECT,TRIANGLE,$
                      AUTO MOVE = BOTH,DISTANCE = 15,RMEAS = None,None,None,$
                      NUMHITS = 3,NUMROWS = 1,SPACER = 34.6,RADIAL,$
                      VOID DETECT = NO,$
                      ANGLE VEC = -1,0,0
                      MEAS/PLANE
                      HIT/BASIC,140.4,0,-22,0,1,0,140.4,0,-22
                      HIT/BASIC,192.3,0,7.964,0,1,0,192.3,0,7.964
                      HIT/BASIC,192.3,0,-51.964,0,1,0,192.3,0,-51.964
                      ENDMEAS/
                      DATDEF/FEATURE=PLN1,DATUM=A
          CIR1       =AUTO/CIRCLE,SHOWALLPARAMS = YES,SHOWHITS = YES
                      THEO/0,0,-22,0,1,0,9
                      ACTL/0,0,-22,0,1,0,9
                      TARG/0,0,-22,0,1,0
                      THEO_THICKNESS = 0,RECT,IN,STRAIGHT,LEAST_SQR,ONERROR = NO,$
                      AUTO MOVE = BOTH,DISTANCE = 15,RMEAS = None,None,None,$
                      READ POS = NO,FIND HOLE = DISABLED,REMEASURE = NO,$
                      NUMHITS = 7,INIT = 3,PERM = 3,SPACER = 1.3,PITCH = 0,$
                      START ANG = 0,END ANG = 360,DEPTH = 0,$
                      VOID DETECT = NO,$
                      ANGLE VEC = -1,0,0
                      MEAS/CIRCLE
                      HIT/BASIC,-4.5,0,-22,1,0,0,-4.5,0,-22
                      HIT/BASIC,-2.806,0,-18.482,0.6234898,0,-0.7818315,-2.806,0,-18.482
                      HIT/BASIC,1.001,0,-17.613,-0.2225209,0,-0.9749279,1.001,0,-17.613
                      HIT/BASIC,4.054,0,-20.048,-0.9009689,0,-0.4338837,4.054,0,-20.048
                      HIT/BASIC,4.054,0,-23.952,-0.9009689,0,0.4338837,4.054,0,-23.952
                      HIT/BASIC,1.001,0,-26.387,-0.2225209,0,0.9749279,1.001,0,-26.387
                      HIT/BASIC,-2.806,0,-25.518,0.6234898,0,0.7818315,-2.806,0,-25.518
                      ENDMEAS/
          CIR2       =AUTO/CIRCLE,SHOWALLPARAMS = YES,SHOWHITS = YES
                      THEO/175,0,-22,0,1,0,9
                      ACTL/175,0,-22,0,1,0,9
                      TARG/175,0,-22,0,1,0
                      THEO_THICKNESS = 0,RECT,IN,STRAIGHT,LEAST_SQR,ONERROR = NO,$
                      AUTO MOVE = BOTH,DISTANCE = 15,RMEAS = None,None,None,$
                      READ POS = NO,FIND HOLE = DISABLED,REMEASURE = NO,$
                      NUMHITS = 7,INIT = 3,PERM = 3,SPACER = 1.3,PITCH = 0,$
                      START ANG = 0,END ANG = 360,DEPTH = 0,$
                      VOID DETECT = NO,$
                      ANGLE VEC = -1,0,0
                      MEAS/CIRCLE
                      HIT/BASIC,170.5,0,-22,1,0,0,170.5,0,-22
                      HIT/BASIC,172.194,0,-18.482,0.6234898,0,-0.7818315,172.194,0,-18.482
                      HIT/BASIC,176.001,0,-17.613,-0.2225209,0,-0.9749279,176.001,0,-17.613
                      HIT/BASIC,179.054,0,-20.048,-0.9009689,0,-0.4338837,179.054,0,-20.048
                      HIT/BASIC,179.054,0,-23.952,-0.9009689,0,0.4338837,179.054,0,-23.952
                      HIT/BASIC,176.001,0,-26.387,-0.2225209,0,0.9749279,176.001,0,-26.387
                      HIT/BASIC,172.194,0,-25.518,0.6234898,0,0.7818315,172.194,0,-25.518
                      ENDMEAS/
          SCN1       =FEAT/SET,RECT
                      THEO/87.5,0,-22,0,0,1
                      ACTL/87.5,0,-22,0,0,1
                      CONSTR/SET,BASIC,CIR1,CIR2,,
                      DATDEF/FEATURE=SCN1,DATUM=B
          A1         =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
                      ALIGNMENT/LEVEL,YPLUS,PLN1
                      ALIGNMENT/ROTATE_CIRCLE,XPLUS,TO,CIR1,AND,CIR2,ABOUT,YPLUS
                      ALIGNMENT/TRANS,XAXIS,CIR1
                      ALIGNMENT/TRANS,ZAXIS,CIR1
                      ALIGNMENT/TRANS,YAXIS,PLN1
                      ALIGNMENT/END
          PNT1       =FEAT/POINT,RECT
                      THEO/100,100,100,0,0,1
                      ACTL/100,100,100,0,0,1
                      CONSTR/POINT,OFFSET,,100,100,100
          PNT2       =FEAT/POINT,RECT
                      THEO/200,200,100,0,0,1
                      ACTL/200,200,100,0,0,1
                      CONSTR/POINT,OFFSET,,200,200,100
          PNT3       =FEAT/POINT,RECT
                      THEO/300,200,100,0,0,1
                      ACTL/300,200,100,0,0,1
                      CONSTR/POINT,OFFSET,,300,200,100
          DIM LOC1= LOCATION OF POINT PNT1  UNITS=MM ,$
          GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
          AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
          X     100.000      0.010      0.010    100.000      0.000      0.000 ----#----
          Y     100.000      0.010      0.010    100.000      0.000      0.000 ----#----
          Z     100.000      0.010      0.010    100.000      0.000      0.000 ----#----
          END OF DIMENSION LOC1
          DIM LOC2= LOCATION OF POINT PNT2  UNITS=MM ,$
          GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
          AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
          X     200.000      0.010      0.010    200.000      0.000      0.000 ----#----
          Y     200.000      0.010      0.010    200.000      0.000      0.000 ----#----
          Z     100.000      0.010      0.010    100.000      0.000      0.000 ----#----
          END OF DIMENSION LOC2
          DIM LOC3= LOCATION OF POINT PNT3  UNITS=MM ,$
          GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
          AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
          X     300.000      0.010      0.010    300.000      0.000      0.000 ----#----
          Y     200.000      0.010      0.010    200.000      0.000      0.000 ----#----
          Z     100.000      0.010      0.010    100.000      0.000      0.000 ----#----
          END OF DIMENSION LOC3
          So I add the True Positon dimension and use Datum A as my primary datum and Datum B I put a MMC on it. What the **** Designers do it who cares if it makes sense it looks cool. (Thats all that matters right?)

          My post to too long I guess Continues below:
          Mr. Comment
          SCIROCCO-NT 13-20-10
          B3C-LC Controller (Leitz Protocol), SP600M, TP200
          PCDMIS CAD++ v4.3 MR1(Build: 12/11/08)
          sigpic

          Comment


          • #6
            Anyway initially you dont notice that anything has just went amuck and your program is now toast. Until you go to add another feature and start to see some of your features are missing. Hummm, So logically a restart might fix the problem right? After all the code still the looks the same as above.

            After restarting though you open the program and looks like it does below.

            What do the magicians say? "Now you see it. Now you dont." Real Magicians on the other hand make the item reappear. PCDMIS magic suck's as's because its gone forever.


            Code:
            STARTUP    =ALIGNMENT/START,RECALL:,LIST=YES
                        ALIGNMENT/END
                        MODE/MANUAL
                        FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, , 
                        LOADPROBE/20X4X20
                        TIP/T1A0B0, SHANKIJK=0, 0, 1, ANGLE=0
            PLN1       =AUTO/PLANE,SHOWALLPARAMS = YES,SHOWHITS = YES
                        THEO/175,0,-22,0,1,0
                        ACTL/175,0,-22,0,1,0
                        TARG/175,0,-22,0,1,0
                        THEO_THICKNESS = 0,RECT,TRIANGLE,$
                        AUTO MOVE = BOTH,DISTANCE = 15,RMEAS = None,None,None,$
                        NUMHITS = 3,NUMROWS = 1,SPACER = 34.6,RADIAL,$
                        VOID DETECT = NO,$
                        ANGLE VEC = -1,0,0
                        MEAS/PLANE
                        HIT/BASIC,140.4,0,-22,0,1,0,140.4,0,-22
                        HIT/BASIC,192.3,0,7.964,0,1,0,192.3,0,7.964
                        HIT/BASIC,192.3,0,-51.964,0,1,0,192.3,0,-51.964
                        ENDMEAS/
                        DATDEF/FEATURE=PLN1,DATUM=A
            CIR1       =AUTO/CIRCLE,SHOWALLPARAMS = YES,SHOWHITS = YES
                        THEO/0,0,-22,0,1,0,9
                        ACTL/0,0,-22,0,1,0,9
                        TARG/0,0,-22,0,1,0
                        THEO_THICKNESS = 0,RECT,IN,STRAIGHT,LEAST_SQR,ONERROR = NO,$
                        AUTO MOVE = BOTH,DISTANCE = 15,RMEAS = None,None,None,$
                        READ POS = NO,FIND HOLE = DISABLED,REMEASURE = NO,$
                        NUMHITS = 7,INIT = 3,PERM = 3,SPACER = 1.3,PITCH = 0,$
                        START ANG = 0,END ANG = 360,DEPTH = 0,$
                        VOID DETECT = NO,$
                        ANGLE VEC = -1,0,0
                        MEAS/CIRCLE
                        HIT/BASIC,-4.5,0,-22,1,0,0,-4.5,0,-22
                        HIT/BASIC,-2.806,0,-18.482,0.6234898,0,-0.7818315,-2.806,0,-18.482
                        HIT/BASIC,1.001,0,-17.613,-0.2225209,0,-0.9749279,1.001,0,-17.613
                        HIT/BASIC,4.054,0,-20.048,-0.9009689,0,-0.4338837,4.054,0,-20.048
                        HIT/BASIC,4.054,0,-23.952,-0.9009689,0,0.4338837,4.054,0,-23.952
                        HIT/BASIC,1.001,0,-26.387,-0.2225209,0,0.9749279,1.001,0,-26.387
                        HIT/BASIC,-2.806,0,-25.518,0.6234898,0,0.7818315,-2.806,0,-25.518
                        ENDMEAS/
            CIR2       =AUTO/CIRCLE,SHOWALLPARAMS = YES,SHOWHITS = YES
                        THEO/175,0,-22,0,1,0,9
                        ACTL/175,0,-22,0,1,0,9
                        TARG/175,0,-22,0,1,0
                        THEO_THICKNESS = 0,RECT,IN,STRAIGHT,LEAST_SQR,ONERROR = NO,$
                        AUTO MOVE = BOTH,DISTANCE = 15,RMEAS = None,None,None,$
                        READ POS = NO,FIND HOLE = DISABLED,REMEASURE = NO,$
                        NUMHITS = 7,INIT = 3,PERM = 3,SPACER = 1.3,PITCH = 0,$
                        START ANG = 0,END ANG = 360,DEPTH = 0,$
                        VOID DETECT = NO,$
                        ANGLE VEC = -1,0,0
                        MEAS/CIRCLE
                        HIT/BASIC,170.5,0,-22,1,0,0,170.5,0,-22
                        HIT/BASIC,172.194,0,-18.482,0.6234898,0,-0.7818315,172.194,0,-18.482
                        HIT/BASIC,176.001,0,-17.613,-0.2225209,0,-0.9749279,176.001,0,-17.613
                        HIT/BASIC,179.054,0,-20.048,-0.9009689,0,-0.4338837,179.054,0,-20.048
                        HIT/BASIC,179.054,0,-23.952,-0.9009689,0,0.4338837,179.054,0,-23.952
                        HIT/BASIC,176.001,0,-26.387,-0.2225209,0,0.9749279,176.001,0,-26.387
                        HIT/BASIC,172.194,0,-25.518,0.6234898,0,0.7818315,172.194,0,-25.518
                        ENDMEAS/
            SCN1       =FEAT/SET,RECT
                        THEO/87.5,0,-22,0,0,1
                        ACTL/87.5,0,-22,0,1,0
                        CONSTR/SET,BASIC,CIR1,CIR2,,
            DIM LOC4= TRUE POSITION OF    UNITS=MM ,$
            GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH  FIT TO DATUMS=ON  DEV PERPEN CENTERLINE=ON  DISPLAY=DIAMETER
            AX    NOMINAL       +TOL       -TOL      BONUS       MEAS        DEV     OUTTOL
            X     100.000                                     100.000      0.000           
            Y     100.000                                     100.000      0.000           
            Z     100.000                                    -140.885   -240.885           
            D1                                                        PLANE PLN1 AT RFS           
            D2     15.961      0.010      0.010      0.010     15.961 SET SCN1 AT MMC           
            TP        RFS      1.000                 0.010               481.770    480.760 -------->
            END OF DIMENSION LOC4
            Mr. Comment
            SCIROCCO-NT 13-20-10
            B3C-LC Controller (Leitz Protocol), SP600M, TP200
            PCDMIS CAD++ v4.3 MR1(Build: 12/11/08)
            sigpic

            Comment

            Related Topics

            Collapse

            Working...
            X