Automatically changing structure sizes
It is possible to let the macro automatically change a smart structure's size.
The following conditions need to be met to achieve this :
- A module that contains a smart structure as Rigid (preferably only 1 smart structure per module)
- This module needs at least 1 variable with the name "Struct_ColumnName" : Struct_ is fixed, and ColumnName should exactly match a column name in the structure's table.
- It is advised to have enough variables matching the table columns, so that Parabuild does not have multiple valid rows to choose from in the table. You wouldn't know which row Parabuild would pick.
All of the valid column names of the macro tread that is included in the Parabuild installation.
The working and procedure is the same as with the Automatically changing section sizes tool.
Look at that topic to see an example of how to use this tool in a module.
Minimum and maximum
It is possible to not specify an exact size, but minima and maxima for the sizes.
The only change we need to apply is to use Struct_Min and/or Struct_Max for the variable names.
See the Automatically changing section sizes topic for an example of this.