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

I broke the GDL ... seriously no joke

Nader Belal
Mentor

Hi everyone,

This is not a noob question.

 

Well I have 2 array parameters that are to be used for a Values{2} function, but Archicad refused to execute it because it have identified the string array parameter as numeric array parameter.

 

Yes I have checked if it was written correctly, and Yes I have already used VARTYPE function to make sure that that the String array is in fact a string Array.

 

I need to know who did I break the GDL ? and how to fix it ?

NaderBelal_0-1637189830485.jpeg

 

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.
1 ACCEPTED SOLUTION

Solution
Nader Belal
Mentor

To all of you thank you.

 

I just solved it be eliminated an iteration that somehow, its content or it's location in the Parameter script wasn't of Archicad liking.

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

View solution in original post

7 REPLIES 7

DGSketcher
Rockstar

Couple of suggestions...

Try running a loop to clear / initialise / overwrite all the array values with a string. 

Create a new array with a similar name and delete the old one.

Apple iMac macOS Monterey / AC25UKI (most recent builds)

I will try number 2, number one is already implemented

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

No use, ...

 

I even tried to use the temporary variable array, and the message still is persistant

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

Nader Belal
Mentor

Last Update:

 

I created a new empty GSM file with the same parameters, then copy pasted the code from the original file to the new one.

Didn't work, same error message

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

With out the object or code posted it's probably going be impossible for us to help.

FREE Soffit & Fascia for Rail Tool - https://bit.ly/BIMRithmSoffitandFascia
FREE wall Accessory framing and coverings - bit.ly/BIMRithmWallAccessories
FREE Truss object - https://bit.ly/BIMRithmTrussV1
FREE Custom Tube Object - https://bit.ly/BIMRithmPolyTube
AC 24, Twinmotion current, Windows 11, Msi 10UG with rtx 3070, wacom intuos pro m, Wacom Cintiq Pro 16, razer Tartarus pro.

Could you attach an example?

https://github.com/kuvbur

Solution
Nader Belal
Mentor

To all of you thank you.

 

I just solved it be eliminated an iteration that somehow, its content or it's location in the Parameter script wasn't of Archicad liking.

A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

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!