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

    Posts

    Recent Best Controversial
    • RE: Load classification system via ruby code

      Ah, very interesting, thanks brewsky!

      posted in Developers' Forum
      blruuskaB
      blruuska
    • RE: Load classification system via ruby code

      Dan, Thanks for verifying. It is surprising that NotImplementedError wasn't raised, if that is the case here.

      posted in Developers' Forum
      blruuskaB
      blruuska
    • RE: Load classification system via ruby code

      Not able to set enumerated "choice" type attributes via the API. For example, the IFC 2x3 CompositionType for IfcBuilding provides the values "complex", "element", or "partial". It can be set manually with the UI, but not the API:

      selection = Sketchup.active_model.selection
      definition = selection.first.definition
      definition.add_classification("IFC 2x3", "IfcBuilding")
      
      path = ["IFC 2x3", "IfcBuilding", "CompositionType", "IfcElementCompositionEnum"]
      success = definition.set_classification_value(path, "element")
      
      Error; #<RuntimeError; Unexpected attribute type>
      <main>;in `set_classification_value'
      <main>;in `<main>'
      SketchUp;1;in `eval'
      
      

      Am I doing something wrong, or is this kind of value setting not yet available in the API?


      IfcBuildingSnap.png

      posted in Developers' Forum
      blruuskaB
      blruuska
    • RE: Wrong Parent dimensions when using the copies attribute

      Bearskin,

      Have you tried configuring your sizing formulas in the children to reference dimensions of the parent?

      Reference: http://sketchucation.com/forums/viewtopic.php?f=289&t=35214

      posted in Dynamic Components
      blruuskaB
      blruuska
    • RE: Plugin installation on Lion

      matarazzodesign,

      Could you provide the detailed steps needed to resolve this problem?

      posted in Newbie Forum
      blruuskaB
      blruuska
    • RE: [code] SketchupExtension and rbs rubies

      Dan, I tried to implement your extension script, but around line 25:

      def @@plugin.path()
         @path
      end
      

      The @path variable seems to be undefined. Do you recall where that should be set? (I'm probably missing something?!)

      posted in Developers' Forum
      blruuskaB
      blruuska
    • RE: Installers for plugins.

      Do you know of any similar Installers for the Mac platform?

      posted in Developers' Forum
      blruuskaB
      blruuska
    • RE: How do i change length attributes in ruby

      Agenor, changing the length on a DC can be tricky. See this discussion:
      https://groups.google.com/forum/#!topic/sketchupruby/630uerkDhJI/discussion

      posted in Developers' Forum
      blruuskaB
      blruuska
    • 1 / 1