hexagon logo

VBScript to capture xyzijk and devation of a surface measurement

Hi everyone,

I'm newish to PC-DMIS, I’m looking for a way to export dimension data from a constructed feature set and report the XYZ and deviation from the theoretical from the points taken from the cad model to a text file after every run.

I’ve manage to work out how to report the point data but I’m stuck on how to report the feature set any ideas?
Parents
  • If you turn on textual analysis for the profile dimension it will provide a list of the XYZIJK and deviation of every point in the set. If you are using .rtf format for your report you can just copy these right out of the report and paste into excel. If you must have the data in a separate text file the easiest method is to create a cloud of points feature (assuming you have this function available in your license) and then create a cloud of point Export operator and set the file type to .XYZ. This will export the XYZIJK values for each point in the COP feature to a file. It will not give you deviation. You can also write a script to pull the data and write it to a file. This is the most work on your end but gives you complete flexibility as to the formatting, the data that you pull out, how the file is named and saved, etc.
Reply
  • If you turn on textual analysis for the profile dimension it will provide a list of the XYZIJK and deviation of every point in the set. If you are using .rtf format for your report you can just copy these right out of the report and paste into excel. If you must have the data in a separate text file the easiest method is to create a cloud of points feature (assuming you have this function available in your license) and then create a cloud of point Export operator and set the file type to .XYZ. This will export the XYZIJK values for each point in the COP feature to a file. It will not give you deviation. You can also write a script to pull the data and write it to a file. This is the most work on your end but gives you complete flexibility as to the formatting, the data that you pull out, how the file is named and saved, etc.
Children
No Data