Excel to Object GDL
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2014-01-23 01:33 AM
2014-01-23
01:33 AM
I gather this can be done via XML.
Just trying to find an example file to determine if and how it can be done.
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-11-28 06:13 PM
2017-11-28
06:13 PM
Tom wrote:Here is what I use which gives a drop down box.
Thankyou,
I was referring to this but it seems to have a fixed array size of 7.
Makes me think I cannot have a pulldown box with a different size depending on the size of input text file
Tom
DIM sarray[]
! file in the library, containing parameter data
filename = "ProjectNotes.txt"
ch1 = OPEN ("text", filename, "MODE=RO, LIBRARY")
i = 1
j = 1
sarray[1] = ""
! collect all strings
DO
n = INPUT (ch1, i, 1, var)
IF n > 0 AND VARTYPE (var) = 2 THEN
sarray = var
j = j + 1
ENDIF
i = i + 1
WHILE n > 0
CLOSE ch1
! parameter popup with strings read from the file
VALUES "RefNote" sarray
Create RefNote as a parameter and it should work for you.
ArchiCAD 27
Windows 10
Windows 10
- « Previous
-
- 1
- 2
- Next »
- « Previous
-
- 1
- 2
- Next »