[Jo...] Posted December 1 Share Posted December 1 Hello, Normally I would drag and drop multiple csv files with CMM results (coordinates, point name and type) in and follow the software to import these file. In most cases this suits me well. But in certain cases another method is needed. I need to iterate over each file in a list of selected files and perform the import file by file. Doing that with the code as below, the program crashes. gom.script.sys.import_ascii ( files=['C:/1_AC112_2025-11-22 B-D.csv'], import_mode='new_stage', template_bin=gom.Binary ('some string') ) Zeiss Inspect 2025 sp2 is used. What else has to be done when importing the csv files one by one? Do I need to use : 'gom.script.sys.add_new_stage()' function? Thanks in advance. Link to comment Share on other sites More sharing options...
[Da...] Posted Thursday at 09:59 AM Share Posted Thursday at 09:59 AM Hello Johnny, i am not able to reproduce this crash. Can you give some more context. Do you have a specific project open? What template are you using? Regards Daniel Schrein Link to comment Share on other sites More sharing options...
[Jo...] Posted 14 hours ago Author Share Posted 14 hours ago Hello Daniel, Yes I have a project open. This project has the nominal model, measurement and actuals. The actual are imported 3D point from the CMM machine. A mesh is not used. The nominals are connected to the actuals. There is no specific template used. If there is a default template (from installation) this is used. I hope this helps. If needed I can share the project privately. Johnny Link to comment Share on other sites More sharing options...
[Da...] Posted 14 hours ago Share Posted 14 hours ago Hello, do you really have 'some string' as input to the template_bin parameter? This is what defines the ascii import template. If not, the template maybe does not fit the data you are trying to import. Did you get the import command by recording? Regards Daniel Link to comment Share on other sites More sharing options...
[Jo...] Posted 13 hours ago Author Share Posted 13 hours ago Hello, Now I understand. The import template came from recording the command in the script editor. The template is also used by manual 1 by 1 importing. regards Johnny Link to comment Share on other sites More sharing options...
[Na...] Posted 12 hours ago Share Posted 12 hours ago Please sign in to view this quote. Hi Johnny, could you share the the data and script with the support? support.optical.metrology.be@zeiss.com should be the correct address for your location. Please refer to this thread. We would like to analyse it with your data set. Thanks, Nanno Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in