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

viaRegisterPreViaEngineCallback

viaRegisterPreViaEngineCallback(
t_functionName
) 
=> t / nil

Description

Registers the function name to be called before via engine processing. The registered function name should be a valid SKILL procedure. The preViaEngine procedure that is registered should be declared with one argument, viaEngineContext. This argument is a user type representing the context of the viaEngine call. The viaRegisterPreViaEngineCallback function that is registered should be declared with the viaEngineContext argument. This argument is a user type representing the context of the viaEngine call. The function returns t or nil. If nil is returned by the viaRegisterPreViaEngineCallback function registered, vias are not created.

Arguments

t_functionName

Name of the function to register before the viaEngine processing.

Value Returned

t

Returns t if the function is successfully registered.

nil

Returns nil if the function is not successfully registered.

Example

procedure(myPreViaEngineProc(veContext)
println(veContext~>??)
t
)
viaRegisterPreViaEngineCallback("myPreViaEngineProc")

Return to top
 ⠀
X