INNER CODE UNIT · Python
compile_blueprint
prajwalshettydev/UnrealGenAISupport · Content/Python/mcp_server.py:671
def compile_blueprint(blueprint_path: str) -> str:
"""
Compile a Blueprint
Args:
blueprint_path: Path to the Blueprint asset
Returns:
Message indicating success or failure
"""
command = {
"type": "compile_blueprint",
"blueprint_path": blueprint_path
}
response = send_to_unreal(command)
if response.get("success"):
return f"Successfully compiled Blueprint at {blueprint_path}"