Using spaces and hyphens in feature names

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

  • Using spaces and hyphens in feature names

    Are you guys aware that you should NEVER use spaces and hyphens in feature names? If you do, you can do everything you like, EXCEPT assign them to variables! Following is just a warning. I used them everywhere, now I need to undo all that. Oh well.


    Jan.

    Code:
    DATUM -H- SH3 E7=FEAT/PLANE,RECT,TRIANGLE
                THEO/-2.7809,0.17235,2.51653,0,0,1
                ACTL/-2.78454,0.17108,2.51644,-0.0000091,0.000002,1
                CONSTR/PLANE,BF,PNT5,PNT6,PNT7,PNT1,PNT2,PNT3,PNT4,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
    DATUM-H-   =FEAT/PLANE,RECT,TRIANGLE
                THEO/-2.7809,0.17235,2.51653,0,0,1
                ACTL/-2.78454,0.17108,2.51644,-0.0000091,0.000002,1
                CONSTR/PLANE,BF,PNT5,PNT6,PNT7,PNT1,PNT2,PNT3,PNT4,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
    DATUMH     =FEAT/PLANE,RECT,TRIANGLE
                THEO/-2.7809,0.17235,2.51653,0,0,1
                ACTL/-2.78454,0.17108,2.51644,-0.0000091,0.000002,1
                CONSTR/PLANE,BF,PNT5,PNT6,PNT7,PNT1,PNT2,PNT3,PNT4,,
                OUTLIER_REMOVAL/OFF,3
                FILTER/OFF,WAVELENGTH=0
                ASSIGN/V6 = [COLOR="red"]DATUM -H- SH3 E7.HIT[1].Z [/COLOR]           
                ASSIGN/V7 = [COLOR="Red"]DATUM-H-.HIT[1].Z[/COLOR]
                ASSIGN/V1 = DATUMH.HIT[1].Z
    ***************************
    PC-DMIS/NC 2010MR3; 15 December 2010; running on 18 machine tools.
    Romer Infinite; PC-DMIS 2010 MR3; 15 December 2010.

  • #2
    OLD news, lots of us been preaching about NOT using ANY math 'functions' as part of a feature name. I been preaching forever about sticking to old DOS naming conventions to avoid ALL possible ID problems. No characters, numbers and letters only, no spaces.
    sigpic
    Originally posted by AndersI
    I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

    Comment


    • #3
      Oh Yeah! The underscore is a great substitute.
      sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

      Comment


      • #4
        Try DATUM_H
        DR Watson shut me down again !!!! :mad: Smoke break:eek:

        Comment


        • #5
          I always name features after old girlfriends. If I have a pair of large bores they would be JennyRight and JennyLeft. Then a couple of smaller bores would be JaneRight and JaneLeft. If I've got a stud then that one is named Susan - but that is a different story.

          J/K

          Comment


          • #6
            Originally posted by Goodluck
            I always name features after old girlfriends. If I have a pair of large bores they would be JennyRight and JennyLeft. Then a couple of smaller bores would be JaneRight and JaneLeft. If I've got a stud then that one is named Susan - but that is a different story.

            J/K
            Ewwwwwww!
            sigpic
            Originally posted by AndersI
            I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

            Comment


            • #7
              They're called operators Hoedemon, someone as old as you may also refer to them as operands. I've been preaching that forever too but YOU haven't picked up on it. Give Jan a break, he's got great programming ideas and questions. BTW stay away from wildcards too.
              <internet bumper sticker goes here>

              Comment


              • #8
                Personally I like the term DOOHICKY !!!! and THINGY!!!!
                http://baggy3.info/signani3.gif
                Excercise your mind,..... muscle works better than fat!!

                Comment


                • #9
                  Originally posted by craiger_ny
                  They're called operators Hoedemon, someone as old as you may also refer to them as operands. I've been preaching that forever too but YOU haven't picked up on it. Give Jan a break, he's got great programming ideas and questions. BTW stay away from wildcards too.
                  HoedemAn, I am not some new, wierd version of a POKE-MON

                  Well, I didn't want to use terms that have been obsolete for generations, didn't want to 'age' myself.

                  Whatcha mean, I haven't picked up on it? I been here longer than you, booger-boy, so I been preaching it longer than you, so there!

                  Wasn't picking on Jan, just pointed out that it wasn't news.

                  That follows with my post to stick with numbers and letters, no CHARACTERS. (that includes YOU, booger-boy! )
                  sigpic
                  Originally posted by AndersI
                  I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

                  Comment


                  • #10
                    todays lesson is.........dang, thats a lot of programs to edit, thank god they were all proto-types and I will never see them again.

                    In keeping with what Wes said, underscore is ok tho right?

                    I found out the hard way that using parenthesis doesn't work either, the software would change all of my "names" to the same thing, i.e., "circle(1)", "circle(2)" etc all became "circle"
                    If clutter is a sign of genius, I must be qualified to teach guys like Einstein and other smarty pantses

                    B & S 7-10-7
                    pcdmis cad++ 3.25mr3

                    Comment


                    • #11
                      Originally posted by Matthew D. Hoedeman
                      HoedemAn, I am not some new, wierd version of a POKE-MON
                      My mistake

                      Originally posted by Matthew D. Hoedeman
                      Well, I didn't want to use terms that have been obsolete for generations, didn't want to 'age' myself.
                      Operator is not old nor obsolete, it is the correct nomenclature. Telling people to follow DOS conventions however, does date you.

                      Originally posted by Matthew D. Hoedeman
                      Whatcha mean, I haven't picked up on it? I been here longer than you, booger-boy, so I been preaching it longer than you, so there!
                      I'm talking about calling them operators, you have not picked up on that, get with the times. Don't try the "because I'm older than you" or the "because I've been here longer than you" argument. It holds no merit. I didn't buy that stuff on the playground and I won't buy it here.

                      Originally posted by Matthew D. Hoedeman
                      Wasn't picking on Jan, just pointed out that it wasn't news.
                      Good I like that dude. I'm sure he can hold his own anyway.

                      Originally posted by Matthew D. Hoedeman
                      That follows with my post to stick with numbers and letters, no CHARACTERS. (that includes YOU, booger-boy! )
                      What ever, call them what you want I guess. Who am I to try and teach an old dog new tricks.
                      <internet bumper sticker goes here>

                      Comment


                      • #12
                        WOOF! WOOF! Grrrrrrrr!
                        sigpic
                        Originally posted by AndersI
                        I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

                        Comment


                        • #13
                          Oh, by the way, I was (trying) to refer to YOU as a character, booger-boy, not meaning that YOU had to call the characters. A little play on words.

                          You know what a Freudian Slip is, don't you?

                          It's where you say one thing but mean your mother.
                          sigpic
                          Originally posted by AndersI
                          I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

                          Comment


                          • #14
                            Character is probably the kindest thing I've been called. I'm not touching the mother thing.

                            Craig
                            <internet bumper sticker goes here>

                            Comment


                            • #15
                              Originally posted by craiger_ny
                              Character is probably the kindest thing I've been called. I'm not touching the mother thing.

                              Craig
                              OH, the Mother Thing, that is a character from a Heinlein book, "Have Space Suit, Will Travel".
                              sigpic
                              Originally posted by AndersI
                              I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X