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!
    Urasik Extensions | Lots of new extensions to check out Learn More

    DC -can't acces TOP level atribute from third level entity

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    2 Posts 2 Posters 988 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.
    • dereiD Offline
      derei
      last edited by

      I have a structure like this:

      
      --MAIN(component)
            |--COMPONENT
                  |--GROUP
      
      

      And, in GROUP, I want to access an attribute from MAIN. So, in GROUP I did this:

      =MAIN!my_attr
      

      ,but it gave me the # πŸ˜„
      then I tried this way:

      in COMPONENT;
      -------------------
      Attr = MAIN!my_attr
      in GROUP;
      --------
      =COMPONENT!Attr
      

      And this worked. But, from my point of view is kinda ugly to redefine at each level πŸ˜• .
      Is this normal? You can only access the parent's attributes, or it should be possible to access any attributes, no matter how high is the entity in hierarchy ?

      DESIGNER AND ARTIST DEREI.UK

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        You have it right. It's an inconvenience and makes things more complicated than need be. I think I made a suggestion to Google one time about adding a type of global variable to DC's; or possibly making a variable's scope be from the parent down to children of any depth, but not up to parent components.

        Hi

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better πŸ’—

        Register Login
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement