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

    janunes65

    @janunes65

    0
    Reputation
    1
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    janunes65 Unfollow Follow
    registered-users

    Latest posts made by janunes65

    • 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