Generating blueprint programmatically

Is this question outdated? If you solved it, post anwser yourself and mark it :slight_smile: