Deleting first instance of copied items
-
Hi all,
Hopefully one of you smart people can help me out with an issue I am having.
I have a dynamic component in which both a vertical and horizontal divider are created and repeat based on the user's input. I was able to put in the members without issue, but I was hoping there was a way to remove (or hide) the first copy.
The member at the left and the bottom in the images are marked with a red arrow. I need to get them gone!
Thanks in advance!


-
Hi
How about moving the position of the first instance and do one less copy. -
Not sure how that would work... right now I am using this for the Z location:
=copy*(Window!LenZ/(Copies+1))+1/2
Which divides the span of the window by the number of dividers (plus 1/2 the divider width to account for material thickness).
I know there is a COPY attribute which allows you to manipulate individual copies, but cannot find an example or explanation of how it works.
Thanks!
-
=copy*(Window!LenZ/(Copies+1))+1/2
Try =Window!LenZ/(Copies+1) + if(copy>0,(copy-1)*(Window!LenZ/(Copies+1)),0)+1/2
the first distance + copy less one * distance + 1/2
the if statement to make zero if copy = 0, otherwise copy-1 would be -1
However this places the first and second instance @ the same position. So probably better to reduce the copies number
ie for Copies: = window!number-1
exact syn tact would be whatever you choose for the variable "window!number"then lenZ= Window!LenZ/(Copies+2) + copy*(Window!LenZ/(Copies+2) + 1/2
Hope this helps
Philip -
I ended up adding a HIDDEN attribute (=IF"copy=0,1,0) to hide the first instance.
I will try what you suggested, though, Phillip. Better to have it not there than to have it hidden!
Thanks!
-
Philip,
Tried your solution and it worked PERFECTLY! Thanks a ton!
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 LoginAdvertisement