This is something I thought would be extremely easy, yet I'm getting no where.
I've tried PartProgram.Import("C:\file\location.csv") as well as PartProgram.Import2("C:\file\location.csv", true)
PartProgram.Import("C:\file\location.step") works as it should for importing CAD.
What am I missing? I've going through the object library and there is no mention of importing a csv but the Import() and Import2() do mention importing another format into the measurement routine.
I've never tried this but maybe the script could send/post a command message (273, 1061) to perform what the File/Import does.
273 = WM_COMMAND
1016 = ID_FILE_IMPORT_CSV
Not sure how well pcmdis will do with this as I think part of the process also saves the current PRG which is running the script.
I've never tried this but maybe the script could send/post a command message (273, 1061) to perform what the File/Import does.
273 = WM_COMMAND
1016 = ID_FILE_IMPORT_CSV
Not sure how well pcmdis will do with this as I think part of the process also saves the current PRG which is running the script.