2010-01-14 04:05 AM
2010-01-19 03:50 PM
Braza wrote:You're not limited to the 50 instances - just add as many rows as you need using the script I showed earlier. Every time you use the parameters statement on an array parameter - referencing an index beyond the array bounds - the array dynamically expands as required. No temporary array is needed.
Within those 3d hotspots I've created an array parameter called "NodeHeight" and defined it in the parameter list as "NodeHeith[50]"...
The thing is: Am I limited with this 50 instances or can I control it with a specific Dim NodeHeight[] script?...
And of course creating a dynamic (unlimited) number of editable 3d hotspots...
2010-01-19 03:56 PM
2010-01-19 06:17 PM
2010-01-19 08:40 PM
2010-01-19 09:37 PM
Braza wrote:Correct. GDL doesn't (yet) provide a mechanism to reclaim space once it has been allocated. However, given that this is isolated to single instances of the object, I don't see it as a significant problem.
Just to check: It seems that arrays are dynamic, but they are not "Elastic"... once I expand it I can't shrink it, right?
2010-01-20 02:08 PM
Ralph wrote:This one would be nice for AC14.
Correct. GDL doesn't (yet) provide a mechanism to reclaim space once it has been allocated...
2010-01-20 02:22 PM
2010-01-21 12:48 PM
2010-01-21 01:45 PM
ztaskai wrote:I'm very interested in this... Could you please show a sample code with your workaround?... Does this workaround has any cons?
...About shrinking arrays: you can do this using a temporary array. A workaround - I know...
2010-01-25 11:18 PM