🏒 PlaceMaker | 25% off for February including new Google Earth data imports! Learn more
  • View.invalidate vs view.refresh

    8
    0 Votes
    8 Posts
    318 Views
    Chris FullmerC
    But that is done with an animation class, right? I was thinking maybe moving things that do not use the animation class would need it. But again, I'm probably wrong. I have not tried this, my computer has been tied up rendering artsy shadows for the seasonal changes over the course of a year.
  • Ghost Files

    16
    0 Votes
    16 Posts
    554 Views
    thomthomT
    @honoluludesktop said: Here is an explanation, and "partial" solution. Thomas, When UAC off and as administrator, have you ever experienced a program having problems saving files? Nope.
  • Lock inference to X, Y or Z_

    12
    0 Votes
    12 Posts
    758 Views
    thomthomT
    @chris fullmer said: a point and/or another inputpoint. I only see it referring to InputPoints... And I think the ip it takes as argument are meant for inferring... ...the docs are a wee bit unclear here...
  • Manipulating the InputPoint

    10
    0 Votes
    10 Posts
    2k Views
    thomthomT
    So I'm not mad!
  • Timer < 1.0 seconds ?

    17
    0 Votes
    17 Posts
    1k Views
    Dan RathbunD
    I haven't had time to test this code yet..Has anyone else had a chance?
  • Developer needed for sketchup plugin - closed

    5
    0 Votes
    5 Posts
    418 Views
    R
    thanks guys, we've found someone. No need to apply anymore Radiance
  • Export google sketchup file to other software

    3
    0 Votes
    3 Posts
    540 Views
    M
    @henda said: Ruby script or Ruby extensions written in C\C++ can export google sketchup file to other software that accept only xml file? Do you need something general-purpose (very hard) or more specific (possibly easy)?
  • Web Dialog bug?

    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?
  • Change face color of component

    5
    0 Votes
    5 Posts
    3k Views
    Dan RathbunD
    refering to TIG's example: Sketchup::Group is also subclass of Sketchup::DrawingElement (so Sketchup::Group instances will inherit a material= method from it's superclass Sketchup::DrawingElement.)
  • Model.edit_transform for parent

    11
    0 Votes
    11 Posts
    480 Views
    C
    sorry, I must be really tired today. I meant you can't use a pickhelper outside of the current context. so If you you have two instances in the model, and you double click one, you can't use the pickhelper on it's sibling.
  • How to Convert file google sketchup .SKP to .XML

    4
    0 Votes
    4 Posts
    3k Views
    H
    What difference between file exported to format Collada and files exported by script SU2KT ?
  • Writing Readable Ruby

    11
    0 Votes
    11 Posts
    367 Views
    Dan RathbunD
    @unknownuser said: [Is it because ] super [is ] a keyword? Hence this exception? I believe so. If you look at the lex.c file in the Ruby source, you'll see there are only 3 keywords that use argument lists: defined?, super and yield. In the eval.c file, you see these statements are converted into internal C function calls, (like everything else in Ruby.)
  • Colours to illustrate range

    13
    0 Votes
    13 Posts
    1k Views
    thomthomT
  • Adding text clears Sketchup window

    6
    0 Votes
    6 Posts
    284 Views
    P
    Tig, true, normally i always check if the array has any value or length>0 What would be the best way to check if an array has values? I assume length is the way to go? test=[] if test==[] -->TRUE if test==nil --> FALSE if test.length<1 -->TRUE
  • Developers wish list

    3
    0 Votes
    3 Posts
    182 Views
    P
    Great, not sticky?
  • [Code] layer.delete()

    20
    0 Votes
    20 Posts
    5k Views
    P
    Great thx Tig for the extra explanation Now if only this was possible for materials to (without having to duplicate the entities first) BTW Tig, do you know if is possible to refresh the Layer window?
  • How do you make Ruby Scripts Pause

    6
    0 Votes
    6 Posts
    2k Views
    thomthomT
    @cjthompson said: Has anyone figured out how to use threads fluidly, so that ruby and regular sketchup will work at the same time? All attempts to use threads I've heard about had failed. Apparently it is a no-go.
  • Reloading a Definition

    5
    0 Votes
    5 Posts
    419 Views
    J
    @thomthom said: I got the impression that the name was not the issue, but the path. Right. loading a definition with the same path returns the in-model definition with the same path, and does not re-load it from disk. The name is not important, but it is the path that matters. If I save_as the definition to a new path, then load will work on the original path, and the new definition's name will be incremented. I wanted to avoid saving the old definition to a disk file and all the mess that goes along with that - such as finding/creating a folder to save it to and cleaning it up afterward. What I found is I can cdef.save_as("/dev/null") which will reset the path, but not actually create a file on disk. Then I am free to load the definition again - a re-load, although the definition name is incremented. This apparently works on Windows as well as Mac even though Windows does not have a /dev/null file. Perhaps Ruby just knows how to deal with it. Can anyone confirm this does not create a file on disk on either Windows or Mac?
  • Drawing Joints on Sketchup Objects

    2
    0 Votes
    2 Posts
    252 Views
    T
    Try this: http://www.smustard.com/script/CenterPoint
  • Contacting Carlo Roosen ?

    4
    0 Votes
    4 Posts
    356 Views
    pilouP
    but what is the good guy?

Advertisement