Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You could find your Curve by getting all the curves in the model and then finding the one named "Curve". mycurves = model.getCurveBiquadratics theCurve=[] mycurves .each do |mcurve| if mcurve.name == 'Curve' theCurve = mcurve

You could find your Curve by getting all the curves in the model and then finding the one named "Curve". "Curve".

mycurves = model.getCurveBiquadratics
theCurve=[]
 mycurves .each do |mcurve|
 if mcurve.name == 'Curve'
     theCurve = mcurvemcurve
     break
 end
end

Then you can use the methods listed here to change the Curve. Alternatively, you could stay with the boost code you used and once you done with the first curve delete it using .remove and rename the new one to whatever you need.

You could find your Curve by getting all the curves in the model and then finding the one named "Curve".

mycurves = model.getCurveBiquadratics
theCurve=[]
 mycurves .each do |mcurve|
 if mcurve.name mcurve.name.to_s == 'Curve'
     theCurve = mcurve
     break
 end
end

Then you can use the methods listed here to change the Curve. Alternatively, you could stay with the boost code you used and once you done with the first curve delete it using .remove and rename the new one to whatever you need.