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

Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.

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

GDL: Profile Request Parameter Script

Lingwisyer
Guru
n = REQUEST ("Profile_default_boundingbox", name_or_index, xmin, ymin, xmax, ymax)

This request does not work in the parameter script, so is there some other way I can get parameters calculated from the min max returns to update their relevant parameters?
Width = abs(_xMax - _xMin)
Height = abs(_yMax - _yMin)


Ling.

AC22-28 AUS 3110Help 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 ACCEPTED SOLUTION

Accepted Solutions
Solution
Lingwisyer
Guru
Péter wrote:
Hi,

No, but a profile type parameter shows it’s default size in the UI popup (and the request is usable in UI script).

ie. Values calculated from request returns cannot be displayed to the user unless a UI is scripted. So if that is not done, displayed values do not equal executed values.



Ling.

AC22-28 AUS 3110Help 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

View solution in original post

1 REPLY 1
Solution
Lingwisyer
Guru
Péter wrote:
Hi,

No, but a profile type parameter shows it’s default size in the UI popup (and the request is usable in UI script).

ie. Values calculated from request returns cannot be displayed to the user unless a UI is scripted. So if that is not done, displayed values do not equal executed values.



Ling.

AC22-28 AUS 3110Help 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