sketchup-api-stubs 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -0
  3. data/lib/sketchup-api-stubs/stubs/Geom/BoundingBox.rb +1 -1
  4. data/lib/sketchup-api-stubs/stubs/Geom/Bounds2d.rb +1 -1
  5. data/lib/sketchup-api-stubs/stubs/Geom/LatLong.rb +1 -1
  6. data/lib/sketchup-api-stubs/stubs/Geom/OrientedBounds2d.rb +1 -1
  7. data/lib/sketchup-api-stubs/stubs/Geom/Point2d.rb +1 -1
  8. data/lib/sketchup-api-stubs/stubs/Geom/Point3d.rb +1 -1
  9. data/lib/sketchup-api-stubs/stubs/Geom/PolygonMesh.rb +1 -1
  10. data/lib/sketchup-api-stubs/stubs/Geom/Transformation.rb +1 -1
  11. data/lib/sketchup-api-stubs/stubs/Geom/Transformation2d.rb +1 -1
  12. data/lib/sketchup-api-stubs/stubs/Geom/UTM.rb +1 -1
  13. data/lib/sketchup-api-stubs/stubs/Geom/Vector2d.rb +1 -1
  14. data/lib/sketchup-api-stubs/stubs/Geom/Vector3d.rb +1 -1
  15. data/lib/sketchup-api-stubs/stubs/Layout.rb +1 -1
  16. data/lib/sketchup-api-stubs/stubs/Layout/AngularDimension.rb +1 -1
  17. data/lib/sketchup-api-stubs/stubs/Layout/AutoTextDefinition.rb +1 -1
  18. data/lib/sketchup-api-stubs/stubs/Layout/AutoTextDefinitions.rb +1 -1
  19. data/lib/sketchup-api-stubs/stubs/Layout/ConnectionPoint.rb +1 -1
  20. data/lib/sketchup-api-stubs/stubs/Layout/Document.rb +5 -1
  21. data/lib/sketchup-api-stubs/stubs/Layout/Ellipse.rb +1 -1
  22. data/lib/sketchup-api-stubs/stubs/Layout/Entities.rb +1 -1
  23. data/lib/sketchup-api-stubs/stubs/Layout/Entity.rb +4 -10
  24. data/lib/sketchup-api-stubs/stubs/Layout/FormattedText.rb +1 -1
  25. data/lib/sketchup-api-stubs/stubs/Layout/Grid.rb +1 -1
  26. data/lib/sketchup-api-stubs/stubs/Layout/Group.rb +1 -1
  27. data/lib/sketchup-api-stubs/stubs/Layout/Image.rb +1 -1
  28. data/lib/sketchup-api-stubs/stubs/Layout/Label.rb +1 -1
  29. data/lib/sketchup-api-stubs/stubs/Layout/Layer.rb +2 -2
  30. data/lib/sketchup-api-stubs/stubs/Layout/LayerInstance.rb +1 -1
  31. data/lib/sketchup-api-stubs/stubs/Layout/Layers.rb +1 -1
  32. data/lib/sketchup-api-stubs/stubs/Layout/LinearDimension.rb +1 -1
  33. data/lib/sketchup-api-stubs/stubs/Layout/LockedEntityError.rb +1 -1
  34. data/lib/sketchup-api-stubs/stubs/Layout/LockedLayerError.rb +1 -1
  35. data/lib/sketchup-api-stubs/stubs/Layout/Page.rb +1 -1
  36. data/lib/sketchup-api-stubs/stubs/Layout/PageInfo.rb +1 -1
  37. data/lib/sketchup-api-stubs/stubs/Layout/Pages.rb +1 -1
  38. data/lib/sketchup-api-stubs/stubs/Layout/Path.rb +1 -1
  39. data/lib/sketchup-api-stubs/stubs/Layout/Rectangle.rb +1 -1
  40. data/lib/sketchup-api-stubs/stubs/Layout/SketchUpModel.rb +5 -1
  41. data/lib/sketchup-api-stubs/stubs/Layout/Style.rb +1 -1
  42. data/lib/sketchup-api-stubs/stubs/Layout/Table.rb +1 -1
  43. data/lib/sketchup-api-stubs/stubs/Layout/TableCell.rb +1 -1
  44. data/lib/sketchup-api-stubs/stubs/Layout/TableColumn.rb +1 -1
  45. data/lib/sketchup-api-stubs/stubs/Layout/TableRow.rb +1 -1
  46. data/lib/sketchup-api-stubs/stubs/Sketchup/Animation.rb +1 -1
  47. data/lib/sketchup-api-stubs/stubs/Sketchup/AppObserver.rb +1 -1
  48. data/lib/sketchup-api-stubs/stubs/Sketchup/ArcCurve.rb +1 -1
  49. data/lib/sketchup-api-stubs/stubs/Sketchup/AttributeDictionaries.rb +1 -1
  50. data/lib/sketchup-api-stubs/stubs/Sketchup/AttributeDictionary.rb +1 -1
  51. data/lib/sketchup-api-stubs/stubs/Sketchup/Axes.rb +1 -1
  52. data/lib/sketchup-api-stubs/stubs/Sketchup/Behavior.rb +1 -1
  53. data/lib/sketchup-api-stubs/stubs/Sketchup/Camera.rb +1 -1
  54. data/lib/sketchup-api-stubs/stubs/Sketchup/ClassificationSchema.rb +1 -1
  55. data/lib/sketchup-api-stubs/stubs/Sketchup/Classifications.rb +1 -1
  56. data/lib/sketchup-api-stubs/stubs/Sketchup/Color.rb +1 -1
  57. data/lib/sketchup-api-stubs/stubs/Sketchup/ComponentDefinition.rb +9 -1
  58. data/lib/sketchup-api-stubs/stubs/Sketchup/ComponentInstance.rb +1 -1
  59. data/lib/sketchup-api-stubs/stubs/Sketchup/Console.rb +1 -1
  60. data/lib/sketchup-api-stubs/stubs/Sketchup/ConstructionLine.rb +1 -1
  61. data/lib/sketchup-api-stubs/stubs/Sketchup/ConstructionPoint.rb +1 -1
  62. data/lib/sketchup-api-stubs/stubs/Sketchup/Curve.rb +1 -1
  63. data/lib/sketchup-api-stubs/stubs/Sketchup/DefinitionList.rb +1 -1
  64. data/lib/sketchup-api-stubs/stubs/Sketchup/DefinitionObserver.rb +1 -1
  65. data/lib/sketchup-api-stubs/stubs/Sketchup/DefinitionsObserver.rb +1 -1
  66. data/lib/sketchup-api-stubs/stubs/Sketchup/Dimension.rb +1 -1
  67. data/lib/sketchup-api-stubs/stubs/Sketchup/DimensionLinear.rb +1 -1
  68. data/lib/sketchup-api-stubs/stubs/Sketchup/DimensionObserver.rb +1 -1
  69. data/lib/sketchup-api-stubs/stubs/Sketchup/DimensionRadial.rb +1 -1
  70. data/lib/sketchup-api-stubs/stubs/Sketchup/Drawingelement.rb +1 -1
  71. data/lib/sketchup-api-stubs/stubs/Sketchup/Edge.rb +1 -1
  72. data/lib/sketchup-api-stubs/stubs/Sketchup/EdgeUse.rb +1 -1
  73. data/lib/sketchup-api-stubs/stubs/Sketchup/Entities.rb +1 -1
  74. data/lib/sketchup-api-stubs/stubs/Sketchup/EntitiesObserver.rb +1 -1
  75. data/lib/sketchup-api-stubs/stubs/Sketchup/Entity.rb +4 -1
  76. data/lib/sketchup-api-stubs/stubs/Sketchup/EntityObserver.rb +1 -1
  77. data/lib/sketchup-api-stubs/stubs/Sketchup/ExtensionsManager.rb +1 -1
  78. data/lib/sketchup-api-stubs/stubs/Sketchup/Face.rb +1 -1
  79. data/lib/sketchup-api-stubs/stubs/Sketchup/FrameChangeObserver.rb +1 -1
  80. data/lib/sketchup-api-stubs/stubs/Sketchup/Group.rb +1 -1
  81. data/lib/sketchup-api-stubs/stubs/Sketchup/Http.rb +1 -1
  82. data/lib/sketchup-api-stubs/stubs/Sketchup/Http/Request.rb +1 -1
  83. data/lib/sketchup-api-stubs/stubs/Sketchup/Http/Response.rb +1 -1
  84. data/lib/sketchup-api-stubs/stubs/Sketchup/Image.rb +1 -1
  85. data/lib/sketchup-api-stubs/stubs/Sketchup/ImageRep.rb +1 -1
  86. data/lib/sketchup-api-stubs/stubs/Sketchup/Importer.rb +1 -1
  87. data/lib/sketchup-api-stubs/stubs/Sketchup/InputPoint.rb +1 -1
  88. data/lib/sketchup-api-stubs/stubs/Sketchup/InstanceObserver.rb +1 -1
  89. data/lib/sketchup-api-stubs/stubs/Sketchup/InstancePath.rb +1 -1
  90. data/lib/sketchup-api-stubs/stubs/Sketchup/Layer.rb +25 -3
  91. data/lib/sketchup-api-stubs/stubs/Sketchup/Layers.rb +1 -1
  92. data/lib/sketchup-api-stubs/stubs/Sketchup/LayersObserver.rb +1 -1
  93. data/lib/sketchup-api-stubs/stubs/Sketchup/Licensing.rb +1 -1
  94. data/lib/sketchup-api-stubs/stubs/Sketchup/Licensing/ExtensionLicense.rb +1 -1
  95. data/lib/sketchup-api-stubs/stubs/Sketchup/LineStyle.rb +1 -1
  96. data/lib/sketchup-api-stubs/stubs/Sketchup/LineStyles.rb +1 -1
  97. data/lib/sketchup-api-stubs/stubs/Sketchup/Loop.rb +1 -1
  98. data/lib/sketchup-api-stubs/stubs/Sketchup/Material.rb +1 -1
  99. data/lib/sketchup-api-stubs/stubs/Sketchup/Materials.rb +1 -1
  100. data/lib/sketchup-api-stubs/stubs/Sketchup/MaterialsObserver.rb +1 -1
  101. data/lib/sketchup-api-stubs/stubs/Sketchup/Menu.rb +1 -1
  102. data/lib/sketchup-api-stubs/stubs/Sketchup/Model.rb +129 -11
  103. data/lib/sketchup-api-stubs/stubs/Sketchup/ModelObserver.rb +1 -1
  104. data/lib/sketchup-api-stubs/stubs/Sketchup/OptionsManager.rb +1 -1
  105. data/lib/sketchup-api-stubs/stubs/Sketchup/OptionsProvider.rb +8 -6
  106. data/lib/sketchup-api-stubs/stubs/Sketchup/OptionsProviderObserver.rb +1 -1
  107. data/lib/sketchup-api-stubs/stubs/Sketchup/Page.rb +45 -1
  108. data/lib/sketchup-api-stubs/stubs/Sketchup/Pages.rb +1 -1
  109. data/lib/sketchup-api-stubs/stubs/Sketchup/PagesObserver.rb +1 -1
  110. data/lib/sketchup-api-stubs/stubs/Sketchup/PickHelper.rb +1 -1
  111. data/lib/sketchup-api-stubs/stubs/Sketchup/RegionalSettings.rb +1 -1
  112. data/lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptions.rb +12 -4
  113. data/lib/sketchup-api-stubs/stubs/Sketchup/RenderingOptionsObserver.rb +1 -1
  114. data/lib/sketchup-api-stubs/stubs/Sketchup/SectionPlane.rb +1 -1
  115. data/lib/sketchup-api-stubs/stubs/Sketchup/Selection.rb +1 -1
  116. data/lib/sketchup-api-stubs/stubs/Sketchup/SelectionObserver.rb +1 -1
  117. data/lib/sketchup-api-stubs/stubs/Sketchup/Set.rb +1 -1
  118. data/lib/sketchup-api-stubs/stubs/Sketchup/ShadowInfo.rb +1 -1
  119. data/lib/sketchup-api-stubs/stubs/Sketchup/ShadowInfoObserver.rb +1 -1
  120. data/lib/sketchup-api-stubs/stubs/Sketchup/Style.rb +1 -1
  121. data/lib/sketchup-api-stubs/stubs/Sketchup/Styles.rb +1 -1
  122. data/lib/sketchup-api-stubs/stubs/Sketchup/Text.rb +1 -1
  123. data/lib/sketchup-api-stubs/stubs/Sketchup/Texture.rb +1 -1
  124. data/lib/sketchup-api-stubs/stubs/Sketchup/TextureWriter.rb +1 -1
  125. data/lib/sketchup-api-stubs/stubs/Sketchup/Tool.rb +1 -1
  126. data/lib/sketchup-api-stubs/stubs/Sketchup/Tools.rb +1 -1
  127. data/lib/sketchup-api-stubs/stubs/Sketchup/ToolsObserver.rb +1 -1
  128. data/lib/sketchup-api-stubs/stubs/Sketchup/UVHelper.rb +1 -1
  129. data/lib/sketchup-api-stubs/stubs/Sketchup/Vertex.rb +1 -1
  130. data/lib/sketchup-api-stubs/stubs/Sketchup/View.rb +364 -58
  131. data/lib/sketchup-api-stubs/stubs/Sketchup/ViewObserver.rb +1 -1
  132. data/lib/sketchup-api-stubs/stubs/UI/Command.rb +1 -1
  133. data/lib/sketchup-api-stubs/stubs/UI/HtmlDialog.rb +1 -1
  134. data/lib/sketchup-api-stubs/stubs/UI/Notification.rb +1 -1
  135. data/lib/sketchup-api-stubs/stubs/UI/Toolbar.rb +1 -1
  136. data/lib/sketchup-api-stubs/stubs/UI/WebDialog.rb +1 -1
  137. data/lib/sketchup-api-stubs/stubs/_top_level.rb +7 -1
  138. data/lib/sketchup-api-stubs/stubs/array.rb +1 -1
  139. data/lib/sketchup-api-stubs/stubs/geom.rb +116 -1
  140. data/lib/sketchup-api-stubs/stubs/languagehandler.rb +1 -1
  141. data/lib/sketchup-api-stubs/stubs/length.rb +19 -3
  142. data/lib/sketchup-api-stubs/stubs/numeric.rb +1 -1
  143. data/lib/sketchup-api-stubs/stubs/sketchup.rb +2 -2
  144. data/lib/sketchup-api-stubs/stubs/sketchupextension.rb +1 -1
  145. data/lib/sketchup-api-stubs/stubs/string.rb +1 -1
  146. data/lib/sketchup-api-stubs/stubs/ui.rb +10 -3
  147. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c426719410dbcc07ba7a434afb41fc22dd3e8aaedffc9192066eb334bc8c1aed
4
- data.tar.gz: 0b840332393dce9bf0534e4d32bd3cac7468b41cfcc8612142d83bbfeed42a5a
3
+ metadata.gz: e7515fa1b0378994644bdfad8f24f5f3c413c8f8eafe95157fe2c332c81c17a3
4
+ data.tar.gz: dc488129bd90c5bfdba9e210cf7ace6296b315bce1a51d0dfffb03d0417335c1
5
5
  SHA512:
6
- metadata.gz: 246d6ca37d6bbfeee612b25c1147755cd11e0eeecbc303ade8b3a09c5cb3808bcc1f9c6a175be434343f42f65eb00bfa269a423efbbdb9b1dbf67ddd663b9ce7
7
- data.tar.gz: 0c3a5160c05c964af0ba4604ae0637fdd3c480c4d39f28b4e2b8465d8b4effb380bf9403ef01a665abf63d3ecc2fd4adba7d2833fdd82d7f59946b9f7220982b
6
+ metadata.gz: 2d70441053546ca8f65e677403882a3ed9fe3d73589271c96a3cb55f9e661a3997f3149d51a0eee3883b7fef6b2b92313fd05d1d6b6d43089e10bebe157477fc
7
+ data.tar.gz: f55bc89cfd036c6690f047acd372d943daef6f532f981090022bf30d8fb728bff404cc0b0e7f291ab24971089f1e89e1ba929801589bfc3654e1174fcfb9177b
data/.yardopts CHANGED
@@ -1,7 +1,9 @@
1
1
  --title "SketchUp Ruby API Documentation"
2
2
  --no-api
3
3
  --no-private
4
+ --hide-api Internal
4
5
  --plugin yard-sketchup
6
+ --asset images:images
5
7
  lib/sketchup-api-stubs/stubs/**/*.rb
6
8
  -
7
9
  pages/*.md
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # Bounding boxes are three-dimensional boxes (eight corners), aligned with the
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The bounds2d class represents an axis aligned bounding box represented by
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The LatLong class contains various methods for creating and manipulating
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The OrientedBounds2d class is a bounding box represented by four
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The {Geom::Vector2d} class allows you to work with a point in 2D space.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The Point3d class allows you to work with a point in 3D space.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The {#Geom::PolygonMesh} class contains methods to create polygon mesh
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # Transformations are a standard construct in the 3D world for representing
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  #
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The UTM class lets you work with UTM map coordinates.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The Vector2d class represents vectors in a 2 dimensional space.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The Vector3d class is used to represent vectors in a 3 dimensional space.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The LayOut module is the root of the LayOut Ruby API. Many of the classes in
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # References an angular dimension entity. An {Layout::AngularDimension} is
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # References an auto text definition. Some auto text definitions are mandatory.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The AutoTextDefinitions class is a container class for all
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # This is the interface to a LayOut Connection Point. A
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # This is the interface to a LayOut document. A {Layout::Document} is the 2D
@@ -45,6 +45,7 @@ class Layout::Document
45
45
  VERSION_2017 = nil # Stub value.
46
46
  VERSION_2018 = nil # Stub value.
47
47
  VERSION_2019 = nil # Stub value.
48
+ VERSION_2020 = nil # Stub value.
48
49
  VERSION_3 = nil # Stub value.
49
50
  VERSION_CURRENT = nil # Stub value.
50
51
 
@@ -368,6 +369,9 @@ class Layout::Document
368
369
  #
369
370
  # @raise [ArgumentError] if version is not a valid version
370
371
  #
372
+ # @raise [ArgumentError] if saving failed. This may be due to the LayOut file
373
+ # being open in the LayOut application
374
+ #
371
375
  # @version LayOut 2018
372
376
  def save(*args)
373
377
  end
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A simple elliptical shape entity.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The Entities class is a container class for {Layout::Entity}s. A
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # An entity is an object shown on a page of a LayOut document.
@@ -7,16 +7,10 @@
7
7
  # doc = Layout::Document.open("C:/path/to/document.layout")
8
8
  # # Get the shared entities in the document. If there are no shared layers,
9
9
  # # the resulting array will be empty.
10
- # entities = doc.entities
11
- # # Count how many of the entites are a rectangle
12
- # rectangle_count = 0
10
+ # entities = doc.shared_entities
13
11
  #
14
- # # Look at all of the entities in the array.
15
- # entities.each { |entity|
16
- # if entity.is_a?(Layout::Rectangle)
17
- # rectangle_count = rectangle_count++
18
- # end
19
- # }
12
+ # # Count how many of the shared entites are rectangles.
13
+ # rectangle_count = entities.grep(Layout::Rectangle).size
20
14
  #
21
15
  # @version LayOut 2018
22
16
  class Layout::Entity
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A formatted text entity.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # Class that references a {Layout::Document}'s grid settings.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A group is a special type of {Layout::Entity} that does not belong to a
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A raster image entity.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # This is an interface to a label entity. A {Layout::Label} consists of a
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # This is the interface to a LayOut Layer Definition. A layer definition
@@ -9,7 +9,7 @@
9
9
  # # Grab a handle to an existing LayOut document.
10
10
  # doc = Layout::Document.open("C:/path/to/document.layout")
11
11
  #
12
- # new_layer = doc.add_layer(true)
12
+ # new_layer = doc.layers.add(true)
13
13
  # new_layer.name = "A new layer"
14
14
  #
15
15
  # @version LayOut 2018
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # References an instance of a {Layout::Layer}. A {Layout::LayerInstance}
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The Layers class is a container class for all layers in a {Layout::Document}.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # References a linear dimension entity. A {Layout::LinearDimension} is composed
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # This is raised whenever a method attempts to modify any {Layout::Entity}
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # This is raised whenever a method attempts to modify any {Layout::Entity}
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # Class for a single page in a LayOut document.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # This is the interface to a {Layout::Document}'s paper space information. The
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The Pages class is a container class for all pages in a {Layout::Document}.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A path entity represents a continuous, multi-segment polyline or bezier
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A simple rectangular shape entity.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A SketchUp Model entity. This is an instance of a SketchUp Model that is
@@ -108,6 +108,10 @@ class Layout::SketchUpModel < Layout::Entity
108
108
  # model = Layout::SketchUpModel.new("C:/Path/to/model.skp", bounds)
109
109
  # model.current_scene = 1
110
110
  #
111
+ # @note LayOut automatically adds the scene "Last Saved SketchUp View" to each
112
+ # {Layout::SketchUpModel}. This means that the {Sketchup::Model}'s scenes
113
+ # start with index 1.
114
+ #
111
115
  # @param [Integer] index
112
116
  # The index into the list of available scenes.
113
117
  #
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # References a collection of style attributes that determine the visual
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A {Layout::Table} is a series of rows and columns that holds data.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A {Layout::TableCell} is a single cell from a table that contains data.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A {Layout::TableColumn} is a single column from a table.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # A {Layout::TableColumn} is a single row from a table.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The {Sketchup::Animation} interface is implemented to create animations
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # This observer interface is implemented to react to application events.
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # An ArcCurve is a Curve that makes up part of a circle. This is the
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The AttributeDictionaries class is a collection of all of the
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The AttributeDictionary class allows you to attach arbitrary collections of
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # SketchUp's drawing axes consist of three colored lines (red, green, blue),
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The Behavior class is used to control the "behavior" of components, which
@@ -1,4 +1,4 @@
1
- # Copyright:: Copyright 2019 Trimble Inc.
1
+ # Copyright:: Copyright 2020 Trimble Inc.
2
2
  # License:: The MIT License (MIT)
3
3
 
4
4
  # The Camera class contains methods for creating and manipulating a camera.