sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Best practice for followme

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 290 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z Offline
      ziocleto
      last edited by

      Hi,

      I have a nicely created geometry using the followme function, something like this:

      status = myFace.followme(lines)

      status is ok and everyone is happy, but what's the best practice for selecting the faces/entity just created by the followme function, in this instance I'd like to move it somewhere else.

      Cheers

      1 Reply Last reply Reply Quote 0
      • sdmitchS Offline
        sdmitch
        last edited by

        Put the face in a group the do the followme. Everything created by the followme will be added to that group

        myGroup = Sketchup.active_model.entities.add_group myFace status = myFace.followme(lines)

        Then you can move the group.

        Nothing is worthless, it can always be used as a bad example.

        http://sdmitch.blogspot.com/

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement