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

    Topics

    • B

      Observers and undo question

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      11
      0 Votes
      11 Posts
      235 Views
      thomthomT
      It's been a bit back and forth. I think it might be a combo - depending on what you do. Even they find the topic troublesome.
    • B

      Geom.intersect_line_line question

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      15
      0 Votes
      15 Posts
      557 Views
      thomthomT
      Then it sounds like moving to an Ruby C Extension is what might give real performance improvements.
    • B

      Global coordinates Question

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      4
      0 Votes
      4 Posts
      293 Views
      B
      Thanks for the help,have got it sorted. Jim - I really appreciate you sharing the info about the nested components/groups saved a lot of time and effort Thanks Brett
    • B

      Skp File Names

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      3
      0 Votes
      3 Posts
      290 Views
      Dan RathbunD
      @brett mcallister said: I was wondering if it was possible using ruby, to get the name of the skp file that is currently open in sketchup. assume: model = Sketchup.active_model Instance method: model.path Returns the full pathname, if the model has been saved, or an empty String if not. Instance method: model.title Returns only the SKP name (filename only MINUS the extension,) if the model has been saved, or an empty String if not.* Equivalent to: File.basename(model.path).split('.')[0] File.basename(model.path) Will return the full filename (including extension,) if the model has been saved, or an empty String if not. See also: model.modified? if model.path.empty? # model is UNSAVED if model.modified? # model may need to be SAVED else # model is a NEW unmodified SKP end else # model WAS saved at some time if model.modified? # model may need to be SAVED else # model file is sync'd with that # which is currently loaded. end end %(#4000BF)[Edited for clarity: (04 AUG 2010, 4:22 GDT) Added model reference assumption, and use of: File.basename(model.path)]
    • B

      Web Dialog bug?

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      5
      0 Votes
      5 Posts
      269 Views
      M
      @brett mcallister said: Thanks for the replies. The only ruby code I am using is just to load the dialog to test it so there is no namespacing etc. Sounds like that will solve the problem,so I will keep that in mind as I get further along. Cheers Brett Failure to include two parameters in the code block of an action callback is a crime punishable by BugSplat. PC or Mac?
    • B

      Web dialog browser version

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      2k Views
      thomthomT
      @brett mcallister said: What I don't understand is when I open a web page in a web dialog you get scroll bars if I opened a webpage located on my hard drive no scroll bars?. The various render modes in IE triggers differently depending if the HTML page is loaded in a browser or in an embedded control such as webdialogs.
    • B

      Setting camera eye

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      8
      0 Votes
      8 Posts
      280 Views
      snicoloS
      Should be fixed soon, I have submitted the change and it needs to be picked up by the servers. thanks for the report. Simone.
    • 1 / 1