Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

leApplyAreaFunction

leApplyAreaFunction( 
s_funcs_funcSymbol
d_databaseId
l_paramList
) 
=> f_result / nil

Description

Runs the area estimation function (provided as a function symbol) with provided parameters and database Id. This function is added as a part of Area Estimation consolidation.

Arguments

s_funcs_funcSymbol

Text string specifying functional callback symbol.

d_databaseId

Database Id.

l_paramList

List of parameters.

Value Returned

t

Returns floating point number if the function is successful.

nil

Returns nil if the function is not successful.

Example

Once you have the function callback symbol, the dbId, and the updated parameter list
if((funcRunMode == "direct"
then
//Collect all arguments and execute the function
area Value = leApplyAreaFunction(funcCallbackSymbol clusterId funcParamListUpdated)
//Fill this in any form field
form->areaFD = areaValue
else
//Store funcCallBackSymbol, dbId and parameter list in internal data struct to be called later.


Return to top
 ⠀
X