sketchucation logo sketchucation
    • Login
    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!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Link an entity to a dynamic component

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    2 Posts 2 Posters 124 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