Hello everyone, I’m currently breaking my head over coding my DC (Dynamic Component) to COPY its properties in both the X and Y axes without generating additional component columns. Initially, I believed this task to be impossible, but I recently encountered a tile DC that appears to accomplish this seemingly magically. Could someone assist me in understanding the formula or method used to achieve this?
Specifically, I’m referring to the internal component where circles are multiplied by a value (X&Y) and then equally placed according to the primary DC parameters.
I attached the SU file with Components in it. DC24.skp (382.3 KB)
Tx @rwamoore,Yes! I tried to work with this format but i couldn’t make it work for my DC, there is a FLOOR code there too wonder if that has anything to do
Huh, weird. Don’t understand why that breaks it… the lines inside the tile component shouldn’t affect the way the DC works… Someone with knowledge of this voodoo please help us!
Ceiling takes an argument to next integer if a second argument is not specified, whereas floor to lowest integer. The second argument is assumed to be 0
floor(1/3)=0
floor(3.141)=3
floor(4/3)=1
from this one can see a method of selecting a row based on number of column, by dividing the number of cells by the num of columns
for 2 columns and copy (cells) copies=4
row=floor(copy/number of columns)
if you add second argument, result is lowest of that argument for floor whereas ceiling highest
floor(6.525,0.5)=6.5
floor(6.8699,3)=6
ceiling(6.8699,3)=9