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

axlGetModelTest

axlGetModelTest( 
x_modelHandle 
) 
=> t_testName / nil 

Description

Returns the name of the test associated with the specified model. By default, a model file is associated with a test. However, in MTS mode, a model can be associated with a specific block in the design. Using this function, you can get the name of the test with which a model file is associated.

Arguments

x_modelHandle

Handle to a model

Value Returned

t_testName

Name of the test associated with the specified model is returned. In default mode, the function returns All. In MTS mode, it returns the name of the test of the block with which the model file is associated.

nil

Name of the test associated with the specified model is not returned.

Examples

Returns the name of the test associated with the model model1.scs.

x_mainSDB=axlGetMainSetupDB(axlGetWindowSession())
=> 1001
=> "C0"
cornerHandle=axlGetCorner(x_mainSDB "C0")
=> 1918
model = axlGetModel(cornerHandle "model1.scs")
=> 1311
axlGetModelTest(model)
"All"
; the return value indicates that the model file is associated with all the tests in the adexl view.

Related Topics

axlGetModel

axlSetModelTest


Return to top
 ⠀
X