Copies attribute

I’ve made a dynamic component (DC)that has a sub component that makes one copy of itself using the copies Attribute. How do I control the visibility of the original and the copy separately? Is there an example that somebody has that I could follow?

I’m making a PVC pipe that is capable of having different kinds of fittings on both ends and with different rotations…or no fittings at all.

I can do it by making duplicate sub components within the DC but I’d rather try with the copies attribute. File attached.

Have been trying for days and I’m going around in circles🤪

Thanks in advance
Untitled5.skp (1.7 MB)

1 Like

I wouldn’t use the copies attribute for your scenario. Using a start component and an end component makes more sense.

So a few things:

  1. Component Size3D attribute cupl_length has a broken reference to =End1!length_FN. On further inspection there are multiple broken references throughout.
  2. Your note: 1 = hidden FALSE and 0 = visable, TRUE, is incorrect. TRUE is 1, FALSE is 0
  3. I see no use of the copies attribute. You can use an IF argument based on COPY attributes value for conditional visibility. See attached example:
    COPY as IF trigger…skp (1.1 MB)

Perhaps a brief video or some screen shots of what you want to do would help clarify what you are trying to accomplish. I agree the copies attribute may not be the best way to do this…