Modeller.getSessionFileAssignment


getSessionFileAssignment()

assign

assignment

This is the object that LUSAS Modeller uses in the session file to store assigment data and options. You are welcome to use the same object in your scripts, or to use newAssignment to create a new assignment object each time. If you reuse existing objects, make sure that you call setAllDefaults to clear up the options from the previous usage

Argumentsnone 
Return valueIFAssignment

Example


 call assignment.setAllDefaults()
 call assignment.setLoadset("Loadcase 1")
 set assigned = myLoad.AssignTo(selection, assignment)
 

Back to Modeller

Back to Overview