sketchucation logo sketchucation
    • Login
    ⌛ Sale Ending | 30% Off Profile Builder 4 ends 30th September

    Forcing a value when moving a dynamic component

    Scheduled Pinned Locked Moved Dynamic Components
    sketchup
    4 Posts 2 Posters 1.8k 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
      digby dart
      last edited by

      Sometimes setting a value (eg. Position X = 0cm) for an embedded component doesn’t hold when later moving the overall Dynamic Component around the SketchUp virtual world. The Dynamic Component part of SketchUp seems to prefer values it calculates. One solution then is to force a calculation (eg. Position X = 1-1). This works for me.
      Hope this helps someone else.

      1 Reply Last reply Reply Quote 0
      • Chris FullmerC Offline
        Chris Fullmer
        last edited by

        But a subcomponent set to x=0 should stay put in reference to its parent component only, not in relation to the real world axis. Are you saying this if you make a subcomponent have an x=1-1 that it will then stay at real world 0, even if you move its parent component? That seems problematic. Maybe I'm just misunderstanding.

        Chris

        Lately you've been tan, suspicious for the winter.
        All my Plugins I've written

        1 Reply Last reply Reply Quote 0
        • D Offline
          digby dart
          last edited by

          Most probably my explanation was a little cryptic.

          For some reason occasionally a subcomponent that is meant to reference to parent component X=0 and stay there does not (main parent component X=0).

          The problem only becomes apparent when the main component is moved.

          The sub component which is meant to stay fixed on the main component X=0 axis moves within the overall component space to an arbitrary X location when the main component is moved.

          I am not sure why this happens. The X=1-1 to define X=0 (parent component space) seems to correct the problem. 😄

          ps. I have only seen this X Axis mix up when building components but never when changing the values in the user dialog boxes on a built component.

          1 Reply Last reply Reply Quote 0
          • Chris FullmerC Offline
            Chris Fullmer
            last edited by

            Huh, I tried to duplicate but couldn't.

            If I make the parent component x=0 then that component stays put on the world x=0 axis. Then if I make the subcomponent x=parent!x (which is =0), then the subcomponentalso stays put on the zero of te parent, which is stuck to the zero of the real world. So far I haven't seen aynthing fishy.

            Do you have a component to check out that's doing this?

            Chris

            EDIT: I should be more clear. I have had issues with something along these lines in a component I was working on. But its not quite the same problem. So I do have a feeling there is something possibly screwy with how position is happening, I just can't duplicate your experience yet.

            Lately you've been tan, suspicious for the winter.
            All my Plugins I've written

            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