cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Hide parameter using code?

JGoode
Expert
Hello,
Is there a way to script code to be able to hide parameters at all?
Not as in disappear completely but just put the little X next to the parameter?

Thanks.

hidden variable example.jpg
ArchiCAD 27

Windows 10
3 REPLIES 3
Karl Ottenstein
Moderator Emeritus
GDL reference guide - HIDEPARAMETER

http://gdl.graphisoft.com/reference-guide/the-parameter-script#HIDEPARAMETER_gdlcommand
Vote for Wish: Copy/Paste in 3D

AC 29 USA and earlier   ā€¢   hardware key   ā€¢   macOS Taho 26.1 MacBook Pro M2 Max 12CPU/30GPU cores, 32GB
The "X"-ing has a side-effect that the parameter is not visible in schedules, but hideparameter'ed shows there.

Best Regards,
Piotr
Barry Kelly
Moderator
You can also use LOCK in the script so the user will see a greyed out parameter in the object but won't be able to adjust it.
Useful if you want to see the resulting parameter value in the object but not be able to change it.

Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11