You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Src/Scripting_Curve.fs
+15-15Lines changed: 15 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -337,10 +337,10 @@ module AutoOpenCurve =
337
337
if Seq.length(weights)<>cvcount then
338
338
RhinoScriptingException.Raise "RhinoScriptSyntax.CreateNurbsCurve:Number of elements in weights should equal the number of elements in points. points:'%A' knots:'%A' degree:'%A' weights:'%A'" points knots degree weights
339
339
for i,(p, w)in Seq.indexed (Seq.zip points weights)do
340
-
nc.Points.SetPoint(i, p, w)|> ignore
340
+
nc.Points.SetPoint(i, p, w)|> ignore<bool>
341
341
else
342
342
for i, p in Seq.indexed points do
343
-
nc.Points.SetPoint(i, p)|> ignore
343
+
nc.Points.SetPoint(i, p)|> ignore<bool>
344
344
ifnot nc.IsValid then RhinoScriptingException.Raise "RhinoScriptSyntax.CreateNurbsCurve:Unable to create curve. points:'%A' knots:'%A' degree:'%A' weights:'%A'" points knots degree weights
345
345
nc
346
346
@@ -367,7 +367,7 @@ module AutoOpenCurve =
367
367
///<returns>(Guid) objectId of the new Curve object.</returns>
Copy file name to clipboardExpand all lines: Src/Scripting_Dimension.fs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -184,7 +184,7 @@ module AutoOpenDimension =
184
184
if isNull ds then RhinoScriptingException.Raise "RhinoScriptSyntax.DimensionStyle set failed. objectId:'%s' dimStyleName:'%s'"(Pretty.str objectId) dimStyleName
185
185
let mutableannotation= annotationObject.Geometry:?> AnnotationBase
186
186
annotation.DimensionStyleId <- ds.Id
187
-
annotationObject.CommitChanges()|> ignore
187
+
annotationObject.CommitChanges()|> ignore<bool>
188
188
State.Doc.Views.Redraw()
189
189
190
190
///<summary>Modifies the dimension style of multiple dimension objects.</summary>
0 commit comments