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
Value Returned
|
The list containing the setup handle and all the section names is returned. |
||
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