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

Reflecting Editable Parameters: A = C & C = A

Lingwisyer
Guru
Hey all,

Is there a way to reflect values between editable parameters?
Or is there some way to make the base parameters A and B visible in the Custom Settings tab.

I am wanting to be able to edit the height and width of my object using both the object settings dialogue and the default Size Parameter.

It is easy enough to make A = C or C = A, but to make them both happen brings into the issue of execution order(?).



Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660 
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Barry Kelly
Moderator
What about ...

if GLOB_MODPAR_NAME = "A" then
C=A
PARAMETERS C=C
endif

if GLOB_MODPAR_NAME = "C" then
A=C
PARAMETERS A=A
endif

This way each will be the same as the other but will only change when either of the parameters is changed and not at any other time.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

View solution in original post

2 REPLIES 2
Solution
Barry Kelly
Moderator
What about ...

if GLOB_MODPAR_NAME = "A" then
C=A
PARAMETERS C=C
endif

if GLOB_MODPAR_NAME = "C" then
A=C
PARAMETERS A=A
endif

This way each will be the same as the other but will only change when either of the parameters is changed and not at any other time.

Barry.
One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Lingwisyer
Guru
Ah, so that is what glob_modpar is for. Did not get it when I saw it in the manual.


Thanks,

Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win10 | R5 2600 | 16GB | GTX1660