Redraw should work on groups or components. Can you post your code?
EDIT: Group attributes are kept in the definition instance, where components have attributes at the instance and definition level, this is likely probably not your issue…
You have to set the group attribute at the definition instance.
EDIT2: I had it backwards, corrected above. Thanks @DanRathbun!