πŸ«› Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
  • Creating a Custom Line Tool

    9
    0 Votes
    9 Posts
    947 Views
    Chris FullmerC
    I agree. I tried to use the linetool to learn how to make a tool, as the API suggests. I got so confused. It is a pretty complex tool, at least more complex than it should be if it is being pointed to as a good script for beginners to learn from. Chris
  • Adding dynamic attributes to multiple objects

    19
    0 Votes
    19 Posts
    1k Views
    N
    Guys, Thanks for your help! Great insight.
  • Pipe diagrams to models - plug in

    3
    0 Votes
    3 Posts
    386 Views
    chrisglasierC
    Thanks very much TIG - here is a first try at the conduit - so easy.[image: kDoy_pig031.png] I think it has great potential, even maybe going straight from concepts to auto-modeling ... a kind of machine made provocation - 'what's wrong with this?'
  • Shade study

    13
    0 Votes
    13 Posts
    3k Views
    L
    Thanks, For now this shade analysis ruby worked for me. http://forums.sketchucation.com/viewtopic.php?f=323&t=18222&p=150950&hilit=shade+analysis+tool#p150950
  • Shadow Settings in the API

    4
    0 Votes
    4 Posts
    278 Views
    Dan RathbunD
    See BUG report I posted: http://forums.sketchucation.com/viewtopic.php?f=11&t=27534 Which apparently was noticed by others as early as 5 years ago (and it's still NOT fixed!)
  • Fast way to toggle visibility

    6
    0 Votes
    6 Posts
    390 Views
    N
    Good point. Thanks
  • Cursor snapping to a nearby point...

    5
    0 Votes
    5 Posts
    402 Views
    A
    ThomThom, Again, thanks for your speedy and gracious response. You've provided some good information. Time permitting, I'll work on this this weekend and hopefully come to a better understanding. Take care!
  • LayOut xml structure

    2
    0 Votes
    2 Posts
    238 Views
    Dan RathbunD
    XML structures are normally specified in a XSD (XML Schema Definition) file. Check the header in the XML file to see if a URL link to a Schema file is specified.
  • Detect OSX on Intel and pre-Intel systems?

    6
    0 Votes
    6 Posts
    556 Views
    thomthomT
    I just checked on an older PPC mac. So to sum up this thread: ` # Sketchup Ruby OSX 10.4 PPC * RUBY_PLATFORM: fat-darwin8.8.0 * RUBY_VERSION: 1.8.5 Sketchup Ruby OSX 10.5 Intel * RUBY_PLATFORM: i686-darwin8.10.1 * RUBY_VERSION: 1.8.5`
  • OSX key "menu" ?

    2
    0 Votes
    2 Posts
    266 Views
    tbdT
    I think it is a typo, as it is the ALT key on Mac. tested with a simple tool.
  • Translate My Documents

    18
    0 Votes
    18 Posts
    1k Views
    J
    Hopefully, this file will work. It uses the system call ShGetFolderPath or ShGetSpecialFolerPath to retrieve the folder, so maybe the paths will be localized. @thomthom said: But on XP the folder names for sure is localised. I can try later today on my old laptop with Norwegian XP. I'd be interested to see if it works.
  • Layout, google doc API

    2
    0 Votes
    2 Posts
    445 Views
    thomthomT
    There is no scripting API for layout, no.
  • Mac WebDialog & Flash

    24
    0 Votes
    24 Posts
    5k Views
    scottliningerS
    @thomthom said: Like AJAX solutions often do? This approach is most often used for "inter-frame" communication. If there are 2 frames in a page that are hosted on different domains, the JS in one is not allowed to access the other, but many browsers allow you to change the fragment identifier regardless of security, so it might work in this case. (There are a handful of other mechanisms people have used to get around frame-2-frame security, and any of them might work. Searching on the topic might give us a clever workaround.) Ajax apps will often modify the fragment to maintain state in the URL, so you can still email URLs around and have your friends land on the same "page" inside an Ajax app.
  • Global.bounds (is there a way to mimic this)

    5
    0 Votes
    5 Posts
    446 Views
    DavidBoulderD
    thanks, I'll give that a try. David update: Chris, thanks! that worked perfectly.
  • Observers not garbage collected?

    3
    0 Votes
    3 Posts
    289 Views
    thomthomT
    This is somewhat troublesome. One would then have to be very careful when creating observer instances. Ideally only create one instance - ever, if possible. And also clean up any references the observer has to other objects when possible, as otherwise they won't be GC'd either. grumble refactoring time.
  • Problem while creating a circle ?!

    4
    0 Votes
    4 Posts
    284 Views
    thomthomT
    ooops!
  • How to retrieve an observer attached to an entity ?

    11
    0 Votes
    11 Posts
    655 Views
    Didier BurD
    Me stupid
  • How observers work ?

    18
    0 Votes
    18 Posts
    2k Views
    thomthomT
    @dan rathbun said: @thomthom said: @dan rathbun said: (1) Jim did not subclass from Sketchup::ShadowInfoObserver No need. Su doesn't care. Just implement the methods required. I knew that Sketchup does't (currently,) check the observer's superclass. But isn't it a matter of good Ruby programming practice? And, what if (in the future,) Google implements some built-in methods, constants, etc. in the superclass that will need to be inherited by your custom observer's subclass(es)? You'd have to go and edit and re-release all your plugins that use observer's. Kind of seem to be by design: http://forums.sketchucation.com/viewtopic.php?f=180&t=17047&start=150#p171636
  • NEW SUTOOL 2010

    27
    0 Votes
    27 Posts
    5k Views
    GaieusG
    @gavvy said: em~~ Gaieus Maybe you don't know the pass of them. I love Sketchup Very Much,and they claim they are "China Sketchup Official website".why? And much other things of them OK, that explains much! Sorry for my ranting!
  • SketchUp Crashing w/o Bug Splat

    2
    0 Votes
    2 Posts
    334 Views
    M
    And again. This time bar should have been @foo.bar.

Advertisement