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

    Topics

    • M

      How to move a group

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      2
      0 Votes
      2 Posts
      4 Views
      Dan RathbunD
      @mr_creator said: Next I need to move everything to the origin of global coordinates. group1 = entities.add_group This line of code will create a new group at the origin of entities. If this is the top level model's entities, then this is the global origin. If it is some other component's or group's entities, then it is their local origin. @mr_creator said: group1.transformation.origin have zero coordinates, but group1 is not at zero. This confirms then that group1's origin is at the origin of the active edit context's origin.
    • M

      Delete and update add_note don't work

      Watching Ignoring Scheduled Pinned Locked Moved Developers' Forum
      6
      0 Votes
      6 Posts
      6k Views
      Dan RathbunD
      Just tested Sketchup::Text#set_text on SU2020 and it (as Dezmo says) does not display the change until the view is redrawn. So Sketchup.active_model.active_view.invalidate is necessary to see the change. I'll open a documentation issue for this "quirk".
    • 1 / 1