How to hide parameters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-17 11:37 AM
can someone help
thx a lot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-17 11:57 AM
You have to go to parameter script and use:
hideparameter "parameter_name"
You can also lock parameters, give them possible values.......

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-17 05:46 PM
IF parameter1 THEN HIDEPARAMETER 'parameter2'This says that if parameter1 is turned on, parameter2 is to be hidden. For this to work, parameter1 must be a boolean value.
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-18 12:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-18 12:16 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-18 02:57 PM
You will want to use an If-Then command, for example:
If Door_Type="None" Then HideParameter "Door_Mat", "Trim_Mat"
You should add a Signature to your Profile (click the Profile button near the top of this page) with your ArchiCAD version and operating system (see mine for an example) for more accurate help in this forum.
David
www.davidmaudlin.com
Digital Architecture
AC28 USA • Mac mini M4 Pro OSX15 | 64 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-18 05:58 PM
Type_of_Desk choose between "Door" "Drawers"
But i have also a parameter Number_of_Drawer and Material_Drawers
and those parameters must be disabled when you choose "Door"
Can you please send me a script or something
I tried this in the parameter script
IF "Type_of_Desk" = "Door" THEN
HIDEPARAMETER "Number_of_Drawers"
HIDEPARAMETER "Material_Drawer"
ENDIF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-18 07:03 PM
You jumped over Erich's Comment.....
This says that if parameter1 is turned on, parameter2 is to be hidden. For this to work, parameter1 must be a boolean value.
For your desk you need to create a Boolean value for the doors and or drawers. If the only two options are drawers or doors then try something like this (assuming you are using a VALUES script in the master script)
Parameters
desk_type Abc
desk_drawers Boolean
desk_doors Boolean
Master Script
dt_1 = "Doors"
dt_2 = "Drawers"
VALUES "desk_type" "Doors", "Drawers"
Parameters Script
IF desk_type = dt_1 THEN
PARAMETERS desk_doors = 1
PARAMETERS desk_drawers = 0
ENDIF
IF desk_type = dt_2 THEN
PARAMETERS desk_doors = 0
PARAMETERS desk_drawers = 1
ENDIF
Then you set up what parameters you want hidden or showing based on the values of desk_door and desk_drawers
IF desk_drawer = 1 THEN
HIDEPARAMETERS .................
ENDIF
Hope that helps.
David

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-18 10:18 PM
jensvs wrote:Given that your parameters are text (i.e. door or drawers) and not boolean, then what you show is fine, other than you have quotes around Type_of_Desk in your code.
I tried this in the parameter script
IF "Type_of_Desk" = "Door" THEN
HIDEPARAMETER "Number_of_Drawers"
HIDEPARAMETER "Material_Drawer"
ENDIF
You can even simplify this as follows:
IF Type_of_Desk = 'Door' THEN HIDEPARAMETER 'Number_of_Drawers', 'Material_Drawer' ENDIF
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-01-19 04:02 AM
The parameter list will remain unchanged - you can't tell what is hidden or not until you save the object and use it in Archicad.
A little trick I do though is to also 'LOCK' the parameters.
This you can see while you are editing the script - the locked parameters will turn grey in the parameter list.
IF Type_of_Desk = 'Door' THEN LOCK 'Number_of_Drawers', 'Material_Drawer' HIDEPARAMETER 'Number_of_Drawers', 'Material_Drawer' ENDIFBarry.
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