sketchup-api-stubs 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.yardopts +7 -7
- data/lib/sketchup-api-stubs.rb +1 -0
- data/lib/sketchup-api-stubs/autoload.rb +144 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/BoundingBox.rb +0 -6
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Bounds2d.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/LatLong.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/OrientedBounds2d.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Point2d.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Point3d.rb +1 -5
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/PolygonMesh.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Transformation.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Transformation2d.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/UTM.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Vector2d.rb +0 -10
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Geom/Vector3d.rb +0 -10
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/AngularDimension.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/AutoTextDefinition.rb +0 -6
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/AutoTextDefinitions.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/ConnectionPoint.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Document.rb +0 -4
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Ellipse.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Entities.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Entity.rb +0 -4
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/FormattedText.rb +1 -1
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Grid.rb +0 -8
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Group.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Image.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Label.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Layer.rb +0 -4
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/LayerInstance.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Layers.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/LinearDimension.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/LockedEntityError.rb +1 -1
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/LockedLayerError.rb +1 -1
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Page.rb +0 -4
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/PageInfo.rb +0 -6
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Pages.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Path.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Rectangle.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/SketchUpModel.rb +0 -10
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Style.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/Table.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/TableCell.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/TableColumn.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Layout/TableRow.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Animation.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/AppObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ArcCurve.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/AttributeDictionaries.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/AttributeDictionary.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Axes.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Behavior.rb +0 -10
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Camera.rb +0 -6
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ClassificationSchema.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Classifications.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Color.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ComponentDefinition.rb +0 -8
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ComponentInstance.rb +0 -6
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Console.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ConstructionLine.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ConstructionPoint.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Curve.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DefinitionList.rb +1 -1
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DefinitionObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DefinitionsObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Dimension.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DimensionLinear.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DimensionObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/DimensionRadial.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Drawingelement.rb +0 -8
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Edge.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/EdgeUse.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Entities.rb +45 -28
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/EntitiesObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Entity.rb +1 -5
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/EntityObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ExtensionsManager.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Face.rb +22 -10
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/FrameChangeObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Group.rb +0 -6
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Http.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Http/Request.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Http/Response.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Image.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ImageRep.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Importer.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/InputPoint.rb +0 -4
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/InstanceObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/InstancePath.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Layer.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Layers.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/LayersObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Licensing.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Licensing/ExtensionLicense.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/LineStyle.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/LineStyles.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Loop.rb +0 -4
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Material.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Materials.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/MaterialsObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Menu.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Model.rb +1 -7
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ModelObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/OptionsManager.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/OptionsProvider.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/OptionsProviderObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Page.rb +0 -18
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Pages.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/PagesObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/PickHelper.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/RegionalSettings.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/RenderingOptions.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/RenderingOptionsObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/SectionPlane.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Selection.rb +24 -19
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/SelectionObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Set.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ShadowInfo.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ShadowInfoObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Style.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Styles.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Text.rb +0 -4
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Texture.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/TextureWriter.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Tool.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Tools.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ToolsObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/UVHelper.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/Vertex.rb +0 -4
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/View.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/Sketchup/ViewObserver.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/UI/Command.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/UI/HtmlDialog.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/UI/Notification.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/UI/Toolbar.rb +0 -2
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/UI/WebDialog.rb +0 -4
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/_top_level.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/array.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/geom.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/languagehandler.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/length.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/numeric.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/sketchup.rb +0 -14
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/sketchupextension.rb +0 -6
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/string.rb +0 -0
- data/{SketchUp → lib/sketchup-api-stubs/stubs}/ui.rb +12 -14
- metadata +150 -150
- data/autoload/sketchup.rb +0 -144
File without changes
|
@@ -118,7 +118,7 @@ class Sketchup::Entity
|
|
118
118
|
# if successful, or nil if there is no attribute dictionary
|
119
119
|
#
|
120
120
|
# @version SketchUp 6.0
|
121
|
-
def attribute_dictionary(name, create)
|
121
|
+
def attribute_dictionary(name, create = false)
|
122
122
|
end
|
123
123
|
|
124
124
|
# The {#delete_attribute} method is used to delete an attribute from an entity.
|
@@ -189,8 +189,6 @@ class Sketchup::Entity
|
|
189
189
|
#
|
190
190
|
# @return [Boolean]
|
191
191
|
#
|
192
|
-
# @return [Boolean]
|
193
|
-
#
|
194
192
|
# @version SketchUp 6.0
|
195
193
|
def deleted?
|
196
194
|
end
|
@@ -532,8 +530,6 @@ class Sketchup::Entity
|
|
532
530
|
#
|
533
531
|
# @return [Boolean]
|
534
532
|
#
|
535
|
-
# @return [Boolean]
|
536
|
-
#
|
537
533
|
# @version SketchUp 6.0
|
538
534
|
def valid?
|
539
535
|
end
|
File without changes
|
File without changes
|
@@ -277,21 +277,33 @@ class Sketchup::Face < Sketchup::Drawingelement
|
|
277
277
|
# tw = Sketchup.create_texture_writer
|
278
278
|
# uvHelp = face.get_UVHelper(true, true, tw)
|
279
279
|
#
|
280
|
-
# @
|
281
|
-
# True if you want the texture coordinates for the front
|
282
|
-
# face, false if not. Defaults to true.
|
280
|
+
# @overload get_UVHelper(front = true, back = true)
|
283
281
|
#
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
282
|
+
# @param [Boolean] front
|
283
|
+
# True if you want the texture coordinates for the front
|
284
|
+
# face, false if not.
|
287
285
|
#
|
288
|
-
#
|
289
|
-
#
|
286
|
+
# @param [Boolean] back
|
287
|
+
# True if you want the texture coordinates for the back
|
288
|
+
# face, false if not.
|
290
289
|
#
|
291
|
-
# @
|
290
|
+
# @overload get_UVHelper(front = true, back = true, texturewriter)
|
291
|
+
#
|
292
|
+
# @param [Boolean] front
|
293
|
+
# True if you want the texture coordinates for the front
|
294
|
+
# face, false if not.
|
295
|
+
#
|
296
|
+
# @param [Boolean] back
|
297
|
+
# True if you want the texture coordinates for the back
|
298
|
+
# face, false if not.
|
299
|
+
#
|
300
|
+
# @param [Sketchup::TextureWriter] texturewriter
|
301
|
+
# An optional TextureWriter object.
|
302
|
+
#
|
303
|
+
# @return [Sketchup::UVHelper]
|
292
304
|
#
|
293
305
|
# @version SketchUp 6.0
|
294
|
-
def get_UVHelper(
|
306
|
+
def get_UVHelper(*args)
|
295
307
|
end
|
296
308
|
|
297
309
|
# The get_glued_instances method returns an Array any ComponentInstances
|
File without changes
|
@@ -178,8 +178,6 @@ class Sketchup::Group < Sketchup::Drawingelement
|
|
178
178
|
#
|
179
179
|
# @return [Boolean]
|
180
180
|
#
|
181
|
-
# @return [Boolean]
|
182
|
-
#
|
183
181
|
# @version SketchUp 8.0
|
184
182
|
def equals?(group)
|
185
183
|
end
|
@@ -301,8 +299,6 @@ class Sketchup::Group < Sketchup::Drawingelement
|
|
301
299
|
#
|
302
300
|
# @return [Boolean]
|
303
301
|
#
|
304
|
-
# @return [Boolean]
|
305
|
-
#
|
306
302
|
# @version SketchUp 6.0
|
307
303
|
def locked?
|
308
304
|
end
|
@@ -341,8 +337,6 @@ class Sketchup::Group < Sketchup::Drawingelement
|
|
341
337
|
#
|
342
338
|
# @return [Boolean]
|
343
339
|
#
|
344
|
-
# @return [Boolean]
|
345
|
-
#
|
346
340
|
# @version SketchUp 8.0
|
347
341
|
def manifold?
|
348
342
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -145,8 +145,6 @@ class Sketchup::InputPoint
|
|
145
145
|
# @return status - true if the draw method will draw something,
|
146
146
|
# false if the draw method has nothing to draw
|
147
147
|
#
|
148
|
-
# @return [Boolean]
|
149
|
-
#
|
150
148
|
# @version SketchUp 6.0
|
151
149
|
def display?
|
152
150
|
end
|
@@ -370,8 +368,6 @@ class Sketchup::InputPoint
|
|
370
368
|
# @return status - true if the input point has valid data, false
|
371
369
|
# if it does not have valid data.
|
372
370
|
#
|
373
|
-
# @return [Boolean]
|
374
|
-
#
|
375
371
|
# @version SketchUp 6.0
|
376
372
|
def valid?
|
377
373
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -28,8 +28,6 @@ class Sketchup::Loop < Sketchup::Entity
|
|
28
28
|
#
|
29
29
|
# @return status - true if convex, false if not convex.
|
30
30
|
#
|
31
|
-
# @return [Boolean]
|
32
|
-
#
|
33
31
|
# @version SketchUp 6.0
|
34
32
|
def convex?
|
35
33
|
end
|
@@ -113,8 +111,6 @@ class Sketchup::Loop < Sketchup::Entity
|
|
113
111
|
# @return status - true if the loop is an outer loop, false if it
|
114
112
|
# is not an outer loop.
|
115
113
|
#
|
116
|
-
# @return [Boolean]
|
117
|
-
#
|
118
114
|
# @version SketchUp 6.0
|
119
115
|
def outer?
|
120
116
|
end
|
File without changes
|
File without changes
|
File without changes
|
@@ -847,8 +847,6 @@ class Sketchup::Model
|
|
847
847
|
#
|
848
848
|
# @return [Boolean]
|
849
849
|
#
|
850
|
-
# @return [Boolean]
|
851
|
-
#
|
852
850
|
# @version SketchUp 7.0
|
853
851
|
def mipmapping?
|
854
852
|
end
|
@@ -865,8 +863,6 @@ class Sketchup::Model
|
|
865
863
|
#
|
866
864
|
# @return [Boolean]
|
867
865
|
#
|
868
|
-
# @return [Boolean]
|
869
|
-
#
|
870
866
|
# @version SketchUp 6.0
|
871
867
|
def modified?
|
872
868
|
end
|
@@ -1102,7 +1098,7 @@ class Sketchup::Model
|
|
1102
1098
|
# @example
|
1103
1099
|
# model = Sketchup.active_model
|
1104
1100
|
# # Save the model using the current SketchUp format
|
1105
|
-
# filename = File.join(ENV['
|
1101
|
+
# filename = File.join(ENV['HOME'], 'Desktop', 'mysketchup.skp')
|
1106
1102
|
# status = model.save(filename)
|
1107
1103
|
# # Save the model to the current file using the current SketchUp format
|
1108
1104
|
# status = model.save
|
@@ -1478,8 +1474,6 @@ class Sketchup::Model
|
|
1478
1474
|
#
|
1479
1475
|
# @return [Boolean]
|
1480
1476
|
#
|
1481
|
-
# @return [Boolean]
|
1482
|
-
#
|
1483
1477
|
# @version SketchUp 6.0
|
1484
1478
|
def valid?
|
1485
1479
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -155,8 +155,6 @@ class Sketchup::Page < Sketchup::Entity
|
|
155
155
|
#
|
156
156
|
# @return [Boolean]
|
157
157
|
#
|
158
|
-
# @return [Boolean]
|
159
|
-
#
|
160
158
|
# @version SketchUp 2018
|
161
159
|
def include_in_animation?
|
162
160
|
end
|
@@ -392,8 +390,6 @@ class Sketchup::Page < Sketchup::Entity
|
|
392
390
|
# the page, false if you are not storing this property
|
393
391
|
# with the page.
|
394
392
|
#
|
395
|
-
# @return [Boolean]
|
396
|
-
#
|
397
393
|
# @version SketchUp 6.0
|
398
394
|
def use_axes?
|
399
395
|
end
|
@@ -430,8 +426,6 @@ class Sketchup::Page < Sketchup::Entity
|
|
430
426
|
# the page, false if you are not storing this property
|
431
427
|
# with the page.
|
432
428
|
#
|
433
|
-
# @return [Boolean]
|
434
|
-
#
|
435
429
|
# @version SketchUp 6.0
|
436
430
|
def use_camera?
|
437
431
|
end
|
@@ -468,8 +462,6 @@ class Sketchup::Page < Sketchup::Entity
|
|
468
462
|
# the page, false if you are not storing this property
|
469
463
|
# with the page.
|
470
464
|
#
|
471
|
-
# @return [Boolean]
|
472
|
-
#
|
473
465
|
# @version SketchUp 6.0
|
474
466
|
def use_hidden?
|
475
467
|
end
|
@@ -507,8 +499,6 @@ class Sketchup::Page < Sketchup::Entity
|
|
507
499
|
# the page, false if you are not storing this property
|
508
500
|
# with the page.
|
509
501
|
#
|
510
|
-
# @return [Boolean]
|
511
|
-
#
|
512
502
|
# @version SketchUp 6.0
|
513
503
|
def use_hidden_layers?
|
514
504
|
end
|
@@ -546,8 +536,6 @@ class Sketchup::Page < Sketchup::Entity
|
|
546
536
|
# the page, false if you are not storing this property
|
547
537
|
# with the page.
|
548
538
|
#
|
549
|
-
# @return [Boolean]
|
550
|
-
#
|
551
539
|
# @version SketchUp 6.0
|
552
540
|
def use_rendering_options?
|
553
541
|
end
|
@@ -585,8 +573,6 @@ class Sketchup::Page < Sketchup::Entity
|
|
585
573
|
# the page, false if you are not storing this property
|
586
574
|
# with the page.
|
587
575
|
#
|
588
|
-
# @return [Boolean]
|
589
|
-
#
|
590
576
|
# @version SketchUp 6.0
|
591
577
|
def use_section_planes?
|
592
578
|
end
|
@@ -623,8 +609,6 @@ class Sketchup::Page < Sketchup::Entity
|
|
623
609
|
# the page, false if you are not storing this property
|
624
610
|
# with the page.
|
625
611
|
#
|
626
|
-
# @return [Boolean]
|
627
|
-
#
|
628
612
|
# @version SketchUp 6.0
|
629
613
|
def use_shadow_info?
|
630
614
|
end
|
@@ -659,8 +643,6 @@ class Sketchup::Page < Sketchup::Entity
|
|
659
643
|
# the page, false if you are not storing this property
|
660
644
|
# with the page.
|
661
645
|
#
|
662
|
-
# @return [Boolean]
|
663
|
-
#
|
664
646
|
# @version SketchUp 6.0
|
665
647
|
def use_style?
|
666
648
|
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -67,13 +67,18 @@ class Sketchup::Selection
|
|
67
67
|
# entity = entities[0]
|
68
68
|
# status = selection.add entity
|
69
69
|
#
|
70
|
-
# @
|
71
|
-
#
|
70
|
+
# @overload add(entities)
|
71
|
+
#
|
72
|
+
# @param [Array<Sketchup::Entity>] entities
|
73
|
+
#
|
74
|
+
# @overload add(*entities)
|
75
|
+
#
|
76
|
+
# @param [Array<Sketchup::Entity>] entities
|
72
77
|
#
|
73
78
|
# @return [Integer] the number of Entity objects added
|
74
79
|
#
|
75
80
|
# @version SketchUp 6.0
|
76
|
-
def add(
|
81
|
+
def add(*args)
|
77
82
|
end
|
78
83
|
|
79
84
|
# The add_observer method is used to add an observer to the selection object.
|
@@ -189,8 +194,6 @@ class Sketchup::Selection
|
|
189
194
|
#
|
190
195
|
# @return [Boolean]
|
191
196
|
#
|
192
|
-
# @return [Boolean]
|
193
|
-
#
|
194
197
|
# @version SketchUp 6.0
|
195
198
|
def empty?
|
196
199
|
end
|
@@ -225,8 +228,6 @@ class Sketchup::Selection
|
|
225
228
|
#
|
226
229
|
# @return [Boolean]
|
227
230
|
#
|
228
|
-
# @return [Boolean]
|
229
|
-
#
|
230
231
|
# @see #contains?
|
231
232
|
#
|
232
233
|
# @version SketchUp 6.0
|
@@ -242,8 +243,6 @@ class Sketchup::Selection
|
|
242
243
|
#
|
243
244
|
# @return [Boolean]
|
244
245
|
#
|
245
|
-
# @return [Boolean]
|
246
|
-
#
|
247
246
|
# @version SketchUp 6.0
|
248
247
|
def is_curve?
|
249
248
|
end
|
@@ -257,8 +256,6 @@ class Sketchup::Selection
|
|
257
256
|
#
|
258
257
|
# @return [Boolean]
|
259
258
|
#
|
260
|
-
# @return [Boolean]
|
261
|
-
#
|
262
259
|
# @version SketchUp 6.0
|
263
260
|
def is_surface?
|
264
261
|
end
|
@@ -325,13 +322,18 @@ class Sketchup::Selection
|
|
325
322
|
# entity = entities[0]
|
326
323
|
# status = selection.add entity
|
327
324
|
#
|
328
|
-
# @
|
329
|
-
#
|
325
|
+
# @overload remove(entities)
|
326
|
+
#
|
327
|
+
# @param [Array<Sketchup::Entity>] entities
|
328
|
+
#
|
329
|
+
# @overload remove(*entities)
|
330
|
+
#
|
331
|
+
# @param [Array<Sketchup::Entity>] entities
|
330
332
|
#
|
331
333
|
# @return [Integer] the number of Entity objects removed
|
332
334
|
#
|
333
335
|
# @version SketchUp 6.0
|
334
|
-
def remove(
|
336
|
+
def remove(*args)
|
335
337
|
end
|
336
338
|
|
337
339
|
# The remove_observer method is used to remove an observer from the selection
|
@@ -376,8 +378,6 @@ class Sketchup::Selection
|
|
376
378
|
#
|
377
379
|
# @return [Boolean]
|
378
380
|
#
|
379
|
-
# @return [Boolean]
|
380
|
-
#
|
381
381
|
# @version SketchUp 6.0
|
382
382
|
def single_object?
|
383
383
|
end
|
@@ -418,13 +418,18 @@ class Sketchup::Selection
|
|
418
418
|
# entity = entities[0]
|
419
419
|
# status = selection.add entity
|
420
420
|
#
|
421
|
-
# @
|
422
|
-
#
|
421
|
+
# @overload toggle(entities)
|
422
|
+
#
|
423
|
+
# @param [Array<Sketchup::Entity>] entities
|
424
|
+
#
|
425
|
+
# @overload toggle(*entities)
|
426
|
+
#
|
427
|
+
# @param [Array<Sketchup::Entity>] entities
|
423
428
|
#
|
424
429
|
# @return [Integer] the number of Entity objects changed
|
425
430
|
#
|
426
431
|
# @version SketchUp 6.0
|
427
|
-
def toggle(
|
432
|
+
def toggle(*args)
|
428
433
|
end
|
429
434
|
|
430
435
|
end
|