The Global Archicad Community

Stay informed. Get help. Share your knowledge.

Everything about using Libraries and Library Parts - Doors/Windows/Objects/Stairs etc. (Example: How can I display a Transom above my Door?)

Moderators: Karl Ottenstein, LaszloNagy, ejrolon, Barry Kelly, Gordana Radonic, nbalogh, mnguyen, gkmethy, Gergely Feher

#298537
Code: Select all
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?
Code: Select all
Width = abs(_xMax - _xMin)
Height = abs(_yMax - _yMin)


Ling.
#298575
Péter Baksa 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.