Design forum
cancel
Showing results for 
Search instead for 
Did you mean: 

auto parameters

Anonymous
Not applicable
I have a problem. I would like to create an object, which has “n” identical units, which are the same macro units with several setups opportunities. I would like to solve this case, with newparameter, like this:
for i=1 to n
	newparameter "nwpar_1", "RealNum", 1, 1
        newparameter "nwpar_1", "RealNum", 1, 1
next i
Can anybody help with this? Because I tried with only the "newparameter" command, but I can't see any new parameters created.
2 REPLIES 2

Laszlo Nagy
Community Admin
Community Admin
From reading the GDL Reference Guide I get the understanding that the NEWPARAMETER command is specific to Backward Migration Scripts of Library Parts.
So it is not possible to create a new parameter for a library part from a GDL script, not with this command or any other command.
You have to create all parameters you want to use in the Library Part Editor Dialog.
....................................................................................................
Laszlo Nagy, Lead Moderator, Community Admin
Get Archicad Tips at https://twitter.com/laszlonagy
AMD Ryzen 1700X CPU, 48 GB RAM, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), WIN10 PRO ENG, AC20-AC25
Loving Archicad since 1995

Anonymous
Not applicable
Thank You!

Didn't find the answer? Start a new discussion

Labels

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!