# How to generate blueprint class in content browser?

**URL:** <https://forums.unrealengine.com/t/how-to-generate-blueprint-class-in-content-browser/415907>\
**Category:** Blueprint\
**Tags:** unreal-engine, editor, question, CPP\
**Created:** [January 30, 2018, 12:36pm UTC](https://forums.unrealengine.com/t/how-to-generate-blueprint-class-in-content-browser/415907 "2018-01-30T12:36:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juvarunst](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Juvarunst](https://forums.unrealengine.com/u/Juvarunst)\
**Post date:** [January 30, 2018, 12:36pm UTC](https://forums.unrealengine.com/t/how-to-generate-blueprint-class-in-content-browser/415907/1 "2018-01-30T12:36:54Z")

</div>

I want to use c + + to generate a blueprint assets

I just want to use c++ create asset in the editor, not in game

Does anyone know how to get started?

---

<div class="post-metadata">

**Author:** ![Juvarunst](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Juvarunst](https://forums.unrealengine.com/u/Juvarunst)\
**Post date:** [January 30, 2018, 12:55pm UTC](https://forums.unrealengine.com/t/how-to-generate-blueprint-class-in-content-browser/415907/2 "2018-01-30T12:55:43Z")

</div>

Maybe I could use “FAssetRegistryModule :: AssetCreated”?

---

<div class="post-metadata">

**Author:** ![Juvarunst](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Juvarunst](https://forums.unrealengine.com/u/Juvarunst)\
**Post date:** [January 30, 2018, 2:00pm UTC](https://forums.unrealengine.com/t/how-to-generate-blueprint-class-in-content-browser/415907/3 "2018-01-30T14:00:44Z")

</div>

Already solved, I use this code to create a blueprint

UBlueprint\* Blueprint = FKismetEditorUtilities::CreateBlueprintFromClass(FText::FromString(TEXT(“CreateNewBlueprint”)), AGameModeBase::StaticClass(),TEXT(“NewBP”));
