Smart Component to Generate Colored Boxes

arjunharjunh Singapore
I am running into a problem with a smart component to generate boxes of a given size and random color. Attached is the smart component library. 
The boxes get generated as required but for some reason the color is not applied. The "highlighter" signal is shown as 1 for the new copy created by the "source". But it doesn't have any color. If I manually set the "activatecolor" signal for SC to 0 and then 1 again, it will have color. 

Anyone know why this is happening or at least a workaround. Thanks is advance!

Comments

Sign In or Register to comment.