Author:Barry Kelly
Posted: Fri Jul 31, 2015 10:27 am (GMT+1)
I would forget the GLOB_USER variables.
That will only work up to version 18.
From 19 onwards they will no longer work.
I am not sure exactly what you are trying to do but it should work.
If you have got 40 assemblies then you will need 40 master objects ('object_1' but of course with unique names).
Each one of those objects will need to write to a unique text file - that is where you can customise the file name in the file path.
Otherwise you could write to just the one text file but you would need unique names for the fields being written and read.
i.e. master_1 would have to save 'length_1', 'width_1' and 'height_1'.
master_2 would have to save 'length_2', 'width_2' and 'height_2'
master_3 would have to save 'length_3', 'width_3' and 'height_3'
etc.
Barry.
_________________
Versions 6.5 to 18 (build 3006)
Dell Precision T3600 - Xeon ES-1620 0 at 3.6Ghz, 16GB ram, ATI FirePro W7000 (4GB), Windows 7 (64 bit)
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit
Posted: Fri Jul 31, 2015 10:27 am (GMT+1)
I would forget the GLOB_USER variables.
That will only work up to version 18.
From 19 onwards they will no longer work.
I am not sure exactly what you are trying to do but it should work.
If you have got 40 assemblies then you will need 40 master objects ('object_1' but of course with unique names).
Each one of those objects will need to write to a unique text file - that is where you can customise the file name in the file path.
Otherwise you could write to just the one text file but you would need unique names for the fields being written and read.
i.e. master_1 would have to save 'length_1', 'width_1' and 'height_1'.
master_2 would have to save 'length_2', 'width_2' and 'height_2'
master_3 would have to save 'length_3', 'width_3' and 'height_3'
etc.
Barry.
_________________
Versions 6.5 to 18 (build 3006)
Dell Precision T3600 - Xeon ES-1620 0 at 3.6Ghz, 16GB ram, ATI FirePro W7000 (4GB), Windows 7 (64 bit)
Dell Precision M6800 - i7 4700MQ @ 2.40GHz, 16GB RAM, AMD FirePro M6100 (2GB), Windows 7 64bit