Julian/Lloyd,
I was not doing the Pick in a loop. I was just picking and had hoped
(naively) that the Export module will store the values until it or I was
done picking.
I will try to implement your suggestions - although I wasn't having much
luck this morning. I will keep on trying.
Thanks for your help.
Gerry
At 01:40 PM 8/24/2001 +0100, you wrote:
Although I believe that I resolved the difficulties I was having,
it may be worth mentioning what plagued me for a while. Even when I
used ForEach, the difficulty was knowing where to put something
"outside the loop". Everything in the visual program is potentially
iterated. The answer advised by the user guide was to put the
loop (including the ForEach) in a separate macro, which I tried with
success. I guess I could have used ForEach's Last parameter as an
alternative.
Whether all this is any help to Gerry I don't know.
Julian
- - - - - - - - - - - - - - - - - - - - - - - -
Julian Gallop, Email: [EMAIL PROTECTED]
Information Technology Department, Phone: +44 1235 445569
CCLRC Rutherford Appleton Laboratory, Fax: +44 1235 445597
Chilton, Didcot, Oxfordshire OX11 0QX
---------- Forwarded message ----------
Date: Fri, 24 Aug 2001 08:00:15 -0400
From: Lloyd A Treinish <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [opendx-users] Picking multiple points
If you are doing this in a ForEach type of loop, then you should accumulate
the results in a group or list. Then, do the Export outside the loop
(i.e., when it's done). The file will then have all of the accumulated
points. If you are doing it in a Sequencer-based loop, then yes you would
be overwriting. In that case, pass the output of Sequencer to Format to
create a unique file name for each iteration and pass the filename to
Export.
Julian Gallop <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 08/24/2001
04:36:30 AM
Please respond to [email protected]
Sent by: [EMAIL PROTECTED]
To: [email protected]
cc:
Subject: Re: [opendx-users] Picking multiple points
Gerry,
I would guess that you're using some form of DX loop to write your
multiple points. I have been trying to work with DX loops the last
few days for a different purpose and now believe I understand the
difficulties better. What may be happening with you is that a new
file is being written for every point, overwriting the previous one,
so that what you end up with is - of course - a file containing only
the last point.
It's all there in the User Guide (section on iteration), but it takes
some working out.
I can give you further pointers if you need them.
Regards,
Julian Gallop
- - - - - - - - - - - - - - - - - - - - - - - -
Julian Gallop, Email: [EMAIL PROTECTED]
Information Technology Department, Phone: +44 1235 445569
CCLRC Rutherford Appleton Laboratory, Fax: +44 1235 445597
Chilton, Didcot, Oxfordshire OX11 0QX
On Thu, 23 Aug 2001, Geraldine Cheok wrote:
> Date: Thu, 23 Aug 2001 13:18:08 -0400
> From: Geraldine Cheok <[EMAIL PROTECTED]>
> Reply-To: [email protected]
> To: [email protected]
> Subject: [opendx-users] Picking multiple points
>
> Hi,
>
> I am trying to obtain the x,y,z coordinates for several points in
> a point cloud by using the PICK module. I am using the EXPORT
> module to write the coordinates to a file but this only writes
> the last point to the file. Is there a way to write multiple
> points to a single file?
>
> Thanks for any help.
>
> Gerry
>