yesterday
My last asked question was answered with a solution so quickly, I thought I could ask another.
There should be someone who knows more of the GDL stuff than I do to tell me. When creating PARAMETERS that I want to be an ARRAY so that they can be used with MOVING HOTSPOTS, all I have found is that I have to define them in the "Parameters" tab, not in the MASTER or PARAMETER window. This means that I have to give a dimension on the array size; I am not able to have an infinite or undefined size.
Is there a way to define an array (x[][]) that can be used with Moving Hotspots that does not have a limited size? Thanks
yesterday
- last edited
3 hours ago
by
Laszlo Nagy
What you're looking for is DIM
It can be used to create arrays with arbitrary dimensions
20 hours ago
@Brucehas a series of tutorials on GDL - one of them is about Arrays. Maybe that can point you in the right direction.
https://www.youtube.com/watch?v=6Mvz5pdxotA&pp=ygUWYmFya2luZyBkb2cgYmltIGFycmF5c9IHCQlBCwGHKiGM7w%3D...
13 hours ago
4 hours ago
This is getting much closer to what I am looking for. Thanks. Currently, I am defining a variable with a set maximum number of values, 25 or 30. I would like to have it be more dynamic, so each object can be adjusted to just the number of array elements it needs.
Now, how to "DELETE verts" so that the OBJECT can be adjusted. Think of a POLY with "verts" quantity that can be adjusted in a variable. This application is a detention pond with "n" number of corners that can be added or deleted as needed for the design.
In the attached image, each pink dot is a moving hotspot for a corner of the pond. The number of corners needs to be adjustable through the design process.
Thanks Again
2 hours ago