Is there an easy way to tell from the program file what version it is? I tried right clicking the file and selecting Properties, but couldn't find it anywhere.
Your Products have been synced, click here to refresh
Is there an easy way to tell from the program file what version it is? I tried right clicking the file and selecting Properties, but couldn't find it anywhere.
I''m not at the workstation but:
1. hover over the file.
2. go to program folder using windows directory. At my workstation it roughly goes like local drive-public-public documents-hexagon-pcdmis. Over there you might be able to find the version per each file.
I'd like to know this too. Currently, the only way I know how to find the version of the file is to open it with PC-DMIS. Like you, I have tried to look at properties, but all versions just say "PC-DMIS Measurement Routine File" - Not very useful.
There is currently no way to see this information without loading the routine into PC-DMIS. We have discussed the possibility of adding it to the file properties but no decision / commitment was made. The only thing I can suggest is to log it on the ideas centre and, if it's important enough for lots of people to vote for it, that will lend it more weight.
+1 to this as well. Would save some headaches for those of us who ride the razors edge between geotol and xactmeasure!
Where within PC-DMIS does it show what version the routine is? Or do I have to progressively open the program with different versions, starting with the earliest we have untill I find the version that opens it?
In more recent versions, you can see what format the routine was saved in on the Save As dialog...
Prior to that, yes, you'd have to try progressively older versions until it opened.
Thanks Neil! That's a workable solution for me.
I used to use a binary editor to read header information of any files over 20 years ago....
Is anyone here well versed in Excel Basic scripts? I was messing with the internal basic scripting feature PC-DMIS has, which I am awfully terrible at with syntax and knowledge. I put together a comment to show me the program version of the file I have open, which is really useless since the program is already open.
Is it possible to pull this type of data without having to open the program?
Sub Main Dim DmisApp As Object Dim DmisPart As Object Dim PartVersion As String Set DmisApp = CreateObject("PCDLRN.Application") Set DmisPart = DmisApp.ActivePartProgram Set DmisCommands = DmisPart.Commands Set PartVersion = DmisPart.ProgramVersionName Set DmisCommand = DmisCommands.Add(SET_COMMENT, True) DmisCommand.Marked = True ' Set Id = retval = DmisCommand.PutText ("", ID, 0) ' Set Comment Type = $$ retval = DmisCommand.SetToggleString (4, COMMENT_TYPE, 0) ' Set Comment Item 1 = Separator retval = DmisCommand.PutText (PartVersion, COMMENT_FIELD, 1) ' Set Report = NO retval = DmisCommand.SetToggleString (1, OUTPUT_TYPE, 0) End Sub
The version number it is saved as is saved in the program.
If Neil Challinor & Co. could provide the location (offset) of this information (in the .PRG) it would make things much easier in order to develop something useful.
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |