Skip to content

Commit 15e4dc4

Browse files
committed
add codgen file
1 parent 3a2c5c4 commit 15e4dc4

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![logo](https://raw.githubusercontent.com/goswinr/Rhino.Scripting/main/Docs/img/logo.png)
1+
![logo](https://raw.githubusercontent.com/goswinr/Rhino.Scripting/main/Docs/img/logo128.png)
22
# Rhino.Scripting
33

44
[![Rhino.Scripting on nuget.org](https://img.shields.io/nuget/v/Rhino.Scripting)](https://www.nuget.org/packages/Rhino.Scripting/)

Src/AutoGeneratedCode/AllScriptingFilesCombinedIntoOne_DontEditThisFile.fs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6853,6 +6853,7 @@ type RhinoScriptSyntax private () =
68536853

68546854
/// <summary>Set the document's distance display precision.</summary>
68556855
/// <param name="precision">(int) The distance display precision. If the current distance display mode is Decimal, then precision is the number of decimal places.
6856+
/// Valid values are >= 0 and <= 20.
68566857
/// If the current distance display mode is Fractional (including Feet and Inches), then the denominator = (1/2)^precision.
68576858
/// Use UnitDistanceDisplayMode to get the current distance display mode</param>
68586859
/// <returns>(unit) void, nothing.</returns>
@@ -13146,7 +13147,7 @@ type RhinoScriptSyntax private () =
1314613147
/// Minimum count of objects allowed to be selected</param>
1314713148
/// <param name="maximumCount">(int) Optional, default value: <c>0</c>
1314813149
/// Maximum count of objects allowed to be selected</param>
13149-
/// <param name="printCount">(bool) Optional, default value: <c>true</c> Print object count to command window.</param>
13150+
/// <param name="printCount">(bool) Optional, default value: <c>false</c> Print object count to command window.</param>
1315013151
/// <param name="customFilter">(Input.Custom.GetObjectGeometryFilter) Optional, Will be ignored if 'objects' are set. Calls a custom function in the script and passes
1315113152
/// the Rhino Object, Geometry, and component index and returns true or false indicating if the object can be selected</param>
1315213153
/// <returns>(Guid ResizeArray) List of identifiers of the picked objects.
@@ -13159,7 +13160,7 @@ type RhinoScriptSyntax private () =
1315913160
[<OPT;DEF(null:Guid seq)>]objectsToSelectFrom:Guid seq,
1316013161
[<OPT;DEF(1)>]minimumCount:int,
1316113162
[<OPT;DEF(0)>]maximumCount:int,
13162-
[<OPT;DEF(true)>]printCount:bool,
13163+
[<OPT;DEF(false)>]printCount:bool,
1316313164
[<OPT;DEF(null:Input.Custom.GetObjectGeometryFilter)>]customFilter:Input.Custom.GetObjectGeometryFilter) : ResizeArray<Guid> =
1316413165
let get () =
1316513166
if not <| preselect then
@@ -13191,7 +13192,7 @@ type RhinoScriptSyntax private () =
1319113192
rc.Add(objref.ObjectId)
1319213193
let obj = objref.Object()
1319313194
if select && notNull obj then obj.Select(select) |> ignore<int>
13194-
if printCount then PrettySetup.printfnBlue "RhinoScriptSyntax.GetObjects(...) returned %s" (RhinoScriptSyntax.ObjectDescription(rc))
13195+
if printCount then PrettySetup.printfnBlue $"RhinoScriptSyntax.GetObjects(\"{message}\") returned {RhinoScriptSyntax.ObjectDescription rc}"
1319513196
rc
1319613197
RhinoSync.DoSyncRedrawHideEditor get
1319713198

@@ -13214,7 +13215,7 @@ type RhinoScriptSyntax private () =
1321413215
/// <param name="select">(bool) Optional, default value: <c>false</c>
1321513216
/// Select the picked objects. If False, the objects that are
1321613217
/// picked are not selected</param>
13217-
/// <param name="printCount">(bool) Optional, default value: <c>true</c> Print object count to command window</param>
13218+
/// <param name="printCount">(bool) Optional, default value: <c>false</c> Print object count to command window</param>
1321813219
/// <param name="objectsToSelectFrom">(Guid seq) Optional, List of object identifiers specifying objects that are
1321913220
/// allowed to be selected</param>
1322013221
/// <returns>((Guid*bool*int*Point3d*string) ResizeArray) List containing the following information
@@ -13229,7 +13230,7 @@ type RhinoScriptSyntax private () =
1322913230
[<OPT;DEF(true)>]group:bool,
1323013231
[<OPT;DEF(true)>]preselect:bool,
1323113232
[<OPT;DEF(false)>]select:bool,
13232-
[<OPT;DEF(true)>]printCount:bool,
13233+
[<OPT;DEF(false)>]printCount:bool,
1323313234
[<OPT;DEF(null:Guid seq)>]objectsToSelectFrom:Guid seq) : (Guid*bool*DocObjects.SelectionMethod*Point3d*string) ResizeArray =
1323413235
let get () =
1323513236
if not <| preselect then
@@ -13268,7 +13269,7 @@ type RhinoScriptSyntax private () =
1326813269
rc
1326913270
|> RArr.map ( fun (id, _, _, _, _) -> id )
1327013271
|> RhinoScriptSyntax.ObjectDescription
13271-
|> PrettySetup.printfnBlue "RhinoScriptSyntax.GetObjectsEx(...) returned %s"
13272+
|> PrettySetup.printfnBlue "RhinoScriptSyntax.GetObjectsEx(\"%s\") returned %s" message
1327213273
rc
1327313274
RhinoSync.DoSyncRedrawHideEditor get
1327413275

0 commit comments

Comments
 (0)