cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Lingwisyer
Guru

Reflecting Editable Parameters: A = C & C = A

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-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660
1 Solution

Accepted Solutions
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
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

Go to post

2 Replies 2
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
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
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-29 AUS 3200Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!