sketchucation logo sketchucation
    • Login
    1. Home
    2. JaViXP
    ℹ️ 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

    JaViXP

    @JaViXP

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

    JaViXP Unfollow Follow
    registered-users

    Latest posts made by JaViXP

    • 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