Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Non stretchy doors

Anonymous
Not applicable
Hi
I'm doing a door object for calculation purpose.
My q is:
How can I do non-stretchy (fixed) doors where users are disabled to use the A value?
Nicolaj
5 REPLIES 5
David Maudlin
Rockstar
hvid:

The approach will depend on the door(s) you are using. At the beginning of the Master Script you could add a line:
A=2'-6"
which would set A to the prescribed size and ignore the user's input (so you should probably add a Lock statement for A so the user realizes that they cannot change A).

David
David Maudlin / Architect
www.davidmaudlin.com
Digital Architecture
AC27 USA • iMac 27" 4.0GHz Quad-core i7 OSX11 | 24 gb ram • MacBook Pro M3 Pro | 36 gb ram OSX14
Anonymous
Not applicable
Hi David
This was my first idea as well but....
the thing is that I want 4-6 different predefined (fixed) sizes of doors.

If modul = `M7` then A= .7
If modul = `M8` then A= .8
an so on.

another thing is that even the A is locked (Lock "A") the user is still able to stretch the doorhole graphically which is not the intention.
Is Wallhole2 the answer?

Nicolaj
Anonymous
Not applicable
You can lock the value of A by using values lists.
1. Set a list of values for modul in the parameters script
values "modul" "M7", "M8", "M9"
2. Define values lists for A depending on which value is selected.
if modul = "M7" then values "A" 0.700
if modul = "M8" then values "A" 0.800
if modul = "M9" then values "A" 0.900
That's enough to set and lock the parameters in one shot.
Anonymous
Not applicable
Thanks a lot - it works
Why is it we need the " " with the "A" value?

Nicolaj
Erich
Booster
While Andrew may have a more technical description, the quotes are necessary around the "A" because that is the variable being affected by the VALUES statement. The syntax is VALUES "variable" possible_value_1, possible_value_2,...possible_value_n. Furthermore, if the possible values are strings rather than numeric, they to would be in quotes.

HTH
Erich

AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K