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

axlGetModelPermissibleSectionLists

axlGetModelPermissibleSectionLists( 
x_handleModel 
) 
=> l_sectionName / nil 

Description

Returns a list of permissible section names for the given model extracted from a PCF file.

Arguments

x_handleModel

Handle to the model imported from a PCF file

This should be a model file in the main setup database.

Value Returned

l_sectionNames

The list containing the setup handle and all the section names is returned.

nil

Indicates an error.

Examples

Returns the permissible section name list for the model file gpdk090.scs.

; get the handle to the main setup database
sdb=axlGetMainSetupDB(axlGetWindowSession()) => 1001 ; get the handle to the model imported from the PCF file. ;Note: It is important to provide the handle to the main setup database in the ;function call given below. mh1=axlGetModel(sdb "gpdk090.scs") => 2323 ; View the existing permissible sections list for the given model. axlGetModelPermissibleSectionLists(mh1) => (2326 ("TT_s1v")) ; the returned value shows that the permissible sections list for the model ; includes only one section, TT_s1v. axlAddModelPermissibleSectionLists(mh1 ( "FF_s1v" )) => (2603 2604) ; adding one more section name to the permissible sections list axlGetModelPermissibleSectionLists(mh1) => (2326 ( "TT_s1v" "FF_s1v" )) ; the returned value shows that now the permissible sections list for the model ; includes two section names

Related Topics

axlSetModelPermissibleSectionLists

axlAddModelPermissibleSectionLists


Return to top
 ⠀
X