sketchucation logo sketchucation
    • Login
    1. Home
    2. janunes65
    3. Posts
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    ⚠️ Important | Libfredo 15.6b introduces important bugfixes for Fredo's Extensions Update
    J
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Individually export all components to .dwg

      3D Autocad (DWG/DXF)
      :acad_version - Specifies the autocad_version to export.

      values: "acad_12", "acad_13", "acad_14", "acad_2000", "acad_2004", "acad_2007", "acad_2010", "acad_2013"

      :faces_flag - Boolean to indcate whether to export faces.

      :construction_geometry - Boolean to indicate whether to export construction geometry.

      :dimensions - Boolean to indicate whether to export dimensions.

      :text - Boolean to indicate whether to export text objects.

      :edges - Boolean to indicate whether to export edges.

      posted in Developers' Forum
      J
      janunes65
    • Individually export all components to .dwg

      I haven't managed I need help

      ` model = Sketchup.active_model
      modelpath=File.dirname(model.path)
      modeltitle=model.title

      clist = []
      for c in model.definitions
      if c.count_instances > 0 and c.group? != true
      clist = clist.push([c.name])
      Sketchup.active_model.selection.add( Sketchup.active_model.definitions[c.name].instances )
      sel = Sketchup.active_model.selection
      #export(modelpath + "/" + c.name + ".dwg",false)
      sel.export(modelpath + "/" + c.name + ".dwg",false)
      end
      end`

      posted in Developers' Forum
      J
      janunes65
    • 1 / 1