How to change the dimensions of an array parameter?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-09-26
08:54 PM
- last edited on
2023-05-23
04:39 PM
by
Rubia Torres
2012-09-26
08:54 PM
For parameters with array modifier, you can change the dimensions of the array on the fly when you create or modify an element. This enables you to put just a placeholder for an array into the library part parameter, and adjust that when you actually place the library part.Are there any examples of how to do this? Let's say I have a GDL library part with single array parameter. How can I change the dimensions of the array to be [3][30]?
Your help is much appreciated!
Labels:
- Labels:
-
Library (GDL)
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-09-27 11:05 AM
2012-09-27
11:05 AM
EzPresso wrote:What happens if you call
Let's say I have a GDL library part with single array parameter. How can I change the dimensions of the array to be [3][30]?
The alternative (which we use) is to work directly with the underlying memo structures, but that's very long-winded.
Ralph Wessel BArch
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2012-10-09 07:04 PM
2012-10-09
07:04 PM
Thanks for your answer!
Ralph wrote:I tried your suggestion. Unfortunately the array bounds are the same. Seems the only way is to work directly with memo.
What happens if you callAPIAny_ChangeAParameterIDand specify the array indices as 3 and 30?