axlSaveSetupState
axlSaveSetupState(t_session t_stateName l_tags[ ?inReadOnlyreadOnlyAction] ) => t / nil
Description
Saves a setup state for the specified session.
Arguments
Value Returned
Examples
Saves the corner changes from a session to a saved state.
session = (axlGetWindowSession)
=>"session1"
; returns handle to the current session
x_mainSDB=axlGetMainSetupDB(session) =>1001 ; returns handle to the setup database of the session c1 = axlPutCorner( x_mainSDB "c1" ) =>1235 ; adds a new corner c1 axlPutVar( c1 "VIN_CM" "1.06 1.08" ) =>1237 ; Sets corner variables axlSaveSetupState(session "CornersState1" `("corners" "vars")) =>t ; saves the corner details in a setup state named CornersState1
Saves all the tags from the current session to a state, use the all tag.
session = (axlGetWindowSession)
=>"session1"
x_mainSDB=axlGetMainSetupDB(session)
=>1001
axlSaveSetupState(session "state2" "All")
=>t
Return to top