sketchucation logo sketchucation
    • Login
    1. Home
    2. Qverburg
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
    Q
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 26
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: What is the best way to find the type of an entity

      hmm .typename works fine for me. Have'nt got much expierence with the other suggested methods though πŸ˜„

      posted in Developers' Forum
      Q
      Qverburg
    • RE: Ending a tool

      @chris fullmer said:

      Excellent, glad you got it working. It sounded like you were looking for something much complicated than activating the selection tool.

      Chris

      Well at first I wanted it to be more complex indeed. But i found out that i could do what i wanted by ending the tool with that commando.
      I had tried the pop tool but didnt get it working. But since you have to select something in order to use my tool selectSelectionTool gives the same result πŸ˜„
      Thanks for your thoughts though!

      regards,
      Quintus

      posted in Developers' Forum
      Q
      Qverburg
    • RE: Ending a tool

      Solved it with a Sketchup.send_action("selectSelectionTool:").

      posted in Developers' Forum
      Q
      Qverburg
    • Ending a tool

      Hello there ruby scripters,

      Im having difficulties in ending a selfmade tool.
      I would like that the tool returns to the last selected tool after finishing a list of methods.
      It is not really an option for me to rescript the tool to a method.

      Another problem for me is getting to start the list of methods only when 1 component instance (or 1 selection even) is selected, when no of multiple instances are selected it should prompt you to select one instance.
      my code is something like this:

      if $selectie.single_object? == false
      UI.beep
      UI.messagebox("please select only 1 ")
      Sketchup.active_model.selection.clear
      else
      method1
      method2
      end

      But now if not 1 instance is selected it keeps hanging in the tool. How do i fix it to wait untill one thing is clicked and then execute the methods?

      Kind regards,
      Quintus

      posted in Developers' Forum
      Q
      Qverburg
    • RE: DC Exploration 2 - Movement! (rotation, linear)

      Hmm this is strange,

      I found this door example of Remus and in there a mix of positive and negative rotations works just fine!
      Maybe its a nesting problem.


      Door fix

      posted in Dynamic Components
      Q
      Qverburg
    • RE: DC Exploration 2 - Movement! (rotation, linear)

      Thanks for helping finding the answer to my question here Jim!

      I had this problem a couple of times allready. mainly with opening windows and sortalike.
      Im happy with the workaround of Jim but I guess it shouldnt be necessary.

      I have some troubles with another DC of mine too. Will post it soon so you pro's can give it a look 😎

      Regards
      Quintus

      posted in Dynamic Components
      Q
      Qverburg
    • 1
    • 2
    • 2 / 2