When the file/s have been copied the macro will check that the file/s are now on the memory card and/or the PDA and if the file/s do not exist a warning screen will appear The file/s will then be copied to the memory card and/or the PDA Select the segments to add to the upload file/s, then press Esc to create the upload file/sĬheck that the memory card and/or PDA is connected to the computer and press Apply on the Check Connected screen Select the Files To Create (any combination of files can be selected) and then press To display the Point IDs on the screen when the upload segments are selected then select the Annotate String button Select the Files To Create (any combination of files can be selected) and then press Apply to create the upload file/sĮnter the name of the upload file in the Upload File Name box Select the description field (D1 to D3 or PTNo) to set the upload file point IDs in the Point IDs From selection box When the string file is selected the Upload File Name is automatically set to the same name as the string file, this may be changed if needed Select the string file to upload by clicking on the arrow button next to the String File entry box and then navigate to the string file to uploadĮnter a String Range to upload or leave blank for all strings in the file When the macro is started the start menu screen will be shownĬreate Upload from String File Create Upload by Graphics SelectionĬhoose which method to create the upload file by selecting either String File or Graphics Selection using the Create Upload File From buttons To run the macro in Surpac press F6 and then select the create_upload.tcl file in the Filename of the macro file to playback screen and then press Apply
Set ext_dir "G:/Survey/Surpac/macros/create_upload_programs"Įdit the folder names for the data directories on the memory card and PDA and change to suit (Note: only use forward slashes / in the folder names and ensure that you onlyĮdit the information between the quotes " " in the macro command)Ĭhange the folder name for the external programs directory to point to the folder where the create_upload_programs folder was extracted to
#Set memory card leica database directory # Note: Only forward slashes "/" can be used for folder names (not back slashes "\") # Set the locations of the upload folders and the external programs folder for the macro Near the top of the macro script are the following lines
SURPAC MACRO WINDOWS
Navigate to the folder on the hard drive using Windows Explorer and edit the create_upload.tcl file using a text editor (notepad) Open the RefSet_Create_Upload_Macro.zip file and extract the create_upload.tcl file and the create_upload_programs folder to a folder on the hard drive View more Surpac Tips & Tricks here.Surpac Macro to Create and Upload Files (GSI and Leica Database) to a Memory CardĪnd/or a PDA for the Automatic Reference Line and Setout Programs - RefSet Mobile andġ.
SURPAC MACRO HOW TO
Next week, we’ll be back with Conversion Tips Part 2 on how to extract dxf layers from a single. You can also reverse this process by loading many DTMs or string files into Graphics and saving them as. dxf files to strings and DTMs for you to use. This is handy if you have dragged files from many different folders.Ĥ. This function has quite a few options, including the ability to save all the layers into a specific directory or to their original directory. Now click on File > Save > Save all layers as. Now just click and drag one of the highlighted files into Surpac Graphics and Surpac will open all of the files into their own layer.Ģ. Surpac will highlight all files in between.
You can do this easily by clicking the first file and then holding down the shift key when clicking on the last file. Import all of the files that you wish to convert into Surpac Graphics. You can easily convert all of these files to strings or DTMs in a couple of simple steps for easier import and export to and from GEOVIA Surpac TM.
SURPAC MACRO SOFTWARE
dxf format, particularly if you work at a site using multiple software vendors. It is common for data to be passed from one department to another in.
SURPAC MACRO SERIES
This blog post is part of a series on Conversion Tips in Surpac.