Your Products have been synced, click here to refresh
That dialogue really has no explicit keystroke entries.
<TAB><TAB> to get to the alignment combobox, <first letter of alignment name> (make a unique name) to select that, <TAB><TAB><TAB><space> to get to the "Export" button and click it (file is generated at this moment), ...
... but after that it seems the dialog is out in no-KEY limbo, I can't find any key that works at this point. So close, and still so far...
(2013 R SP1)
I'm not sure they are focused enough on the user experience to manage that, judging by the number of dialogs that are more or less impossible to navigate without a mouse (I'm a keyboard man myself, don't want to lift my hand to the mouse more than necessary).
'This script will export the features In the active program To a file of the Type specified by the extension value 'In the Part.Export Function Line. The export path And file Name are defined by concatenating the values of 'several variables defined In the PC-DMIS program. Sub Main(PN1 As String, OP1 As String, SN1 As String, RPTTIME1 As String, RPTDATE1 As String, IGS1 As String, PRG_TYPE1 As String) Dim App As Object Set App = CreateObject("PCDLRN.Application") Dim Part As Object Set Part = App.ActivePartProgram Dim CADFullPath As String 'Add back the leading zero To the time If truncated If len(RPTTIME1) = 5 Then RPTTIME1 = "0" & RPTTIME1 End If 'Concatenate variable values passed from PCD To create full path For new CAD file CADFullPath=IGS1 & PN1 & "\RESULTS\" & OP1 & "\" & PN1 & "_" & OP1 & "_" & PRG_TYPE1 & "_" & SN1 & "_" & RPTDATE1 & "_" & RPTTIME1 'Call export Function. Change the value of the extension below To change the file Type exported. Part.Export CADFullPath + ".igs" Appactivate "Execution Mode Options" Sendkeys "{TAB}" Sendkeys "{TAB}" Sendkeys "3" Sendkeys "{TAB}" Sendkeys "{TAB}" Sendkeys "{TAB}" Sendkeys "{SPACE}" End Sub
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |