sketchucation logo sketchucation
    • Login
    1. Home
    2. issamal
    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!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
    I
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 3
    • Groups 1

    Posts

    Recent Best Controversial
    • Change value of a reserved DC attribute

      I created a Dynamic Component in Pro 14 and I am trying to manipulate an instance of that in Sketchup Make 15. When I assign a value to an attribute such as LenZ, i don't see any change. Could somebody help?

      Here is a sample code :

      dl = Sketchup.active_model.definitions
      file_path = Sketchup.find_support_file "style_85.skp", "Components/"
      comp_def = dl.load file_path
      ent = Sketchup.active_model.entities
      inst = ent.add_instance comp_def,[0,0,0]

      original value for LenZ is 20

      inst.set_attribute "catalogue","LenZ",70

      posted in Dynamic Components sketchup
      I
      issamal
    • RE: Add_dimension_linear with group transformation

      Thanks. That was really helpful.

      posted in SketchUp Discussions
      I
      issamal
    • Add_dimension_linear with group transformation

      I am looking for a way to get the dimension to move with the group after I apply a transform.

      model = Sketchup.active_model
      entities = model.entities
      model1 = Sketchup.active_model

      tk_group = Sketchup.active_model.entities.add_group

      pt201 = [0,0,0]
      pt202 = [10,0,0]
      pt203 = [10,10,0]
      pt204 = [0,10,0]

      dim = entities.add_dimension_linear pt201, pt202, [0, 0, 10]

      tk_group.entities.add_face pt201, pt202, pt203, pt204

      new_transformation = Geom::Transformation.new([30,0,0])
      tk_group.transform! new_transformation

      posted in SketchUp Discussions sketchup
      I
      issamal
    • 1 / 1