BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Script Error

Anonymous
Not applicable
I'm not sure what is giving me this error. aren't the highlighted lines string type expressions?
6 REPLIES 6
Anonymous
Not applicable
Hello,

Seems so...could you kindly reveal more of the code or
possibly post the whole thing?

If this is a part of a macro call then this error could occur if the
called macro does not have the "gs_list_custom" parameters at
all or they are of wrong type.



--
Regards Juha
Anonymous
Not applicable
Thank you Juha,

I'm not very good with scripting yet so I didn't totally understand what you meant in the above, but it was enough to make me realize that using a dome object in my ceiling fan was the problem. I used a complex profile to make my globe for the light instead and now everything is ok.

Thanks for the insight.

Rick
Erich
Contributor
Wrathchild,

I am glad you got this solved in other ways, but in possible answer to the question, it is most likely that your script is requesting a variable of one type, ie. a number, but that parameter is actually defined as something else such as text. This type of mismatch will generate the error message you have.

HTH
Erich

AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
Anonymous
Not applicable
This has come up again and my other fix isn't working so here is the whole script for a different object with the same problem.
Anonymous
Not applicable
AC did some mess with your autoscripted object.

Search & Replace <ind(material,bod_mat)> by <bod_mat>
Search & Replace <ind(material,han_mat)> by <han_mat>
Search & Replace <"DEFAULT"> by <bod_mat>, except for the last one, replace by <han_mat>
Search & Replace <"09 | Paint-01 Ceiling White"> by <ceil_mat>.
You will have to create a new material <ceil_mat>

It takes about two minuts. Attached the rectified script. No more alerts.
Anonymous
Not applicable
Thanks so much. Hopefully now I'll know how to do the next one on my own.

Rick
Learn and get certified!