Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified bin/IDFEditor/IDFEditor.exe
Binary file not shown.
34 changes: 24 additions & 10 deletions src/IDF_Editor/IDFEd-main.frm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
VERSION 5.00
Object = "{C0A63B80-4B21-11D3-BD95-D426EF2C7949}#1.0#0"; "Vsflex7L.ocx"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0"; "MSCOMCTL.OCX"
Object = "{C0A63B80-4B21-11D3-BD95-D426EF2C7949}#1.0#0"; "Vsflex7L.ocx"
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "ComDlg32.OCX"
Begin VB.Form IDFEdit
Caption = "IDF Edit"
Expand Down Expand Up @@ -3399,15 +3399,29 @@ If sizeValue > orgSize Then
ReDim Preserve IDFValue(sizeValue)
If Err.Number <> 0 Then
MsgBox "Out of memory when resizing the IDFValue array" + _
vbCrLf + vbCrLf + "If you are using many Schedule:Compacts input objects in your file, one workaround so that you " + _
"can open the file in IDF Editor, is to reduce " + _
"the length of the Schedule:Compact that appears in the Energy+.idd file. Make a copy of the Energy+.idd file " + _
"called ORIGINAL-Energy+.idd so you can always go back to it if you have to. Then open the Energ+.idd file with " + _
"a text editor such as Notepad and find the section on Schedule:Compact. After A1000 change the comma to a " + _
"semi-colon and delete the lines that start with A1001 to A9981, the end of that Schedule:Compact input object" + _
"description. Save the modified Energy+.idd file and try opening the file in IDF Editor again. " + _
"If that doesn't fix the issue you might want to look at the issue where this was first uncovered:" + _
vbCrLf + vbCrLf + "https://github.com/NREL/EnergyPlus/issues/9010 ", vbCritical, "Critical Memory Error"
vbCrLf + vbCrLf + "If you are using many copies of extensible input objects in your file, one workaround" + _
"is to reduce the length of the extensible objects that appear " + _
"in the Energy+.idd file. Extensible objects having extra fields and used many " + _
"times take up memory. Example of " + _
"this type of input object include:" + _
vbCrLf + " - Schedule:Compact" + _
vbCrLf + " - BuildingSurface:Detailed" + _
vbCrLf + " - AirLoopHVAC:ZoneSplitter" + _
vbCrLf + " - AirLoopHVAC:ZoneMixer" + _
vbCrLf + " - BranchList" + _
vbCrLf + " - Connector:Splitter" + _
vbCrLf + " - Connector:Mixer" + _
vbCrLf + " - NodeList" + _
vbCrLf + " - OutdoorAirNodeList" + _
vbCrLf + " - EnergyManagementSystem:Program" + _
vbCrLf + "Make a copy of the Energy+.idd file " + _
"called ORIGINAL-Energy+.idd as a backup. Then open the Energ+.idd file " + _
"with a text editor and find the section on those objects. After a field well past the last one you are " + _
"using, change the comma to a semi-colon and delete the remaining lines of that input object. Save the " + _
"modified Energy+.idd file and try opening the file in IDF Editor again.", vbCritical, "Critical Memory Error"
' "If that doesn't fix the issue you might want to look at the issues related to this:" + _
' vbCrLf + vbCrLf + "https://github.com/NatLabRockies/EnergyPlus/issues/9010" + _
' vbCrLf + vbCrLf + "https://github.com/NatLabRockies/EnergyPlus/issues/10321", vbCritical, "Critical Memory Error"
On Error GoTo 0
Exit Sub
End If
Expand Down
10 changes: 5 additions & 5 deletions src/IDF_Editor/IDFEd-project.VBP
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\..\..\..\Windows\SysWOW64\stdole2.tlb#OLE Automation
Object={C0A63B80-4B21-11D3-BD95-D426EF2C7949}#1.0#0; Vsflex7L.ocx
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; MSCOMCTL.OCX
Object={5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0; Msflxgrd.ocx
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; ComDlg32.OCX
Form=about.frm
Form=IDFEd-main.frm
Module=IDFMain; IDFEditMain.bas
Expand All @@ -16,6 +12,10 @@ Form=frmNodeSelect.frm
Form=frmSearch.frm
Form=frmErrorCheck.frm
Form=frmDuplicateAndChange.frm
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.1#0; MSCOMCTL.OCX
Object={5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0; Msflxgrd.ocx
Object={C0A63B80-4B21-11D3-BD95-D426EF2C7949}#1.0#0; Vsflex7L.ocx
Object={F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0; ComDlg32.OCX
IconForm="IDFEdit"
Startup="Sub Main"
HelpFile=""
Expand All @@ -30,7 +30,7 @@ MinorVer=5
RevisionVer=6
AutoIncrementVer=0
ServerSupportFiles=0
VersionComments="1.56"
VersionComments="1.56a"
VersionCompanyName="GARD Analytics"
VersionLegalCopyright="(c) 2000-2026 GARD Analytics"
CompilationType=0
Expand Down
4 changes: 2 additions & 2 deletions src/IDF_Editor/IDFEd-project.vbw
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
About = 286, 286, 1959, 1040, C, 516, 111, 2189, 865, C
IDFEdit = 1021, 31, 1972, 1038, , 220, 185, 1005, 939, C
About = 286, 286, 1959, 1040, C, 123, 167, 1796, 921, C
IDFEdit = 1021, 31, 1972, 1038, Z, 220, 185, 1005, 939, C
IDFMain = 0, 0, 1673, 754,
parentMDI = 835, 49, 1799, 1047, , 104, 104, 1777, 858, C
LayoutOption = 0, 0, 0, 0, C, 130, 130, 1803, 884, C
Expand Down
6 changes: 3 additions & 3 deletions src/IDF_Editor/about.frm
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Begin VB.Form About
Begin VB.Label lblVersion
Alignment = 1 'Right Justify
AutoSize = -1 'True
Caption = "Version 1.56"
Caption = "Version 1.56a"
BeginProperty Font
Name = "Arial"
Size = 12
Expand All @@ -92,10 +92,10 @@ Begin VB.Form About
Strikethrough = 0 'False
EndProperty
Height = 285
Left = 1680
Left = 1545
TabIndex = 1
Top = 960
Width = 1410
Width = 1545
End
Begin VB.Label lblProductName
AutoSize = -1 'True
Expand Down