On 27 Mar 2003, Juw Won Park wrote:
> Hi all.
>
> I imported the scattered array with 7 variables.
> After import, I used Select tool to select 3 columns to set the position
> of each axis.
> Now I want to use Make3DField to visualize them. However, when I execute
> the program, it says 'Make3DField:Construct: invalid data: origin must
> be a vector or vector list'.
>
> How or what DX Tool should I use to connect Select tool to Make3DField?
>
> My visual program looks like this:
try using mark/compute/unmark instead
import
(or import_spreadsheet)
|
--------------------
| | |
mark mark mark
(x col) (y col) (z col)
| | |
-------- | --------
| | |
compute
[a,b,c]
|
(optional scale module)
|
unmark
(positions)
This flags the x, y & z columns to feed the compute module with 3 active
values. The compute module then returns these three columns as a 3-value
vector. As I use lat/long/metres as my xyz, I add a scale module to make
the 3 axes appropriate scales. The unmark creates a new virtual column
called positions, which contains the 3D position for each row for
displaying.
I think this approach will do what you need.
Cheers
Brent Wood