hexagon logo

Browse By Tags

  • using features from another program for dimensioning

    I need help with checking the true position of a circle using a datum from another program for mating holes. I have only used single variables on features and dimensions within the same program. I am new to programing with expressions and I am struggling…
  • Saving the Snapshots of CAD View as files

    Hello, Does anyone have implemented to save the report CAD View images produced by the Snapshot commands as each image file such as bipmap (.BMP)? It would be great if you can share something similar code or advise me. Thank you in advance. …
  • Get current tip position to variable in PC-DMIS

    I need the current tip position to variable for safety reasons in PC-DMIS. I know, that the current tip position is shown in the status bar. But I would like to calculate automatically with the values of the tip . Do any of you know a way to transfer…
  • Find max, min dia for 'N' numbers of holes

    we are using following code to find max and min dia among 93 holes inspected can someone suggest any alternate way? ASSIGN/COUNT=0 ASSIGN/NUM_OF_DIM=93 ASSIGN/MMPROF1=0 ASSIGN/MMPROF2=0 ASSIGN/MAX_DIM=0 ASSIGN/MIN_DIM=0 ASSIGN/MAX_PROF=0 ASSIGN…
  • Problem accessing CadModel.CADProjectPoint from Basic Script

    Trying to access the my Cad model in the Graphics Display Window using a PC-DMIS basic script. Getting a "Missing parameter(s)" error message. Here's what I have with the error being generated on the last line seen below; '================== Sub…
  • Code to mark/unmark out of tolerance dimensions

    I am trying to figure out a way to automatically mark or unmark feature dimensions that are out of tolerance. I have a program that includes some if/then statements where it re-measures a diameter at a different depth if the first one is OOT. So my…
  • Program/Report the SMALLEST diameter from mulitple measured diameters

    I have a diameter that is very slightly tapered but is square within CAD. From the top surface, I measure the diameter every 0.5mm measuring about 10 cirles in all. Im trying to figure out how to report ONLY the smallest diameter and not all 10 diameters…