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

viaRegisterPostViaEngineCallback

viaRegisterPostViaEngineCallback(
t_functionName
) 
=> t / nil

Description

Registers the function name to be called after the viaEngine processing. The registered function name should be a valid SKILL procedure. The postViaEngine procedure that is registered should be declared with one argument, the viaEngineContext. This argument is a user type representing the context of the viaEngine call. The viaRegisterPostViaEngineCallback 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 viaRegisterPostViaEngineCallback function registered, vias are not created.

Arguments

t_functionName

Name of the function to register after 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(myPostViaEngineProc(veContext)
println(veContext~>??)
t
)
viaRegisterPostViaEngineCallback("myPostViaEngineProc")

Return to top
 ⠀
X