sketchucation logo sketchucation
    • Login
    1. Home
    2. jiminy-billy-bob
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 26
    • Posts 1,028
    • Groups 2

    Posts

    Recent Best Controversial
    • RE: [Plugin] Layers Panel 1.2.1

      @bimbalas said:

      On renamaming layers or groups directly on Layers Panel with letters from non ASCII character set (e.g. ąžįėš) this letters was changed to unicode codes.

      I just tested, and it works for me when I rename a layer to "ąžįėš". Which versions of Sketchup, windows, and internet explorer are you using ?

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      For now, yes. I had this planned, but completely forgot about it. So I don't know the current limit. But in next version, it should be fixed.

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      Ok Glenn, I found the issue. You simply have too many layers. It's related to the max length a url can pass between the dialog and SU. I forgot about this... I'll need to rewrite some code.

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: Free demo version?

      I think it's 30 days.

      posted in V-Ray
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      @cmeed said:

      I didn't see but this isn't the fist time this has happened so will keep a better note next time.

      Ok, thanks.
      I think it's related to Observers watching layers change. I had these kind of issue in the past and resolved a lot of them, but it's possible that some remain. If it's indeed related to observers, it should occur only with old layers created before Layers Panel was installed.

      gullfo > I'll look at your file.

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      Is it renamed in SU's layer window ?

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      @breezy said:

      A possible future feature is the ability to colour the layers as in Sketchup's layers window. Also to rollup the window by clicking on the title bar.

      Unfortunatly, the API doesn't allow me to do that...

      @michaelneyses said:

      Ive got some problems with the layer panel.

      1. It is asking for me to update the current ie explorer. But i already installed version 10 although it is not my standard browser, which is firefox.

      Can you go to http://whatsmyua.com/ with Internet Explorer, and tell me what it says ?

      @michaelneyses said:

      1. When I use the features as explained s. a . creatíng groups and layers and sort the whole structure, then i will not be able to open this very drawing again after saving and closing it properly. The comment is: ²wrong file format!² , the file is actally lost.

      Did you create these groups with a version of Layers Panel older than 0.3.1 ? Like 0.2, 0.3, etc

      Thanks

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      Bimbalas > I'll look at non-ASCII characters.

      Breezy > That's a known bug and Dan helped me fix it : http://sketchucation.com/forums/viewtopic.php?f=180&t=54161
      It will be fixed in the next release (out in a few days)

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: Add_group() + outliner = bugsplat

      Install my plugin, and try to purge/delete layers from the dialog while having outliner opened. You'll get a bugsplat.
      Tested on win7, SU8/13.

      posted in Developers' Forum
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: Add_group() + outliner = bugsplat

      **disable_ui** works like a charm ! 😍

      Thanks a lot Dan ! 👍 👍

      posted in Developers' Forum
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      Not sure about the P shortcut, I'll look into that.

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      Were you trying to delete/purge layers with outliner opened ?
      http://sketchucation.com/forums/viewtopic.php?f=180&t=54161

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: Add_group() + outliner = bugsplat

      What would be best ? Leaving it like that with the risk that people will try deleting/purging layers with Outline opened, and inevitably get bugsplats. Or start the operation after temp=gents.add_group(), so there would be 2 more transactions in the undo stack for everyone ?

      posted in Developers' Forum
      jiminy-billy-bobJ
      jiminy-billy-bob
    • Add_group() + outliner = bugsplat

      Hi !

      In my Layers Panel plugin, I use a modification of TIG's layer.delete() snippet.
      I use it as a method for my namespace module, and wrap everything in start_operation/commit_operation. Everything seemed to work fine since I added this, but today I noticed that it creates a bugsplat when outliner is opened.

      <span class="syntaxdefault">def self</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">deleteLayer</span><span class="syntaxkeyword">(</span><span class="syntaxdefault">layer</span><span class="syntaxkeyword">,</span><span class="syntaxdefault"> delete_geometry</span><span class="syntaxkeyword">=</span><span class="syntaxdefault">false</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">    </span><span class="syntaxkeyword">@</span><span class="syntaxdefault">model</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">start_operation</span><span class="syntaxkeyword">(</span><span class="syntaxstring">"jbb is an awesome guy !"</span><span class="syntaxkeyword">)<br /></span><span class="syntaxdefault">    group</span><span class="syntaxkeyword">=@</span><span class="syntaxdefault">model</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">entities</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">add_group</span><span class="syntaxkeyword">()<br /></span><span class="syntaxdefault">    group</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">layer</span><span class="syntaxkeyword">=</span><span class="syntaxdefault">nil<br />    gents</span><span class="syntaxkeyword">=</span><span class="syntaxdefault">group</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">entities<br />    temp</span><span class="syntaxkeyword">=</span><span class="syntaxdefault">gents</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">add_group</span><span class="syntaxkeyword">()</span><span class="syntaxdefault"> </span><span class="syntaxcomment">### <- It bugsplats here<br /><br /></span><span class="syntaxdefault">    </span><span class="syntaxcomment">#some code...<br /><br /></span><span class="syntaxdefault">    </span><span class="syntaxkeyword">@</span><span class="syntaxdefault">model</span><span class="syntaxkeyword">.</span><span class="syntaxdefault">commit_operation<br />end</span><span class="syntaxcomment">#def        &nbsp;</span><span class="syntaxdefault"></span>
      

      The thing is, it doesn't bugsplat when not wrapped up in start/commit_operation...

      Has anybody experienced something like that ? Any hint why it does that ?

      posted in Developers' Forum
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      If you put layers in a group, and hide that group, all the nested layers will be hidden.
      But maybe you're talking about selecting multiple layers and hide them all with one click? I'm not sur about that workflow

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      For people understanding ruby :

      I fully identified the cause of the problem : The plugin trying to save "nil" as an AttributeDictionary key.
      @layerDictID being nil (the bug about group names)
      @model.set_attribute("jbb_layerspanel_groups", @layerDictID, groupName)

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      Okay, I find a way to reproduce the bug in version 0.3 :

      • Open blank file
      • Open LP's dialog
      • Create group
      • Save as template

      I get "Incorrect format file" each time.

      The good news is I don't get this with version 0.3.1 ! 😄
      So it was probably related to the group names bug. So please update everybody !

      Thanks a lot Ken for your feedback, it helped me a lot finding the way to reproduce it.

      I hope it was the same problem cmeed had, even though he didn't save as template.

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      @unknownuser said:

      Well OK, I noticed that there were other versions of this plugin in my plugin folder. So I deleted all files associated with this plugin and did a re-install. It now appears to be working. I can save a template file, and re-open and have the four layers still there and in the group I added.

      Hope this helps.

      Ken

      Great ! I'm glad it works now.
      But did you have the corrupt template multiple times ? I mean, was it just one time or was it systematic ?

      EDIT : When you say you had multiple versions installed, was it a beta (layer_panel.rb) and an old alpha version (Layers Panel.rb) ? Otherwise, I don't understand how you can have multiple versions

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      What do you mean ? You can already hide/show groups with a single click.

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • RE: [Plugin] Layers Panel 1.2.1

      Ken, were these 4 layers created before you installed the plugin ? What happen when you create a new file, create the same layers, and try to save it as template ?
      If you find a way to reproduce the bug every time, that would be really great ! 😄 I could propably debug this

      posted in Plugins
      jiminy-billy-bobJ
      jiminy-billy-bob
    • 1 / 1