sketchucation logo sketchucation
    • Login
    1. Home
    2. njeremy2
    3. Topics
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    N
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 58
    • Groups 1

    Topics

    • N

      Integration tool by using paste in place

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      15
      0 Votes
      15 Posts
      269 Views
      N
      oh ok! Thanks to all ! I understand now
    • N

      Hole plugin

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      18
      0 Votes
      18 Posts
      234 Views
      N
      ahahah AHAHAHAHAHA !!! Thank you thomthom !! It works great !!! Many many many .... (ctrl+C, ctrl+V) ... many thanks !!
    • N

      Basic operation on char...

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      16
      0 Votes
      16 Posts
      149 Views
      N
      For this example I put a tree and a Blue cube. The tree has no description and the Cube has code reference then the real description after "b755480 BLABLABLA". Then I create a groupe with the 2 objects called "Tree+cube" [image: designpx.png] Now I export all information with my plugin : [image: exports.png] then I export all information in CSV File : [image: exportcsv.png]
    • N

      Retrive the tool selected before launching my plugin

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      12
      0 Votes
      12 Posts
      458 Views
      N
      Now, I'm using name to identify the tool For this moment it works I don't understand the ID method, maybe when I feel ill at ease with ruby, I can understand how it works Thank you Dan and Karen !!
    • N

      Copy tool --> no preview

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      14
      0 Votes
      14 Posts
      205 Views
      N
      @dan rathbun said: @thomthom said: Instead of a timer, wouldn't DefinitionObserver.onComponentInstanceAdded be better..? https://developers.google.com/sketchup/docs/ourdoc/definitionobserver#onComponentInstanceAdded He is a month-old newbie.. I didn't want to go into observers with him yet. right ! thanks not "month-old", I'm "week-old" newbie !
    • N

      Explode group, retrive all entities and recreate group

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      14
      0 Votes
      14 Posts
      1k Views
      N
      @dan rathbun said: Does your boss ever use the [image: file.php?id=87554] Model Info > Statistics panel ?? [attachment=1:1ebrpxvl]<!-- ia1 -->ModelInfo_Statistics.png<!-- ia1 -->[/attachment:1ebrpxvl] Yes he knows this tool, but it don't give you the texture (in m²) and of the components neither groups thanks to all everybody !!! I think I found the solution. When I need to found each entities in a group I use that : if g.is_a?(Sketchup;;Group) g.entities.each do |element| if element.definition.name[0] != 0 && element.name == "" element.name = "#{element.definition.name}" end # end if end #|element| With that, I can change the name of component inside a group The first code of TIG gave me an idea, I combine my code with a piece of code from him and it worked ! (it was only a sample of code used to test for me) Now I have to copy that piece of code in the big one ! Before : [image: 33890297.png] After launching the plugin : [image: 18942418.png]
    • N

      ComponentInstance name and Group name

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      21
      0 Votes
      21 Posts
      719 Views
      N
      Hi everyone ! I have found how to correct my code !! It's was just an error of algorithm. At first time I had this condition : chose.name[0] != 95 And I would like to have this : chose.name[0] != 95 || chose.definition.name[0] != 95 but it doesn't work ... The solution is : chose.name[0] != 95 && chose.definition.name[0] != 95 As I said, I'm beginning ! Thanks to all! especially TIG
    • 1 / 1