• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[Plugin] SketchUcation Tools 2.6.1

Scheduled Pinned Locked Moved Plugins
127 Posts 32 Posters 88.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    tt_su
    last edited by 18 Mar 2015, 14:44

    @tig said:

    It works on a clone of $:, so can I assume that the locked string still passes through that !

    How do you clone?

    If you do call .clone then you clone the Array object itself - but it's a shallow clone. It doesn't clone all it's internal data.

    <span class="syntaxdefault"><br />x&nbsp;</span><span class="syntaxkeyword">=&nbsp;[</span><span class="syntaxstring">"hello"</span><span class="syntaxkeyword">,&nbsp;</span><span class="syntaxstring">"world"</span><span class="syntaxkeyword">]<br />[</span><span class="syntaxstring">"hello"</span><span class="syntaxkeyword">,&nbsp;</span><span class="syntaxstring">"world"</span><span class="syntaxkeyword">]<br /><br /></span><span class="syntaxdefault">y&nbsp;</span><span class="syntaxkeyword">=&nbsp;</span><span class="syntaxdefault">x</span><span class="syntaxkeyword">.clone<br />[</span><span class="syntaxstring">"hello"</span><span class="syntaxkeyword">,&nbsp;</span><span class="syntaxstring">"world"</span><span class="syntaxkeyword">]<br /><br /></span><span class="syntaxdefault">x</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">object_id<br />88135980<br /><br />y</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">object_id<br />90415700<br /><br />x</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">each&nbsp;</span><span class="syntaxkeyword">{&nbsp;|</span><span class="syntaxdefault">n</span><span class="syntaxkeyword">|&nbsp;</span><span class="syntaxdefault">puts&nbsp;n</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">object_id&nbsp;</span><span class="syntaxkeyword">}<br /></span><span class="syntaxdefault">88136040<br />88136000<br /></span><span class="syntaxkeyword">[</span><span class="syntaxstring">"hello"</span><span class="syntaxkeyword">,&nbsp;</span><span class="syntaxstring">"world"</span><span class="syntaxkeyword">]<br /><br /></span><span class="syntaxdefault">y</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">each&nbsp;</span><span class="syntaxkeyword">{&nbsp;|</span><span class="syntaxdefault">n</span><span class="syntaxkeyword">|&nbsp;</span><span class="syntaxdefault">puts&nbsp;n</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">object_id&nbsp;</span><span class="syntaxkeyword">}<br /></span><span class="syntaxdefault">88136040<br />88136000<br /></span><span class="syntaxkeyword">[</span><span class="syntaxstring">"hello"</span><span class="syntaxkeyword">,&nbsp;</span><span class="syntaxstring">"world"</span><span class="syntaxkeyword">]<br />&nbsp;</span><span class="syntaxdefault"></span>
    
    1 Reply Last reply Reply Quote 0
    • T Offline
      tt_su
      last edited by 18 Mar 2015, 14:49

      This article expand on the whole pass-reference-by-value nature of Ruby:
      http://robertheaton.com/2014/07/22/is-ruby-pass-by-reference-or-pass-by-value/

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 18 Mar 2015, 15:47

        Is this array.clone versus array.dup ?
        I have side-stepped that process now anyway, by making a new array and adding items to that...

        TIG

        1 Reply Last reply Reply Quote 0
        • T Offline
          tt_su
          last edited by 18 Mar 2015, 15:51

          @tig said:

          Is this array.clone versus array.dup ?
          I have side-stepped that process now anyway, by making a new array and adding items to that...

          Are you cloning the items you add?

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 18 Mar 2015, 16:43

            In the format item = (""+d.to_s) where ' d' is the element taken from the array...

            TIG

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dan Rathbun
              last edited by 31 Mar 2015, 21:38

              Reminder that obj#clone() copies the frozen state of obj, whilst obj#dup() does not.

              I'm not here much anymore.

              1 Reply Last reply Reply Quote 0
              • D Offline
                Dan Rathbun
                last edited by 31 Mar 2015, 21:42

                Back on topic, the person's problems came from the fact that they changed the plugin folder's icon under Windows, which messes up permissions. I've never been able to (comfortably) fix the folder except by re-creating it, copying all it's contents over, and deleting the one the had the changed icon. (...yes even despite the "Repair" button,...)

                I'm not here much anymore.

                1 Reply Last reply Reply Quote 0
                • W Offline
                  wahoowetzel
                  last edited by 7 May 2015, 17:10

                  Hi All,

                  dumb question maybe, how do I use the plugin store extension with a different profile/how do I change my profile? I want to log into a different account.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    Rich O Brien Moderator
                    last edited by 7 May 2015, 17:30

                    You can't use multiple accounts on a device.

                    Download the free D'oh Book for SketchUp πŸ“–

                    1 Reply Last reply Reply Quote 0
                    • W Offline
                      wahoowetzel
                      last edited by 7 May 2015, 18:39

                      So I'm rolling out a profile/bundle of plugins as a standard starting point for an office. I've created a Profile for the office that multiple people will be able to log into in order to get the "standard" package of plugins. If they already have a sketchucation plugin store profile is there no way to allow them to log in to the office profile? What if they re-install sketchup?

                      1 Reply Last reply Reply Quote 0
                      • R Offline
                        Rich O Brien Moderator
                        last edited by 7 May 2015, 19:18

                        We have a corporate version that is a managed solution whereby it has its own master account and the remaining devices use its installs.

                        This prevents the users messing up with different bundles etc.

                        Download the free D'oh Book for SketchUp πŸ“–

                        1 Reply Last reply Reply Quote 0
                        • W Offline
                          wahoowetzel
                          last edited by 7 May 2015, 19:42

                          That makes sense, I don't have the same need for control here. I just want everyone to have the same starting point, it can evolve beyond that later. This doesn't help me with a solution if someone already has a profile, ie. "log out". Can you offer any suggestions there? Would re-installing sketchup work or no? I'm hesitant to do a test run and re-install anyone's sketchup before knowing what my options are and what may or may not even have an impact.

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            Rich O Brien Moderator
                            last edited by 7 May 2015, 19:55

                            My memory is a woolly on the corporate/team version.

                            I do remember that the master users dictates the bundle to be used and anyone else logging in can only use that bundle.

                            I'd need to chat with Gabor about it.

                            But reinstalling SU is not needed.

                            Download the free D'oh Book for SketchUp πŸ“–

                            1 Reply Last reply Reply Quote 0
                            • jujuJ Offline
                              juju
                              last edited by 11 May 2015, 10:59

                              there seems to be a glitch in the matrix, I'm still getting these banners for verson 2.5?...

                              red pill or blue ill neo?

                              Save the Earth, it's the only planet with chocolate.

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                Rich O Brien Moderator
                                last edited by 11 May 2015, 11:13

                                looks like you need to reboot your matrix with CTRL+F5...

                                PicPick-006.png

                                Download the free D'oh Book for SketchUp πŸ“–

                                1 Reply Last reply Reply Quote 0
                                • jujuJ Offline
                                  juju
                                  last edited by 11 May 2015, 11:24

                                  haha, might be, except the machine I'm on I bought in January 2015 (brand new, virgin), post 1 of this thread was done Sept. 2014.

                                  I need to add that this does not happen all the time, only from time to time that I see the banner ad for 2.5

                                  Save the Earth, it's the only planet with chocolate.

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    Rich O Brien Moderator
                                    last edited by 11 May 2015, 11:27

                                    It's got nothing to do with when you bought machine. More so i only changed the ad artwork last week.

                                    So your browser is serving you an older file...

                                    Download the free D'oh Book for SketchUp πŸ“–

                                    1 Reply Last reply Reply Quote 0
                                    • jujuJ Offline
                                      juju
                                      last edited by 11 May 2015, 12:08

                                      Yep, but the browser can only serve me with what it is being directed to. If the machine had no access to this website / webpage / forum before the update, it cannot serve me with that information as it will have none of that in cache, not so? Or am I missing something?

                                      The machine was brand new, not second hand. This has been showing up every now and again, not only now or over the last week or month.

                                      Save the Earth, it's the only planet with chocolate.

                                      1 Reply Last reply Reply Quote 0
                                      • R Offline
                                        Rich O Brien Moderator
                                        last edited by 11 May 2015, 12:25

                                        Yes, and if your browser or our site settings are set to stored cached files then you will get those files until your browser settings are refreshed.

                                        So what you are getting are cached images to improve page load times.

                                        Even though the images have changed since your browser has not been told to update yet.

                                        CTRL+F5 is a Hard refresh that forces the change in your browser.

                                        Download the free D'oh Book for SketchUp πŸ“–

                                        1 Reply Last reply Reply Quote 0
                                        • jujuJ Offline
                                          juju
                                          last edited by 11 May 2015, 12:37

                                          I'll do the CTRL+F5, and report back the next time I notice the banner loaded.

                                          The point I'm trying to make is that the (my user) browser was not around (since my machine was in some warehouse possibly, in storage, all nicely wrapped up) when the newer version was released, so it could not have loaded the erroneous file (-s) into cache.

                                          Save the Earth, it's the only planet with chocolate.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 5
                                          • 6
                                          • 7
                                          • 5 / 7
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement