License Delivery maintenance is expected to occur on Saturday, November 30, between 8 AM and 11 AM CET. This may cause a short 3-hours outage in which license-related tasks: license key upload, download, update, SSA validation, access to the license pool and Graphisoft ID authentication may not function properly. We apologize for any inconvenience.
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Editable HotSpot & Arrays

Anonymous
Not applicable
I am working on some custom casework and am having some problems getting the editable hotspots working. Is it possible to use editable hotspots to change the values stored in a dynamic array? I created the array using the DIM command. I am really hoping to avoid having to set a large array in the parameter list in order to make the part flexible, but will resort to this if this is the only way.

Thanks
2 REPLIES 2
Anonymous
Not applicable
Just declare the editable hotspots as parameters. Don't use a dim statement.
They will work, array or not. Add them into the 2D script too.

You should not compare directly real numbers. Use a small value EPS, instead.
Do a search with "use of real types can result in precision problems".

Cheers
Anonymous
Not applicable
Oliver,

Thanks for the help. The "Use of Real" problem is gone now, but I am a bit confused about not using a DIM statement. I need the values to be a array and instead of declaring in the parameter list a large empty array, I thought I could just use the DIM statement to create a dynamic one. Playing around with this some more, the code works fine if I create a large empty array in the parameter list. I guess I will just go with this.

Thanks again.