First time here? Check out the Help page!
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
2 | No.2 Revision |
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.
3 | No.3 Revision |
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.