• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Copied Components do not change dynamically

Scheduled Pinned Locked Moved Dynamic Components
sketchup
2 Posts 2 Posters 7.6k Views
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.
  • J Offline
    jkoll66
    last edited by 7 Aug 2018, 13:46

    Hello all, I have a piece of conveyor used to divert boxes off of the main line. I have a group of wheels set up as components. The issue I have is if I change the width to anything larger than 18" and then change the divert direction the copied wheels do not change position. Although, it does appear that they do rotate correctly. If I then change the width back to 18" and then to a larger width they copy fine. How can I get them to change position correctly when resizing? Please see attached file. Thanks in advance.


    Divert.skp

    1 Reply Last reply Reply Quote 0
    • B Offline
      bthomas3
      last edited by 14 Aug 2018, 18:40

      Your main issue here is that you have the wheels changing direction by "mirroring" the cluster/row (of 3 wheels) across it's origin by using a negative length and sliding it over (offsetting). While clever, the wheels' positions aren't fixed, so they seem like they're getting it when they really don't know where to be. There may be a way to effectively use negative length for a component (I avoid it), but I'd suggest keeping it simple while you better your grasp the nuances of DCs.

      Simplest solution: Add your position to each wheel (or set 1 with 2 copies) and add RotZ=parent!divert_direction. For the wheel group, add a Divert_Direction attribute (=parent!Divert_Direction) so you now have a pass-through attribute from the model to the wheels.

      You'll probably also have to modify your position X if/then statement to account for the removed negative length formula

      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