Generate Variables Dynamically UHT For Macro

Hi, have you found the solution for this? I have almost the same issue dealing with AttributeSet.