cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Design forum

Reflecting Editable Parameters: A = C & C = A

Lingwisyer
Legend
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
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 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Lingwisyer
Legend
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 

Didn't find the answer? Start a new discussion

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!