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

    DDS

    @DDS

    10
    Reputation
    1
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    DDS Unfollow Follow
    registered-users

    Latest posts made by DDS

    • RE: Reload or recharge

      Here is my solution 😎

      				selectionObjectTemp = Sketchup.active_model.selection.to_a
      				if selectionObjectTemp.length == 0 
      					selectionTemp = nil
      				else 
      					selectionTemp = selectionObjectTemp 
      				end
      				
      				
      				
      				if @definitions[definitionAImporter]
      					definition = @definitions[definitionAImporter]
      				else 
      					composantPath = File.join(@libPath,"#{definitionAImporter}.skp")
      					if File.exist?(composantPath)
      						definition = @definitions.load composantPath
      					else
      						UI.messagebox "le chemin n'existe pas; #{composantPath}"
      					end
      				end
      				
      				if selectionTemp != nil
      				selectionTemp.each{|entitie|  
      					if entitie.is_a? Sketchup;;ComponentInstance 
      						entitie.definition = definition 
      					end
      				}
      					
      				end 
      				
      
      
      posted in Developers' Forum
      D
      DDS
    • RE: Reload or recharge

      @thomthom said:

      @dds said:

      what is the ruby command to execute the command reload or recharge (like the right mouse click).

      What is the context of this question? Wondering is there is an alternative way to solve what you are looking for.

      I want to create a button that changes the selected component (+ all similar) by another based on its name.

      posted in Developers' Forum
      D
      DDS
    • RE: Reload or recharge

      yes, it : "Reload..." when right-clicking on an instance
      I'll look for workaround snippets posted in the forums.
      Thanks

      posted in Developers' Forum
      D
      DDS
    • Reload or recharge

      what is the ruby command to execute the command reload or recharge (like the right mouse click).

      posted in Developers' Forum
      D
      DDS
    • RE: How to reduce Sketchup

      yes, it's minimize the window

      posted in Developers' Forum
      D
      DDS
    • How to reduce Sketchup

      Sketchup to close it to do: Sketchup.send_action 57665

      but to reduce what is the code that should be used ❓

      posted in Developers' Forum
      D
      DDS