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

    Posts

    Recent Best Controversial
    • RE: Reloading plugins while SketchUp is running

      That fixed the 'issue', thanks πŸ‘

      posted in Developers' Forum
      J
      JaViXP
    • RE: Reloading plugins while SketchUp is running

      I know, I know. I think you didn't understand me well 😳

      It does work on the ruby console, but not as a plugin itself.

      posted in Developers' Forum
      J
      JaViXP
    • Reloading plugins while SketchUp is running

      @thomthom said:

      @javixp said:

      is is possible to load/unload/reload plugins with SketchUp running?

      You can load (and reload) scripts by using the Ruby Console, typing load 'myRubyFile.rb'

      I tried that and it worked. However, what I wanted was to reload plugins using... another plugin, something like this:

      def reload load 'myRubyFile.rb' end

      Problem is that one doesn't work, the Ruby Console says:

      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/myRubyFile.rb;64;in `load'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/myRubyFile.rb;64
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/myRubyFile.rb;64;in `call'
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/myRubyFile.rb;64
      

      Note: Line 64 is where the function 'reload' is called

      Thanks

      posted in Developers' Forum
      J
      JaViXP
    • RE: What am I doing wrong?

      Thank you everyone, for "clearing up" my doubts. It works fine now.
      By the way, just not to make a new topic for a single question, is is possible to load/unload/reload plugins with SketchUp running?

      posted in Developers' Forum
      J
      JaViXP
    • What am I doing wrong?

      Hello,

      well, I was just trying do make an 'addition' to Chris' multi-pushpull plugin and this is what I've got so far:

      model = Sketchup.active_model
      sel = model.selection
      ent = model.active_entities
      
      height = mpp_options_diag
      
      faces = []
      	sel.each do |e|
      	
      		if e.is_a? Sketchup;;Face
      			faces << e
      		end
      	end
      	
      	faces.each do |face|
      	face.pushpull height.to_i
      end
      
      def mpp_options_diag
      	prompts = ["Insert the height for the Multi PushPull"]
      	defaults = ["100"]
      	input = UI.inputbox prompts, defaults, "Multi PushPull Tool Parameters"
      end
      

      Thing is, it lets me run the code if I do "face.pushpull(100)", but not with "face.pushpull height.to_i"

      The Ruby Console shows this error:

      undefined method `to_i' for ["100"];Array
      C;/Program Files (x86)/Google/Google SketchUp 8/Plugins/webconsole/webconsole.rb;31;in `run'
      (eval);15;in `each'
      (eval);15;in `run'
      undefined method `to_i' for ["100"];Array
      
      

      What am I doing wrong then?
      Thanks. 😳

      posted in Developers' Forum
      J
      JaViXP
    • RE: Rogue's W.I.P's!

      They are pretty nice, Ben! Keep them up πŸ‘

      posted in Gallery
      J
      JaViXP
    • RE: Looking ahead to SU 8.

      In my opinion, native renderers are free, easy to use and nice results. I'm a little newbie at rendering, I know, just my opinion.

      posted in SketchUp Discussions
      J
      JaViXP
    • RE: Looking ahead to SU 8.

      **1.-**More than 2GB RAM Support
      **2.-**Native renderer
      **3.-**Some subdivision add-on

      I do hope that all becomes true, which is I think everyone wants of Google SketchUp.

      SketchUp Team, keep up the good work!

      Regards, Javier

      posted in SketchUp Discussions
      J
      JaViXP
    • RE: SketchyPhysics 3x June 27 version.

      Same for me.

      posted in SketchyPhysics
      J
      JaViXP
    • RE: My .SKP Works

      Me before seeing your SL: πŸ˜„

      Me when you told me it was done: πŸŽ‰

      Me once I saw it: 😲

      posted in Gallery
      J
      JaViXP
    • RE: My .SKP Works

      Wow awesome! Looks a little messy on the hood though πŸ˜„

      posted in Gallery
      J
      JaViXP
    • RE: Particle FX preview

      OH YEAH ! ! I got it running at 50 FPS

      posted in SketchyPhysics
      J
      JaViXP
    • RE: Rogue's W.I.P's!

      Very nice, Ben! You have done an awesome work with only one image!

      posted in Gallery
      J
      JaViXP
    • RE: My WIP's and Finished Works

      Thank you, Rogue and dtrarch! πŸ˜„

      posted in Gallery
      J
      JaViXP
    • RE: My .SKP Works

      Agreed with Rogue, love the lights!

      posted in Gallery
      J
      JaViXP
    • RE: 3D Warehouse Explorer V 1.2

      Great!

      I am almost sure it is about .NET Framework
      When I was running XP, it didn't work, but now I'm using Vista and all works fine.

      posted in Corner Bar
      J
      JaViXP
    • RE: Real time render with real time camera matching!!

      Thank you so much! The video looks really good, and the best: I am a student!

      posted in Extensions & Applications Discussions
      J
      JaViXP
    • RE: My .SKP Works

      Happy Birthday Man!! πŸ˜„

      posted in Gallery
      J
      JaViXP
    • RE: Toggling Thrusters?

      For thrusters... I am not sure.

      Try using this in 'onTick'

      push(1)
      

      Note: You can change the 1 for the value you want.

      posted in SketchyPhysics
      J
      JaViXP
    • RE: WIP: Scripted aircraft

      It's nice! Can I fully control it with my PS3 controler? πŸ˜‰

      posted in SketchyPhysics
      J
      JaViXP
    • 1
    • 2
    • 3
    • 4
    • 5
    • 8
    • 9
    • 1 / 9