# NX 2506
# Journal created by Antoine on Mon Dec  1 15:43:07 2025 Eastern Standard Time
#
import math
import NXOpen
import NXOpen.Assemblies
import NXOpen.CAE
def main(args) : 

    theSession  = NXOpen.Session.GetSession() #type: NXOpen.Session
    workSimPart = theSession.Parts.BaseWork
    displaySimPart = theSession.Parts.BaseDisplay
    markId1 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Load Part")
    
    part1, partLoadStatus1 = theSession.Parts.Open("C:\\Users\\Antoine\\Atomizer\\studies\\m1_mirror_zernike_optimization_V4\\1_setup\\model\\ASSY_M1.prt")
    
    partLoadStatus1.Dispose()
    markId2 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Load Part")
    
    part2, partLoadStatus2 = theSession.Parts.Open("C:\\Users\\Antoine\\Atomizer\\studies\\m1_mirror_zernike_optimization_V4\\1_setup\\model\\M1_Blank_fem1_i.prt")
    
    partLoadStatus2.Dispose()
    markId3 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Load Part")
    
    part3, partLoadStatus3 = theSession.Parts.Open("C:\\Users\\Antoine\\Atomizer\\studies\\m1_mirror_zernike_optimization_V4\\1_setup\\model\\M1_Vertical_Support_Skeleton_fem1_i.prt")
    
    partLoadStatus3.Dispose()
    markId4 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Make Work Part")
    
    component1 = workSimPart.ComponentAssembly.RootComponent.FindObject("COMPONENT ASSY_M1_assyfem1 1")
    component2 = component1.FindObject("COMPONENT M1_Blank_fem1 1")
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    partLoadStatus4 = theSession.Parts.SetWorkComponent(component2, NXOpen.PartCollection.RefsetOption.Entire, NXOpen.PartCollection.WorkComponentOption.Visible)
    
    workFemPart = theSession.Parts.BaseWork
    partLoadStatus4.Dispose()
    markId5 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Update FE Model")
    
    fEModel1 = workFemPart.FindObject("FEModel")
    fEModel1.UpdateFemodel()
    
    markId6 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Make Work Part")
    
    component3 = component1.FindObject("COMPONENT M1_Vertical_Support_Skeleton_fem1 3")
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    partLoadStatus5 = theSession.Parts.SetWorkComponent(component3, NXOpen.PartCollection.RefsetOption.Entire, NXOpen.PartCollection.WorkComponentOption.Visible)
    
    workFemPart = theSession.Parts.BaseWork # M1_Vertical_Support_Skeleton_fem1
    partLoadStatus5.Dispose()
    markId7 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Update FE Model")
    
    fEModel2 = workFemPart.FindObject("FEModel")
    fEModel2.UpdateFemodel()
    
    markId8 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Make Work Part")
    
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    partLoadStatus6 = theSession.Parts.SetWorkComponent(component1, NXOpen.PartCollection.RefsetOption.Entire, NXOpen.PartCollection.WorkComponentOption.Visible)
    
    workAssyFemPart = theSession.Parts.BaseWork
    partLoadStatus6.Dispose()
    scaleAboutPoint1 = NXOpen.Point3d(-2666.1519683543847, -237.44355952266031, 0.0)
    viewCenter1 = NXOpen.Point3d(2666.1519683543956, 237.44355952265121, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint1, viewCenter1)
    
    scaleAboutPoint2 = NXOpen.Point3d(-2134.7306684703462, -191.76394140496825, 0.0)
    viewCenter2 = NXOpen.Point3d(2134.7306684703572, 191.76394140495916, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint2, viewCenter2)
    
    scaleAboutPoint3 = NXOpen.Point3d(-1707.7845347762757, -154.85842815344702, 0.0)
    viewCenter3 = NXOpen.Point3d(1707.7845347762864, 154.85842815343773, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint3, viewCenter3)
    
    scaleAboutPoint4 = NXOpen.Point3d(-1366.2276278210197, -126.20238256991294, 0.0)
    viewCenter4 = NXOpen.Point3d(1366.2276278210309, 126.20238256990365, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint4, viewCenter4)
    
    rotMatrix1 = NXOpen.Matrix3x3()
    
    rotMatrix1.Xx = 0.96902710967485339
    rotMatrix1.Xy = -0.22333796654987645
    rotMatrix1.Xz = -0.10538791872205082
    rotMatrix1.Yx = -0.20782909682539583
    rotMatrix1.Yy = -0.50700664539762674
    rotMatrix1.Yz = -0.83651140341024799
    rotMatrix1.Zx = 0.1333923806967231
    rotMatrix1.Zy = 0.83250490342100114
    rotMatrix1.Zz = -0.53771931205048451
    translation1 = NXOpen.Point3d(-451.8991815240804, -46.924831204880299, -2375.5167597079335)
    displaySimPart.ModelingViews.WorkView.SetRotationTranslationScale(rotMatrix1, translation1, 0.2856481663228308)
    
    scaleAboutPoint5 = NXOpen.Point3d(-793.8014081644817, 114.85574633884778, 0.0)
    viewCenter5 = NXOpen.Point3d(793.80140816449273, -114.8557463388569, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint5, viewCenter5)
    
    scaleAboutPoint6 = NXOpen.Point3d(-626.14906875051201, 92.625601886166663, 0.0)
    viewCenter6 = NXOpen.Point3d(626.14906875052304, -92.625601886175744, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint6, viewCenter6)
    
    scaleAboutPoint7 = NXOpen.Point3d(-497.95523574005102, 74.693285361003888, 0.0)
    viewCenter7 = NXOpen.Point3d(497.95523574006194, -74.693285361013011, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint7, viewCenter7)
    
    scaleAboutPoint8 = NXOpen.Point3d(-398.36418859203991, 59.754628288802216, 0.0)
    viewCenter8 = NXOpen.Point3d(398.36418859205054, -59.754628288811318, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint8, viewCenter8)
    
    scaleAboutPoint9 = NXOpen.Point3d(-318.69135087363077, 47.803702631040913, 0.0)
    viewCenter9 = NXOpen.Point3d(318.69135087364151, -47.803702631049987, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint9, viewCenter9)
    
    scaleAboutPoint10 = NXOpen.Point3d(-285.60815349722475, 90.447640533656042, 0.0)
    viewCenter10 = NXOpen.Point3d(285.60815349723543, -90.447640533665052, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint10, viewCenter10)
    
    scaleAboutPoint11 = NXOpen.Point3d(-229.70058508682118, 72.600924884732464, 0.0)
    viewCenter11 = NXOpen.Point3d(229.70058508683186, -72.600924884741403, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint11, viewCenter11)
    
    scaleAboutPoint12 = NXOpen.Point3d(-185.50871776567695, 57.497990009044692, 0.0)
    viewCenter12 = NXOpen.Point3d(185.50871776568766, -57.49799000905363, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint12, viewCenter12)
    
    scaleAboutPoint13 = NXOpen.Point3d(-149.49477402352255, 45.221392142247723, 0.0)
    viewCenter13 = NXOpen.Point3d(149.49477402353321, -45.22139214225664, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint13, viewCenter13)
    
    scaleAboutPoint14 = NXOpen.Point3d(-121.21197893799027, 34.809593951419878, 0.0)
    viewCenter14 = NXOpen.Point3d(121.21197893800093, -34.809593951428866, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint14, viewCenter14)
    
    scaleAboutPoint15 = NXOpen.Point3d(-101.24619040728035, 19.990652526384892, 0.0)
    viewCenter15 = NXOpen.Point3d(101.24619040729107, -19.99065252639393, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(1.25, scaleAboutPoint15, viewCenter15)
    
    rotMatrix2 = NXOpen.Matrix3x3()
    
    rotMatrix2.Xx = 0.95940360720499696
    rotMatrix2.Xy = -0.28078653328046072
    rotMatrix2.Xz = 0.02652623626488361
    rotMatrix2.Yx = -0.18061541606516821
    rotMatrix2.Yy = -0.68391192141744184
    rotMatrix2.Yz = -0.70685398437209435
    rotMatrix2.Zx = 0.21661668901921138
    rotMatrix2.Zy = 0.67336721517418741
    rotMatrix2.Zz = -0.70686194095233734
    translation2 = NXOpen.Point3d(285.91553638281056, -189.52148881959968, -2364.6793952310759)
    displaySimPart.ModelingViews.WorkView.SetRotationTranslationScale(rotMatrix2, translation2, 3.3253823211746147)
    
    scaleAboutPoint16 = NXOpen.Point3d(-78.212184809709257, -6.8425716110273234, 0.0)
    viewCenter16 = NXOpen.Point3d(78.212184809719943, 6.8425716110183457, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint16, viewCenter16)
    
    scaleAboutPoint17 = NXOpen.Point3d(-97.367407081264503, -8.4537585310646932, 0.0)
    viewCenter17 = NXOpen.Point3d(97.367407081275175, 8.453758531055712, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint17, viewCenter17)
    
    scaleAboutPoint18 = NXOpen.Point3d(-121.46061889478601, -10.567198163829731, 0.0)
    viewCenter18 = NXOpen.Point3d(121.46061889479674, 10.567198163820763, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint18, viewCenter18)
    
    scaleAboutPoint19 = NXOpen.Point3d(-151.51497367248905, -13.208997704786045, 0.0)
    viewCenter19 = NXOpen.Point3d(151.51497367249971, 13.208997704777078, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint19, viewCenter19)
    
    # ----------------------------------------------
    #   Menu: Analysis->Finite Element Model Check->Duplicate Nodes...
    # ----------------------------------------------
    markId9 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Start")
    
    caePart1 = workAssyFemPart
    duplicateNodesCheckBuilder1 = caePart1.ModelCheckMgr.CreateDuplicateNodesCheckBuilder()
    
    unit1 = duplicateNodesCheckBuilder1.Tolerance.Units
    
    duplicateNodesCheckBuilder1.Tolerance.Units = unit1
    
    duplicateNodesCheckBuilder1.Tolerance.SetFormula("0.01")
    
    duplicateNodesCheckBuilder1.MergeOccurrenceNodes = True
    
    theSession.SetUndoMarkName(markId9, "Duplicate Nodes Dialog")
    
    displaysettings1 = NXOpen.CAE.ModelCheck.DuplicateNodesCheckBuilder.DisplaySettings()
    
    displaysettings1.ShowDuplicateNodes = True
    displaysettings1.ShowMergedNodeLabels = False
    displaysettings1.ShowRetainedNodeLabels = False
    displaysettings1.KeepNodesColor = displaySimPart.Colors.Find("Blue")
    displaysettings1.MergeNodesColor = displaySimPart.Colors.Find("Yellow")
    displaysettings1.UnableToMergeNodesColor = displaySimPart.Colors.Find("Red")
    duplicateNodesCheckBuilder1.DisplaySettingsData = displaysettings1
    
    scaleAboutPoint20 = NXOpen.Point3d(-186.28571763066398, 34.187994059430125, 0.0)
    viewCenter20 = NXOpen.Point3d(186.2857176306747, -34.187994059439092, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint20, viewCenter20)
    
    scaleAboutPoint21 = NXOpen.Point3d(-131.6043521321933, 28.894682479205166, 0.0)
    viewCenter21 = NXOpen.Point3d(131.60435213220401, -28.894682479214147, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint21, viewCenter21)
    
    scaleAboutPoint22 = NXOpen.Point3d(-164.5054401652429, 36.118353099007557, 0.0)
    viewCenter22 = NXOpen.Point3d(164.50544016525356, -36.118353099016574, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint22, viewCenter22)
    
    scaleAboutPoint23 = NXOpen.Point3d(-205.63180020655497, 45.527335839086355, 0.0)
    viewCenter23 = NXOpen.Point3d(205.63180020656563, -45.527335839095379, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint23, viewCenter23)
    
    scaleAboutPoint24 = NXOpen.Point3d(-313.00043389374423, 80.147080800061644, 0.0)
    viewCenter24 = NXOpen.Point3d(313.00043389375486, -80.14708080007064, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint24, viewCenter24)
    
    scaleAboutPoint25 = NXOpen.Point3d(-391.25054236718159, 100.18385100007815, 0.0)
    viewCenter25 = NXOpen.Point3d(391.25054236719217, -100.18385100008713, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint25, viewCenter25)
    
    scaleAboutPoint26 = NXOpen.Point3d(-489.06317795897837, 125.22981375009891, 0.0)
    viewCenter26 = NXOpen.Point3d(489.06317795898894, -125.22981375010782, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint26, viewCenter26)
    
    scaleAboutPoint27 = NXOpen.Point3d(-611.32897244872447, 156.53726718762479, 0.0)
    viewCenter27 = NXOpen.Point3d(611.3289724487347, -156.53726718763363, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint27, viewCenter27)
    
    scaleAboutPoint28 = NXOpen.Point3d(-764.16121556090661, 195.67158398453205, 0.0)
    viewCenter28 = NXOpen.Point3d(764.16121556091707, -195.67158398454092, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint28, viewCenter28)
    
    scaleAboutPoint29 = NXOpen.Point3d(-955.20151945113435, 244.58947998066611, 0.0)
    viewCenter29 = NXOpen.Point3d(955.2015194511448, -244.58947998067507, 0.0)
    displaySimPart.ModelingViews.WorkView.ZoomAboutPoint(0.80000000000000004, scaleAboutPoint29, viewCenter29)
    
    selectTaggedObjectList1 = duplicateNodesCheckBuilder1.SelectionList
    
    duplicateNodesCheckBuilder1.CheckScopeOption = NXOpen.CAE.ModelCheck.CheckScope.Displayed
    
    duplicateNodesCheckBuilder1.IdentifyDuplicateNodes()
    
    duplicateNodesCheckBuilder1.MergeDuplicateNodes()
    
    theSession.SetUndoMarkName(markId9, "Duplicate Nodes")
    
    duplicateNodesCheckBuilder1.Destroy()
    
    theSession.DeleteUndoMark(markId9, None)
    
    markId10 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Start")
    
    assyFemPart1 = workAssyFemPart
    assemblyLabelManagerBuilder1 = assyFemPart1.CreateAssemblyLabelManagerBuilder()
    
    theSession.SetUndoMarkName(markId10, "Assembly Label Manager Dialog")
    
    # ----------------------------------------------
    #   Dialog Begin Assembly Label Manager
    # ----------------------------------------------
    entitytypes1 = [None] * 7 
    entitytypes1[0] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Node
    entitytypes1[1] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Element
    entitytypes1[2] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Csys
    entitytypes1[3] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Physical
    entitytypes1[4] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Group
    entitytypes1[5] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Ply
    entitytypes1[6] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Ssmo
    offsetentitytypelabeltonearest1 = [None] * 7 
    offsetentitytypelabeltonearest1[0] = 1
    offsetentitytypelabeltonearest1[1] = 1
    offsetentitytypelabeltonearest1[2] = 1
    offsetentitytypelabeltonearest1[3] = 1
    offsetentitytypelabeltonearest1[4] = 1
    offsetentitytypelabeltonearest1[5] = 1
    offsetentitytypelabeltonearest1[6] = 1
    assemblyLabelManagerBuilder1.AutoResolveLabels(NXOpen.CAE.AssemblyLabelManagerBuilder.AutoResolveType.SameOffsets, entitytypes1, offsetentitytypelabeltonearest1, 0)
    
    markId11 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Invisible, "Assembly Label Manager")
    
    theSession.DeleteUndoMark(markId11, None)
    
    markId12 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Invisible, "Assembly Label Manager")
    
    fEModelOccurrence1 = workAssyFemPart.FindObject("FEModelOccurrence[3]")
    entitytypes2 = [None] * 7 
    entitytypes2[0] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Node
    entitytypes2[1] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Element
    entitytypes2[2] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Csys
    entitytypes2[3] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Physical
    entitytypes2[4] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Group
    entitytypes2[5] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Ply
    entitytypes2[6] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Ssmo
    offsetentitytypelabeltonearest2 = [None] * 7 
    offsetentitytypelabeltonearest2[0] = 2
    offsetentitytypelabeltonearest2[1] = 2
    offsetentitytypelabeltonearest2[2] = 2
    offsetentitytypelabeltonearest2[3] = 2
    offsetentitytypelabeltonearest2[4] = 2
    offsetentitytypelabeltonearest2[5] = 2
    offsetentitytypelabeltonearest2[6] = 2
    assemblyLabelManagerBuilder1.SetFEModelOccOffsets(fEModelOccurrence1, entitytypes2, offsetentitytypelabeltonearest2)
    
    fEModelOccurrence2 = workAssyFemPart.FindObject("FEModelOccurrence[4]")
    entitytypes3 = [None] * 7 
    entitytypes3[0] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Node
    entitytypes3[1] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Element
    entitytypes3[2] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Csys
    entitytypes3[3] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Physical
    entitytypes3[4] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Group
    entitytypes3[5] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Ply
    entitytypes3[6] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Ssmo
    offsetentitytypelabeltonearest3 = [None] * 7 
    offsetentitytypelabeltonearest3[0] = 74
    offsetentitytypelabeltonearest3[1] = 74
    offsetentitytypelabeltonearest3[2] = 74
    offsetentitytypelabeltonearest3[3] = 74
    offsetentitytypelabeltonearest3[4] = 74
    offsetentitytypelabeltonearest3[5] = 74
    offsetentitytypelabeltonearest3[6] = 74
    assemblyLabelManagerBuilder1.SetFEModelOccOffsets(fEModelOccurrence2, entitytypes3, offsetentitytypelabeltonearest3)
    
    fEModelOccurrence3 = workAssyFemPart.FindObject("FEModelOccurrence[5]")
    entitytypes4 = [None] * 7 
    entitytypes4[0] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Node
    entitytypes4[1] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Element
    entitytypes4[2] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Csys
    entitytypes4[3] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Physical
    entitytypes4[4] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Group
    entitytypes4[5] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Ply
    entitytypes4[6] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Ssmo
    offsetentitytypelabeltonearest4 = [None] * 7 
    offsetentitytypelabeltonearest4[0] = 146
    offsetentitytypelabeltonearest4[1] = 146
    offsetentitytypelabeltonearest4[2] = 146
    offsetentitytypelabeltonearest4[3] = 146
    offsetentitytypelabeltonearest4[4] = 146
    offsetentitytypelabeltonearest4[5] = 146
    offsetentitytypelabeltonearest4[6] = 146
    assemblyLabelManagerBuilder1.SetFEModelOccOffsets(fEModelOccurrence3, entitytypes4, offsetentitytypelabeltonearest4)
    
    fEModelOccurrence4 = workAssyFemPart.FindObject("FEModelOccurrence[7]")
    entitytypes5 = [None] * 7 
    entitytypes5[0] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Node
    entitytypes5[1] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Element
    entitytypes5[2] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Csys
    entitytypes5[3] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Physical
    entitytypes5[4] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Group
    entitytypes5[5] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Ply
    entitytypes5[6] = NXOpen.CAE.AssemblyLabelManagerBuilder.EntityType.Ssmo
    offsetentitytypelabeltonearest5 = [None] * 7 
    offsetentitytypelabeltonearest5[0] = 218
    offsetentitytypelabeltonearest5[1] = 218
    offsetentitytypelabeltonearest5[2] = 218
    offsetentitytypelabeltonearest5[3] = 218
    offsetentitytypelabeltonearest5[4] = 218
    offsetentitytypelabeltonearest5[5] = 218
    offsetentitytypelabeltonearest5[6] = 218
    assemblyLabelManagerBuilder1.SetFEModelOccOffsets(fEModelOccurrence4, entitytypes5, offsetentitytypelabeltonearest5)
    
    nXObject1 = assemblyLabelManagerBuilder1.Commit()
    
    theSession.DeleteUndoMark(markId12, None)
    
    theSession.SetUndoMarkName(markId10, "Assembly Label Manager")
    
    assemblyLabelManagerBuilder1.Destroy()
    
    markId13 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Make Work Part")
    
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    # No object found for the subject of the next call.
    # This may be because of previous exceptions
    # # <None>.Dispose()
    partLoadStatus7 = theSession.Parts.SetWorkComponent(NXOpen.Assemblies.Component.Null, NXOpen.PartCollection.RefsetOption.Entire, NXOpen.PartCollection.WorkComponentOption.Visible)
    
    workSimPart = theSession.Parts.BaseWork # ASSY_M1_assyfem1_sim1
    partLoadStatus7.Dispose()
    # ----------------------------------------------
    #   Menu: Analysis->Solve...
    # ----------------------------------------------
    markId14 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Visible, "Start")
    
    theSession.SetUndoMarkName(markId14, "Solve Dialog")
    
    markId15 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Invisible, "Solve")
    
    theSession.DeleteUndoMark(markId15, None)
    
    markId16 = theSession.SetUndoMark(NXOpen.Session.MarkVisibility.Invisible, "Solve")
    
    theCAESimSolveManager = NXOpen.CAE.SimSolveManager.GetSimSolveManager(theSession)
    
    psolutions1 = [NXOpen.CAE.SimSolution.Null] * 1 
    simSimulation1 = workSimPart.FindObject("Simulation")
    simSolution1 = simSimulation1.FindObject("Solution[Solution 1]")
    psolutions1[0] = simSolution1
    numsolutionssolved1, numsolutionsfailed1, numsolutionsskipped1 = theCAESimSolveManager.SolveChainOfSolutions(psolutions1, NXOpen.CAE.SimSolution.SolveOption.Solve, NXOpen.CAE.SimSolution.SetupCheckOption.CompleteCheckAndOutputErrors, NXOpen.CAE.SimSolution.SolveMode.Background)
    
    theSession.DeleteUndoMark(markId16, None)
    
    theSession.SetUndoMarkName(markId14, "Solve")
    
    # ----------------------------------------------
    #   Menu: Tools->Automation->Journal->Stop Recording
    # ----------------------------------------------
    
if __name__ == '__main__':
    main(sys.argv[1:])