Custom parameter values in preview and position field
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-10-08 03:16 PM
2013-10-08
03:16 PM
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-10-09 03:34 AM
2013-10-09
03:34 AM
If I am understanding your problem correctly you could alter your scripts to used the "A" & "B" parameters instead of your custom height and width.
This way a user can alter them directly from the info box rather than opening the settings.
Or on the parameter script you will need ...
A=custom_width
B=custom_height
PARAMETERS A=A, B=B
LOCK "A", "B"
You will need to lock A & B so the users don't think they can use them to alter the sizes.
If you don't lock them then you will also need to add in your script that whenever they are altered then your custom parameters get altered as well.
i.e.
if GLOB_MODAR_NAME = "A" then
custom_width=A
PARAMETERS custom_width=custom_width
endif
if GLOB_MODAR_NAME = "B" then
custom_height=B
PARAMETERS custom_height=custom_height
endif
Barry.
This way a user can alter them directly from the info box rather than opening the settings.
Or on the parameter script you will need ...
A=custom_width
B=custom_height
PARAMETERS A=A, B=B
LOCK "A", "B"
You will need to lock A & B so the users don't think they can use them to alter the sizes.
If you don't lock them then you will also need to add in your script that whenever they are altered then your custom parameters get altered as well.
i.e.
if GLOB_MODAR_NAME = "A" then
custom_width=A
PARAMETERS custom_width=custom_width
endif
if GLOB_MODAR_NAME = "B" then
custom_height=B
PARAMETERS custom_height=custom_height
endif
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
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
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-10-09 11:59 PM
2013-10-09
11:59 PM
You are truly a genius Barry. Thank you!
The reason i needed this, is for bimx. It looks to me that bimx reeds dimension from the the preview and position field.
That way my object parameter will show the right values in bimx.
The reason i needed this, is for bimx. It looks to me that bimx reeds dimension from the the preview and position field.
That way my object parameter will show the right values in bimx.