Script for dimension calculation

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

  • Script for dimension calculation

    Would someone please brief me on the correct way to enter the script for this dimension in PCDMIS.
    Attached Files

  • #2
    Dist 1 would be 2-d distance, SUBTRACT RADIUS, dist2 would be 2-d distance including the radius, all part of the 2-d distance, dirameters would just be DIM ~ LOCATION cir1 and cir2, selecting the D axis.
    sigpic
    Originally posted by AndersI
    I've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

    Comment


    • #3
      Why do you want to write a VB script for this? You can do it right inside PC-DMIS using VAR's...
      ***************************
      PC-DMIS/NC 2010MR3; 15 December 2010; running on 18 machine tools.
      Romer Infinite; PC-DMIS 2010 MR3; 15 December 2010.

      Comment


      • #4
        VAR's?

        Comment


        • #5
          You have the info you want just assign it to variables, put the variable in a generic feature you want dimensioned. No need for a script, that would be overkill for sure.

          Code:
                      ASSIGN/DIST2 = DIST1 + ((CIR1.D + CIR2.D) / 2)
          <internet bumper sticker goes here>

          Comment


          • #6
            http://www.pcdmisforum.com/mk:@MSITS...s/image044.gif
            With the Circle Options area you can use the Add Radius and Subtract Radius options to tell PC-DMIS to either add or subtract the radius of the measured feature to the total distance that is measured. The amount that is added or subtracted will always be along the same vector that calculates the distance. Only one option is available at a time.
            http://www.pcdmisforum.com/mk:@MSITS...s/image045.gif
            Using the No Radius option does not apply the radius of the feature to the distance measured.
            sigpic

            James Mannes

            Comment


            • #7
              Originally posted by Matthew D. Hoedeman View Post
              Dist 1 would be 2-d distance, SUBTRACT RADIUS, dist2 would be 2-d distance including the radius, all part of the 2-d distance, dirameters would just be DIM ~ LOCATION cir1 and cir2, selecting the D axis.
              Think you ment Dist1 would be 2-d "no add, no subtract "radius""

              Comment


              • #8
                Yeah, mark NO RADIUS.
                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