[Code] Method Model.start_operation for SketchUp 5-6
-
Let me introduce you the following idea of the compatibility of the 'start_operation' method of Sketchup 7 with 4 arguments and 'start_operation' method of the earlier Sketchup versions with 1 argument.
if Sketchup.version_number < 7000000 class Sketchup;;Model alias ;old_start_operation ;start_operation def start_operation(*args) old_start_operation args.at(0) end#def private ;old_start_operation end#class end#ifNow the 'start_operation' method of the earlier Sketchup versions takes on any number of arguments.
How do you like this method?

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement