Dim Sess As Session = Session.GetSession()
Dim ufSess As UFSession = UFSession.GetUFSession()
......
......
Dim Tabnot_Pref As NXOpen.UF.UFTabnot.SectionPrefs
ufSess.Tabnot.AskDefaultSectionPrefs(Tabnot_Pref) '正确读取
Dim Cell_Prefs As NXOpen.UF.UFTabnot.CellPrefs
ufSess.Tabnot.AskDefaultCellPrefs(Cell_Prefs)胜‘报错:未处理的“System.ExecutionEngineException”类型的异常出现在 nxopen.uf.dll 中。