hexagon logo

Browse By Tags

  • Example code for graphic view manipulation

    Hello, Can anybody provide any example code for graphic view manipulation? For example, Switch the view direction to Top, Right and Isometric Toggle grid view Toggle graphic items such as probe Thank you in advance. Best Regards, …
  • Trying to change the expression of an IF_GOTO...

    IF_GOTO/TYPE==1,GOTO = CS1 GOTO/PROBLEM We are using a trace field which is put into a variable "TYPE" to ensure that we are using the correct program at the correct machine. (We have a hodge-podge of different machine/probe types. TIGO, LSPS, SP25…
  • 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…
  • VB.Net Automation of MovePoint Values

    I can insert MovePoints using VB.Net with the Command Object as shown. Dim PCDcommands As PCDLRN.Commands Dim NewCMD As PCDLRN.Command NewCMD = PCDcommands.Add(PCDLRN.OBTYPE.MOVE_POINT, True) However, I cannot change the X,Y,Z values. It's…
  • 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. …
  • PCDMIS True/False Variable Issue

    All, From what I understand, a variable in a PCDMIS conditional statement PCDMIS evaluates True / False conditionals by checking ONLY if the numeric value is ZERO (aka False). Anything else evaluates to True. In Example 1, the Operator Comment does…
  • 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…
  • help: Is there a complete FCF command version to export excel data bas script?

    Recently, I have encountered difficulties in dealing with data. In the past, I used traditional BAS scripts to read excel data for evaluation dimensions. Now customers need to use FCF to evaluate dimensions and cannot read the excel table. Is there any…
  • PC-DMIS event handler in Python

    Hello, Has anyone implemented PC-DMIS event handler in Python ? I tried both win32com.client.getevents and win32com.client.DispatchWithEvents, but I got the TypeError. win32com.client.getevents TypeError: Objects of type 'CDispatch' can…
  • Example of handling PC-Dmis events in VB

    In this version, I respond to a PM asking for more info on handling events from PC-Dmis. Starting with version 1 of the Clock Start application, I've added another Listbox to the user window. This listbox will be used to show the pass/fail of Dimension…
  • Yet another example of PC-Dmis Automation in VB

    I've received a few requests from folks on the forum if I could provide an example of PC-Dmis Automation in VB. While perusing through old Forum questions I found one from a use asking is there was a way to start a PC-Dmis measurement program at a specific…
  • PC-Dmis Automation - A method description.

    I've attached a document that describes a parametric part measurement program. The document only covers PC-Dmis code, not the C# PC-Dmis Automation code used to create the subroutine file described in the linked document. https://drive.google.com…
  • Export to CSV - putting DEVs in seperate COLUMNS

    Hi there, I've worked through the code underneath. However I need my results in a different format: Measurment # DEV Point 1 DEV Point 2 DEV Point 3 1 xxx xxx xxx…
  • Counting OUTTOL in a program

    NOTE: There's a much better solution here: http://www.pcdmisforum.com/showthread.php?30631-How-to-count-those-OoT-s&p=401750&viewfull=1#post401750 Forget this... This is my script for counting the number of OUTTOL in a program, for use on older…
  • Help with 2 Scripts

    Hi guys I'm trying to get 2 scripts to work which I took from this forum and tried to adjust to our company needs as well as unify the code (using the same commands & variables) I don't know how to script I just tried to understand from the description…
  • Need Help with code bad

    So ive gotten the new import-to-excel-pcd-v42 and i love what it does but i have no clue in the world how to edit this or anything and neither does anyone else here in my egineering dept. What im trying to do is take whats in the import-to-excel and be…
  • Excel to Pc-Dmis

    is there a script of something for getting data from an excel sheet and in to Pc-Dmis as an variable?
  • Cap Study And Grr

    Here Is A 30part Cap Study And A Grr Sheet On Excel If Any Body Can Use It. Attached Files gagerr.zip
  • Feature name equal to it's DEV.

    This has come in very handy for me. I've been giving my Features a name equaly to there DEV. ASSIGN/V444 = ABS(LOC3.Y.DEV) V444 =FEAT/POINT,RECT THEO/0,-15,0,-0.7071068,0.7071068,0 ACTL/0,-15,0,-0.7071068,0.7071068,0 CONSTR/POINT,INT,LIN002YCIR5…
  • Code

    New to PC-Dmis - would like to be able to turn off & on the probe to change probes manually like MeasureMax and LK Cmes,LK Dmis & Studio. Is there a pull down for this?
  • PC-DMIS 4.2 Macros

    I'm looking for information on the PC-DMIS macros that use automov to check holes, pins, square slots, and round ended slots. The PCD_Defines.dmi file that gets output when I export my programs does not have the same macros as the ones in the program…
  • Create folder script

    It used to be here.
  • Use variables on a bas

    I'm new at VB programming inside PCDMIS. The first thing I'm trying to do is to get a variable from the part program and use it inside the script. What I've done is to follow the example wich comes in the pcdmis basic help file: Inside the part program…
  • A hand with coding????

    guys, this is probably easier than reading the English language to most of you folks, but I'm stumped. What I'm trying to do is extract the start and end angles from the following autocircle (by the way, this is 4.2 MR1) and then swap them CIR3…
  • Excel counting

    Lets say I have a column of numbers. I want to know how many are less than a certain value. In other words I need to know the count of cells that pass a certain argument or test for being less than (or greater than for that matter) a certain value. How…