🏒 PlaceMaker | 25% off for February including new Google Earth data imports! Learn more
  • Collada round tripping

    3
    0 Votes
    3 Posts
    258 Views
    T
    As Collada is XML there is no reason why they should not be able to parse block and group hierarchies on import. As said Sketchup exports the hierarchies OK but cant do a 'round trip' and import the geometry in the same state. I think your comment refers to the Autodesk kit for DWG/DXF. I'm under the impression Sketchup uses libraries provided by the Open Design Alliance.
  • Removing the group after group.to_component

    7
    0 Votes
    7 Posts
    267 Views
    honoluludesktopH
    Right again: my_instance = @master_group.to_component my_definition = my_instance.definition my_definition.name = my_file_name my_instance.erase! repeat = false model.place_component my_definition, repeat Can I just say that I must have been sleep deprived.
  • Win32 output debugging

    9
    0 Votes
    9 Posts
    3k Views
    J
    Here's what I came up with. Just make sure it is alphabetically the first file in Plugins in order to capture the earliest output. require 'Win32API' class CL_rps_console < Sketchup;;Console OutputDebugString = Win32API.new("kernel32.dll", "OutputDebugString", ['P'], 'V') def write(smess="\0") smess = smess.to_s + "\0" OutputDebugString.call(smess) end end # redefine standard output to our new class $old_stdout = $stdout # in case you want to turn off traces $stdout = CL_rps_console.new $stderr = $stdout puts "-" * 40 puts Time.now puts "Starting SketchUp" puts "-" * 40
  • MAXWELL plugin Authors?

    23
    0 Votes
    23 Posts
    991 Views
    thomthomT
    @jd hill said: And thanks for the idea of using a Definition; that's perfect. Mind you - if you don't use abort_operation you'll end up making lots of temp definitions cluttering up the In Model definition list.
  • Interface for plugins.

    38
    0 Votes
    38 Posts
    2k Views
    Chris FullmerC
    @unknownuser said: I have done HTML+JS+CSS+DBS+FTE+HTE+KLM Seriously, in what world are web dialogs a good option for UI. Please Google include a simple UI into the API...
  • OnRButtonUp broken?

    6
    0 Votes
    6 Posts
    453 Views
    thomthomT
    So both events are busted. And when they fix it..?
  • [Tool] Pencil - UI prototyping / sketching

    4
    0 Votes
    4 Posts
    1k Views
    J
    Still useful and cool, thanks for the link. You must have found Glade when searching for a UI designer - it supports quite a few language bindings. Even JavaScript, which I found interesting. Does that mean you can write desktop apps in JavaScript using gtk widgets?
  • Example of Compiled Extension with SWIG and CMake

    11
    0 Votes
    11 Posts
    4k Views
    K
    Hi, has anyone tried this on Mac OSX (10.6)? For SWIG I did the standard: ./configure, make, make install. but when i try to CMake your examples above i get this: swig error : Unrecognized option -initname swig error : Unrecognized option Example for -initname "Example" in CMakeList.txt also if i remove that it doesn't get better. I tried SWIG versions 2.0.0 and 1.3.40 with no luck, and I have ruby 1.8.7 (so should be no problems here...). Please help, Thank you.
  • How to reverse edge

    4
    0 Votes
    4 Posts
    445 Views
    thomthomT
    You want a sorting routine for connected edges? I got one on disk at home - but I'm currently in Germany on a field trip...
  • OnUserText

    4
    0 Votes
    4 Posts
    266 Views
    thomthomT
    @spring.freediver said: It is odd that my other tools worked without it. hm..? Are you sure you haven't got that method in your other tools? I've never seen it possible without this method.
  • Cannot launch SU from hta [Now can]

    17
    0 Votes
    17 Posts
    989 Views
    chrisglasierC
    Also found this written by the same guy specifically for hta's. I just wrote the input into my code so there is no need for any pop up window. Maybe useful for others ... [image: EcFT_2010-10-07_1820.png]
  • Ruby File Auto-Reloader code

    3
    0 Votes
    3 Posts
    1k Views
    J
    I'm glad you found it useful. But there are times when it is good to close SketchUp; when you change the name of a method, for example. Closing SketchUp is the only way to get rid of the old method name. Sometimes you have a bug where a part of your code is still using the old method name until you remember you changed it. I've done this numerous times.
  • Entities.add_group(ents)

    17
    0 Votes
    17 Posts
    898 Views
    K
    ... actually this works if you want to create a sub-group that includes all entities of the parent group, but not if you want to create a sub-group that includes only SOME of the entities of the parent group. For instance, I start with a box, and I create one group for all walls, another for all roofs, and another for the floors. I guess I could create multiple sub-groups using your method, and then erase everything that I don't want out of each group. Aarg! This is much more calculation intensive that I want! -- Karen
  • Auto Reload Plugin folder

    4
    0 Votes
    4 Posts
    2k Views
    M
    The traceback is always the same with this plugin because the lastest method used is "load" : ["C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:48:inload'", "C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:48:in AutoReload'", "C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:44:in upto'", "C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:44:in AutoReload'", "C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:35:in startTimer'", "C:/Program Files (x86)/Google/Google SketchUp 7/Plugins/Morgan74DevTools.rb:34:in call'"] But you have in the error message the line of the error and a "small" description : [image: Error2.PNG]
  • Model Hierarchy

    2
    0 Votes
    2 Posts
    557 Views
    TIGT
    A definition.name applies to every instance, as in instance.definition.name - which can't be "" - but an instance ALSO has it's own name - which might be "" - instance.name ?
  • Add to existing groups to a new group

    2
    0 Votes
    2 Posts
    233 Views
    TIGT
    See this parallel thread http://forums.sketchucation.com/viewtopic.php?p=277009#p277009
  • Webdialog component and group html attributes

    5
    0 Votes
    5 Posts
    358 Views
    4
    Thanks, guys. I Hope I can get this to work.
  • Entity.parent gives wrong type

    20
    0 Votes
    20 Posts
    1k Views
    TIGT
    If you make a group into a component it will take the original 'Group#nn' name as the definition's name. You have to use definition.name="new_name" to change it to something else. When you place an instance you can give that a separate name [Entity Info]. So you can have a component definition named "My_component" and the instances of it can also have their own names "v1", "v2" etc...
  • Mechanizing the model upload process?

    2
    0 Votes
    2 Posts
    212 Views
    Dan RathbunD
    You'd have to first export I'd think, via the Sketchup API. Then some kind of automation, perhaps thru a webdialog. (I do not see a specific 3Dwarehouse APi on Google API site.) Try posting a query here: http://sketchup.google.com/3dwarehouse/forum
  • Using the Windows7 Taskbar Progressbar?

    4
    0 Votes
    4 Posts
    6k Views
    T
    I know nothing about Win7 and its progress bar and Win32, but I have done one using WxSU and I export model while having the progress bar alive. The only thin is to give it an update from time to time to keep it 'active'. WxSU gives also an option of Cancel button. It has this advantage over your solution that it works on Mac & lower Win version as well. Disadvantageous is installation\addition of WxSU library.

Advertisement