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

    Link an entity to a dynamic component

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    2 Posts 2 Posters 110 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.
    • D Offline
      dagobo
      last edited by

      Hi,

      I am trying to link an entity created by a Tool (a construction point) to a dynamic component animated by the same Tool.
      For now, my tool moves and modifies a little bit my DC (length, width), then creates a construction point.

      Is there any possibility to link the two entities with a Ruby command ?

      I was thinking of adding the construction point as a sub-component of my DC (which already counts three sub-components). But my DC should keep the same name at the end.

      Thanks a lot for your help.

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        You have your DC's definition, so why not use dcdefn.entities.add_cpoint(point) so that then it is part of the DC ??

        TIG

        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