# Editor Scripting

**URL:** https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=36

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 37

---

## [Reimport With New File - Python](https://forums.unrealengine.com/t/reimport-with-new-file-python/226744)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_92599d65](https://forums.unrealengine.com/u/anonymous_user_92599d65)\
**Replies:** 6\
**Last updated:** [May 4, 2021, 12:26pm UTC](https://forums.unrealengine.com/t/reimport-with-new-file-python/226744 "2021-05-04T12:26:09Z")

</div>

First time posting here, so I will do my best to describe my issue. In Unreal you can right-click an asset in the content browser and select “Reimport With New File”, which reimports the asset pointing to a different so…

---

## [Python fails on first line with : No module named unreal\_engine](https://forums.unrealengine.com/t/python-fails-on-first-line-with-no-module-named-unreal-engine/142347)

<div class="topic-metadata">

**Author:** [@MajorTom6000](https://forums.unrealengine.com/u/MajorTom6000)\
**Replies:** 3\
**Last updated:** [May 3, 2021, 3:55am UTC](https://forums.unrealengine.com/t/python-fails-on-first-line-with-no-module-named-unreal-engine/142347 "2021-05-03T03:55:30Z")

</div>

I am trying to follow this tutorial UnrealEnginePython/FixingMixamoRootMotionWithPython.md at master · 20tab/UnrealEnginePython · GitHub in order to import mixamo characters and animations (a site that allows rigging yo…

---

## [Possible to retreive project list and their thumbnails?](https://forums.unrealengine.com/t/possible-to-retreive-project-list-and-their-thumbnails/227455)

<div class="topic-metadata">

**Author:** [@PanupatChong](https://forums.unrealengine.com/u/PanupatChong)\
**Replies:** 0\
**Last updated:** [May 2, 2021, 12:13pm UTC](https://forums.unrealengine.com/t/possible-to-retreive-project-list-and-their-thumbnails/227455 "2021-05-02T12:13:19Z")

</div>

Similar to whats displayed in Epic Launcher. I’m curious if those data are stored somewhere? Or query-able via scripts?

---

## [PIE: Make saved games exclusive for players](https://forums.unrealengine.com/t/pie-make-saved-games-exclusive-for-players/482792)

<div class="topic-metadata">

**Author:** [@Marc\_One](https://forums.unrealengine.com/u/Marc_One)\
**Replies:** 0\
**Last updated:** [May 2, 2021, 11:57am UTC](https://forums.unrealengine.com/t/pie-make-saved-games-exclusive-for-players/482792 "2021-05-02T11:57:37Z")

</div>

Hi. I am doing an multiplayer shooter. To save the player name and chosen player color i use a savegame. I guess this would work on an built game, but when playing in editor(with multiple clients) only one savegame is c…

---

## [Datasmith import exemple not fully working on 4.26.1](https://forums.unrealengine.com/t/datasmith-import-exemple-not-fully-working-on-4-26-1/212981)

<div class="topic-metadata">

**Author:** [@dpotuznik](https://forums.unrealengine.com/u/dpotuznik)\
**Replies:** 2\
**Last updated:** [May 2, 2021, 1:15am UTC](https://forums.unrealengine.com/t/datasmith-import-exemple-not-fully-working-on-4-26-1/212981 "2021-05-02T01:15:51Z")

</div>

i try to import CAD file with datasmith from the script exemple on documentation i try to filter all the mesh like on the exemple, but the list is empty. but the import work’s well all the object are imported but not…

---

## [Why does {add item to index} go to the last slot?](https://forums.unrealengine.com/t/why-does-add-item-to-index-go-to-the-last-slot/482672)

<div class="topic-metadata">

**Author:** [@BluAstronaut](https://forums.unrealengine.com/u/BluAstronaut)\
**Replies:** 2\
**Last updated:** [April 29, 2021, 9:03pm UTC](https://forums.unrealengine.com/t/why-does-add-item-to-index-go-to-the-last-slot/482672 "2021-04-29T21:03:18Z")

</div>

When I pick up an item it’s supposed to add it to the next empty slot. However, it adds it to the last slot and goes to the top.

---

## [Get selection order](https://forums.unrealengine.com/t/get-selection-order/213636)

<div class="topic-metadata">

**Author:** [@kidintwo3](https://forums.unrealengine.com/u/kidintwo3)\
**Replies:** 1\
**Last updated:** [April 29, 2021, 11:35am UTC](https://forums.unrealengine.com/t/get-selection-order/213636 "2021-04-29T11:35:26Z")

</div>

Is there a way to get the order of the selection in the editor (c++ or python)?

---

## [Can you spawn Box brush in the editor script?](https://forums.unrealengine.com/t/can-you-spawn-box-brush-in-the-editor-script/158123)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9fcfb11a1](https://forums.unrealengine.com/u/anonymous_user_9fcfb11a1)\
**Replies:** 3\
**Last updated:** [April 26, 2021, 2:25pm UTC](https://forums.unrealengine.com/t/can-you-spawn-box-brush-in-the-editor-script/158123 "2021-04-26T14:25:29Z")

</div>

I can’t seem to find it. If anyone here knows how I might spawn one using editor scripting I’d appreciate it!. Thanks

---

## [Permanent buff upgrades?](https://forums.unrealengine.com/t/permanent-buff-upgrades/482362)

<div class="topic-metadata">

**Author:** [@unrealredist](https://forums.unrealengine.com/u/unrealredist)\
**Replies:** 9\
**Last updated:** [April 24, 2021, 2:22pm UTC](https://forums.unrealengine.com/t/permanent-buff-upgrades/482362 "2021-04-24T14:22:50Z")

</div>

I want to make a store that permanently upgrades buffs for example, Increase Fire rate, Projectile damage, etc, I tried… But for weeks I cannot figure out, Heres the code I was using, This is to refresh the saved ga…

---

## [Using Python to create an array](https://forums.unrealengine.com/t/using-python-to-create-an-array/438543)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6356cc2b1](https://forums.unrealengine.com/u/anonymous_user_6356cc2b1)\
**Replies:** 6\
**Last updated:** [April 22, 2021, 6:14pm UTC](https://forums.unrealengine.com/t/using-python-to-create-an-array/438543 "2021-04-22T18:14:28Z")

</div>

Hi all, I’m starting to use Python to script inside Unreal Editor. I’m having a hard time trying to create an array of AssetImportTask. I need it in a assetTools.import\_asset\_tasks() function. Any idea? Many thanks! …

---

## [How can I do this? Please Help.](https://forums.unrealengine.com/t/how-can-i-do-this-please-help/225755)

<div class="topic-metadata">

**Author:** [@YarkinZ](https://forums.unrealengine.com/u/YarkinZ)\
**Replies:** 1\
**Last updated:** [April 22, 2021, 4:16pm UTC](https://forums.unrealengine.com/t/how-can-i-do-this-please-help/225755 "2021-04-22T16:16:44Z")

</div>

I did this but I wanted do like this: how can Io please help.

---

## [Capture all asset references](https://forums.unrealengine.com/t/capture-all-asset-references/120636)

<div class="topic-metadata">

**Author:** [@cgsquirrel2](https://forums.unrealengine.com/u/cgsquirrel2)\
**Replies:** 4\
**Last updated:** [April 21, 2021, 10:12am UTC](https://forums.unrealengine.com/t/capture-all-asset-references/120636 "2021-04-21T10:12:44Z")

</div>

Has anyone had success on getting all the references of an asset? For example in the content browser a simple static mesh asset that has one material with one texture referenced? Maybe someone has a suggestion/ recommen…

---

## [Change  Material slot on LODs in python](https://forums.unrealengine.com/t/change-material-slot-on-lods-in-python/225496)

<div class="topic-metadata">

**Author:** [@segstan](https://forums.unrealengine.com/u/segstan)\
**Replies:** 0\
**Last updated:** [April 20, 2021, 11:52pm UTC](https://forums.unrealengine.com/t/change-material-slot-on-lods-in-python/225496 "2021-04-20T23:52:05Z")

</div>

Hello, I am trying to change a material on the lods of a Statichmesh, in python. I am looking to set that. I couldn’t find any recent ( and working ) example. Is there a way to list the lods and their material ? T…

---

## [Access a variable from editor utility widget when spawning an actor](https://forums.unrealengine.com/t/access-a-variable-from-editor-utility-widget-when-spawning-an-actor/482159)

<div class="topic-metadata">

**Author:** [@Mr.Neutrino](https://forums.unrealengine.com/u/Mr.Neutrino)\
**Replies:** 2\
**Last updated:** [April 19, 2021, 1:34pm UTC](https://forums.unrealengine.com/t/access-a-variable-from-editor-utility-widget-when-spawning-an-actor/482159 "2021-04-19T13:34:24Z")

</div>

Hi, I am new to unreal engine and the version that I use is 4.26. The issue is about the communication between an Editor Utility Widget and an Actor, most likely. I am struggling with this for days now. The plan: If a …

---

## [Maya LiveView to Unreal](https://forums.unrealengine.com/t/maya-liveview-to-unreal/224704)

<div class="topic-metadata">

**Author:** [@Daraminix](https://forums.unrealengine.com/u/Daraminix)\
**Replies:** 1\
**Last updated:** [April 19, 2021, 10:29am UTC](https://forums.unrealengine.com/t/maya-liveview-to-unreal/224704 "2021-04-19T10:29:51Z")

</div>

Hi, I’m currently diving in the unreal api to and I have a hard time getting my head around it. What i’m trying to do is from Maya, telling unreal to initiate a live link connection, creating a cineCameraActor and add …

---

## [Listen for Input & Getting Mouse Position (world space)](https://forums.unrealengine.com/t/listen-for-input-getting-mouse-position-world-space/124806)

<div class="topic-metadata">

**Author:** [@ste1nar](https://forums.unrealengine.com/u/ste1nar)\
**Replies:** 1\
**Last updated:** [April 15, 2021, 4:38pm UTC](https://forums.unrealengine.com/t/listen-for-input-getting-mouse-position-world-space/124806 "2021-04-15T16:38:43Z")

</div>

This is really my first hour looking into editor scripting. -How can I make a Placed Editor Utility Base listen for input, mouse and keyboard? -Find where the mouse cursor is located in world space? Get Mouse Position …

---

## [Python: Placing actors based on height of other actors](https://forums.unrealengine.com/t/python-placing-actors-based-on-height-of-other-actors/213332)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7eede178](https://forums.unrealengine.com/u/anonymous_user_7eede178)\
**Replies:** 2\
**Last updated:** [April 15, 2021, 1:00pm UTC](https://forums.unrealengine.com/t/python-placing-actors-based-on-height-of-other-actors/213332 "2021-04-15T13:00:24Z")

</div>

Hi everyone, I am currently developing in the Unreal Editor with Python. The big goal of my project is placing human actors on top of other actors in my world, like a human on a baseball field, a tribune, a bench, … aut…

---

## [Python: Mute track in Sequence](https://forums.unrealengine.com/t/python-mute-track-in-sequence/481971)

<div class="topic-metadata">

**Author:** [@tearcandy](https://forums.unrealengine.com/u/tearcandy)\
**Replies:** 0\
**Last updated:** [April 15, 2021, 11:23am UTC](https://forums.unrealengine.com/t/python-mute-track-in-sequence/481971 "2021-04-15T11:23:51Z")

</div>

Hi all. I’m trying to mute spawnable. But, it seems there is no way to do this. Can Cmd or widget blueprint do this? Best regards.

---

## [Python: In sequencer "set spawnable level" to spawnables](https://forums.unrealengine.com/t/python-in-sequencer-set-spawnable-level-to-spawnables/481969)

<div class="topic-metadata">

**Author:** [@tearcandy](https://forums.unrealengine.com/u/tearcandy)\
**Replies:** 0\
**Last updated:** [April 15, 2021, 11:02am UTC](https://forums.unrealengine.com/t/python-in-sequencer-set-spawnable-level-to-spawnables/481969 "2021-04-15T11:02:31Z")

</div>

I’m trying to “set spawnable level” to spawnable in sequence. But it seems no way to do this using python. Any Suggestions? Thanks in advance.

---

## [How to display array values in a get text widget](https://forums.unrealengine.com/t/how-to-display-array-values-in-a-get-text-widget/481961)

<div class="topic-metadata">

**Author:** [@M\_SUHAYL](https://forums.unrealengine.com/u/M_SUHAYL)\
**Replies:** 4\
**Last updated:** [April 15, 2021, 10:32am UTC](https://forums.unrealengine.com/t/how-to-display-array-values-in-a-get-text-widget/481961 "2021-04-15T10:32:56Z")

</div>

It would make sense to use a list view for that, seeing as it is a list. Here’s a vid about that, because saying it’s not obvious is an understatement:

---

## [Editor crash in change of using variable type in blueprint](https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200)

<div class="topic-metadata">

**Author:** [@jse140591](https://forums.unrealengine.com/u/jse140591)\
**Replies:** 6\
**Last updated:** [April 14, 2021, 5:40pm UTC](https://forums.unrealengine.com/t/editor-crash-in-change-of-using-variable-type-in-blueprint/466200 "2021-04-14T17:40:28Z")

</div>

Hello everyone. I made a type change in a variable (Color → LinearColor) that I was already using in some nodes in a blueprint. When saving and compiling, the editor crashed. Now, when trying to open the editor, it is …

---

## [Get LOD sections in python?](https://forums.unrealengine.com/t/get-lod-sections-in-python/213368)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f9d7b6ce](https://forums.unrealengine.com/u/anonymous_user_f9d7b6ce)\
**Replies:** 0\
**Last updated:** [April 14, 2021, 4:55pm UTC](https://forums.unrealengine.com/t/get-lod-sections-in-python/213368 "2021-04-14T16:55:24Z")

</div>

Hello, I’m trying to find the LOD data from a Skeletal Mesh through python. I am using the following code to find precision UVs: for i in sk.get\_editor\_property("lod\_info"): print i.get\_editor\_property("build\_sett…

---

## [How to use python in Editor to build lighting and package project?](https://forums.unrealengine.com/t/how-to-use-python-in-editor-to-build-lighting-and-package-project/443827)

<div class="topic-metadata">

**Author:** [@Weibye](https://forums.unrealengine.com/u/Weibye)\
**Replies:** 5\
**Last updated:** [April 14, 2021, 7:52am UTC](https://forums.unrealengine.com/t/how-to-use-python-in-editor-to-build-lighting-and-package-project/443827 "2021-04-14T07:52:03Z")

</div>

Is it even possible? I’m trying to look into the concept of using Python in editor to create levels, setup assets, build lights, and finally build the package. (Looking for quick turnaround from customer assets to final…

---

## [DataPrep python example?](https://forums.unrealengine.com/t/dataprep-python-example/212994)

<div class="topic-metadata">

**Author:** [@dpotuznik](https://forums.unrealengine.com/u/dpotuznik)\
**Replies:** 0\
**Last updated:** [April 12, 2021, 10:20pm UTC](https://forums.unrealengine.com/t/dataprep-python-example/212994 "2021-04-12T22:20:05Z")

</div>

hi, i need to filter a large CAD asset (remove, replace, etc…) and store on database i am looking for some exemple how to start using dataprep with the python API. thank you for your help. Best Regards Daniel

---

## [Save Game interger array always returns 0](https://forums.unrealengine.com/t/save-game-interger-array-always-returns-0/481781)

<div class="topic-metadata">

**Author:** [@cavesrd](https://forums.unrealengine.com/u/cavesrd)\
**Replies:** 3\
**Last updated:** [April 12, 2021, 2:51pm UTC](https://forums.unrealengine.com/t/save-game-interger-array-always-returns-0/481781 "2021-04-12T14:51:52Z")

</div>

I save and load some Interger array variables using Save Game, the same way as all the other variables in my project, which works completley fine. Each array saves and loads correctly while playing, but upon starting a n…

---

## [Return an array of arrays in python script](https://forums.unrealengine.com/t/return-an-array-of-arrays-in-python-script/211903)

<div class="topic-metadata">

**Author:** [@MagicznaFlet6](https://forums.unrealengine.com/u/MagicznaFlet6)\
**Replies:** 2\
**Last updated:** [April 12, 2021, 6:25am UTC](https://forums.unrealengine.com/t/return-an-array-of-arrays-in-python-script/211903 "2021-04-12T06:25:37Z")

</div>

Anyone know how to return an array of arrays from a python script? I know that the only way to do this in BP is to make a custom struct/class that has an array inside it but how to approach it in python? I tried imp…

---

## [I want a simple way to implement a slot-based save system using blueprints, but only saving that player's position for now.](https://forums.unrealengine.com/t/i-want-a-simple-way-to-implement-a-slot-based-save-system-using-blueprints-but-only-saving-that-players-position-for-now/481731)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0f4a5b2e](https://forums.unrealengine.com/u/anonymous_user_0f4a5b2e)\
**Replies:** 4\
**Last updated:** [April 11, 2021, 12:49pm UTC](https://forums.unrealengine.com/t/i-want-a-simple-way-to-implement-a-slot-based-save-system-using-blueprints-but-only-saving-that-players-position-for-now/481731 "2021-04-11T12:49:41Z")

</div>

so… a little of what I am working on. I am working on a 3d RPG, and I have been looking for tutorials for a slot-based save system using blueprints. every tutorial that had come up on youtube was based on other systems l…

---

## [Best practices for using debug helpers in editor?](https://forums.unrealengine.com/t/best-practices-for-using-debug-helpers-in-editor/212586)

<div class="topic-metadata">

**Author:** [@TheChi](https://forums.unrealengine.com/u/TheChi)\
**Replies:** 0\
**Last updated:** [April 10, 2021, 9:28pm UTC](https://forums.unrealengine.com/t/best-practices-for-using-debug-helpers-in-editor/212586 "2021-04-10T21:28:20Z")

</div>

Hello! I’m currently cutting my teeth on learning how to more officially script editor utilities beyond shoving a lot of stuff into the constructor script. My current needs require using a lot of debug helpers to show wh…

---

## [Can't load bool array for game instance at game start in c++](https://forums.unrealengine.com/t/cant-load-bool-array-for-game-instance-at-game-start-in-c/481121)

<div class="topic-metadata">

**Author:** [@CanadianCheesus](https://forums.unrealengine.com/u/CanadianCheesus)\
**Replies:** 3\
**Last updated:** [April 10, 2021, 2:29pm UTC](https://forums.unrealengine.com/t/cant-load-bool-array-for-game-instance-at-game-start-in-c/481121 "2021-04-10T14:29:19Z")

</div>

I have spent hours rewriting my code into all sorts of different shapes and sizes but I can’t figure out how to save an array of booleans in c++. I have just followed the “Saving and Loading Your Game” documentation as c…

---

## [How can I make instances of my bp actor class have arrays/variables that count only for THOSE instances?](https://forums.unrealengine.com/t/how-can-i-make-instances-of-my-bp-actor-class-have-arrays-variables-that-count-only-for-those-instances/481667)

<div class="topic-metadata">

**Author:** [@gatosilencio](https://forums.unrealengine.com/u/gatosilencio)\
**Replies:** 9\
**Last updated:** [April 9, 2021, 9:11pm UTC](https://forums.unrealengine.com/t/how-can-i-make-instances-of-my-bp-actor-class-have-arrays-variables-that-count-only-for-those-instances/481667 "2021-04-09T21:11:35Z")

</div>

I’ve made ‘volumes’ with traces that report how many and which plants are in the volume (stored in an array). I assumed that if i simply dragged out 10 of these volumes they’d each individually store these plant actors i…

[Previous page](https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=35)

[Next page](https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=37)
