# Editor Scripting

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

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

**Page:** 62

---

## [Access None error. Camera controls not working.](https://forums.unrealengine.com/t/access-none-error-camera-controls-not-working/221058)

<div class="topic-metadata">

**Author:** [@Rawtoast13](https://forums.unrealengine.com/u/Rawtoast13)\
**Replies:** 0\
**Last updated:** [July 18, 2019, 2:53am UTC](https://forums.unrealengine.com/t/access-none-error-camera-controls-not-working/221058 "2019-07-18T02:53:34Z")

</div>

So I had decided to try out something new in UE4. I wanted to see if I could make a RTS top down style camera just for the lols. I don’t know too much about coding and blueprints so I looked up a tutorial. Luckily I foun…

---

## [\-ExecutePythonScript vs -run=pythonscript vs ON startup SpawnActorFromObject Discrepancies](https://forums.unrealengine.com/t/executepythonscript-vs-run-pythonscript-vs-on-startup-spawnactorfromobject-discrepancies/128849)

<div class="topic-metadata">

**Author:** [@straightdiesel](https://forums.unrealengine.com/u/straightdiesel)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 7:53pm UTC](https://forums.unrealengine.com/t/executepythonscript-vs-run-pythonscript-vs-on-startup-spawnactorfromobject-discrepancies/128849 "2019-07-17T19:53:26Z")

</div>

I’m going bonkers and could use some help. I have a script that works (it will add an asset to the world) -IF I run it from the output log command line in editor -IF I run it as a startup script for the project it do…

---

## [sound cue graph creation](https://forums.unrealengine.com/t/sound-cue-graph-creation/128833)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1d736ae51](https://forums.unrealengine.com/u/anonymous_user_1d736ae51)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 12:38pm UTC](https://forums.unrealengine.com/t/sound-cue-graph-creation/128833 "2019-07-17T12:38:55Z")

</div>

Hello, is there any away to construct sound cue graph with py? F.e. add delay, loop, etc. nodes and connect all of them to where they needs to be ) Thx!

---

## [How do I remove just one child from horizontal box?](https://forums.unrealengine.com/t/how-do-i-remove-just-one-child-from-horizontal-box/452274)

<div class="topic-metadata">

**Author:** [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Replies:** 6\
**Last updated:** [July 15, 2019, 8:57am UTC](https://forums.unrealengine.com/t/how-do-i-remove-just-one-child-from-horizontal-box/452274 "2019-07-15T08:57:43Z")

</div>

I have a non-stackable pickup in my world. That means every time I pick up one item, a new slot appears in the horizontal box of the inventory widget (all slots are the same widget since it’s related to a specific item, …

---

## [Undo Python Script is not working](https://forums.unrealengine.com/t/undo-python-script-is-not-working/442991)

<div class="topic-metadata">

**Author:** [@SebaSopp](https://forums.unrealengine.com/u/SebaSopp)\
**Replies:** 2\
**Last updated:** [July 11, 2019, 1:44pm UTC](https://forums.unrealengine.com/t/undo-python-script-is-not-working/442991 "2019-07-11T13:44:00Z")

</div>

The description here seems very clearly, but my test code is not working. The undo entry “My Transaction Test” is in the Undo-History, but it is not undoing the translation. Anyone can help? import unreal actors = unr…

---

## [How to "catalogue" / "classify" all files in a project?](https://forums.unrealengine.com/t/how-to-catalogue-classify-all-files-in-a-project/128554)

<div class="topic-metadata">

**Author:** [@skunkiferous](https://forums.unrealengine.com/u/skunkiferous)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 5:49pm UTC](https://forums.unrealengine.com/t/how-to-catalogue-classify-all-files-in-a-project/128554 "2019-07-10T17:49:23Z")

</div>

Hi. Can I use the editor scripting, to “iterate” over all the files in a project, and extract their file type, and some basic meta-data, like the size, and for example the resolution for a texture? And then I would expo…

---

## ["Create Project"/"Add To Project" Vault Asset from the Command-Line?](https://forums.unrealengine.com/t/create-project-add-to-project-vault-asset-from-the-command-line/128553)

<div class="topic-metadata">

**Author:** [@skunkiferous](https://forums.unrealengine.com/u/skunkiferous)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 5:35pm UTC](https://forums.unrealengine.com/t/create-project-add-to-project-vault-asset-from-the-command-line/128553 "2019-07-10T17:35:54Z")

</div>

Hi. I hope this is the right place for this question… How would you automate the “Create Project” / “Add To Project” action for assets in my Vault, so I can bulk-create projects from the command-line? The script/batch-…

---

## [Custom K2Node issues](https://forums.unrealengine.com/t/custom-k2node-issues/128523)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c1fd20ef](https://forums.unrealengine.com/u/anonymous_user_c1fd20ef)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 7:23am UTC](https://forums.unrealengine.com/t/custom-k2node-issues/128523 "2019-07-10T07:23:08Z")

</div>

Hi guys, first timer here, so be gentle :stuck\_out\_tongue: I’m working on project right now with several custom plugins, and I need to create a new K2Node as part of one specific plugin… My project has a Game and a Ga…

---

## [Event Sequencer Not triggered](https://forums.unrealengine.com/t/event-sequencer-not-triggered/220968)

<div class="topic-metadata">

**Author:** [@blackantmaster](https://forums.unrealengine.com/u/blackantmaster)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 8:54am UTC](https://forums.unrealengine.com/t/event-sequencer-not-triggered/220968 "2019-07-09T08:54:10Z")

</div>

Hello, I did a really simple sequencer where doors are opening, after a door is open, an event should be fired to spawn characters. it has already been working, but now, i tryed to improve the sequence and no Event is …

---

## [Pawn removing itself from a called array, and I don't know why.](https://forums.unrealengine.com/t/pawn-removing-itself-from-a-called-array-and-i-dont-know-why/127033)

<div class="topic-metadata">

**Author:** [@salvadorhdez001](https://forums.unrealengine.com/u/salvadorhdez001)\
**Replies:** 2\
**Last updated:** [July 9, 2019, 3:01am UTC](https://forums.unrealengine.com/t/pawn-removing-itself-from-a-called-array-and-i-dont-know-why/127033 "2019-07-09T03:01:24Z")

</div>

First of all, I think this is where I would post issues such as these, if not forgive me and let me know where I should please. Now, for this I have this pawn (Known as A\_Transport) grab an array in the Player’s bluepri…

---

## [Get input output connections](https://forums.unrealengine.com/t/get-input-output-connections/220962)

<div class="topic-metadata">

**Author:** [@Octoprophet](https://forums.unrealengine.com/u/Octoprophet)\
**Replies:** 0\
**Last updated:** [July 9, 2019, 1:04am UTC](https://forums.unrealengine.com/t/get-input-output-connections/220962 "2019-07-09T01:04:38Z")

</div>

I am trying to create a plug-in that exports the expression graph of a material as a JSON file in a way such that a similar shader can be re-constructed in Maya. I am working with the C++ api but Python would work too. …

---

## [Python: Create custom-shape volumes in Unreal directly (via geometry editing?)](https://forums.unrealengine.com/t/python-create-custom-shape-volumes-in-unreal-directly-via-geometry-editing/128449)

<div class="topic-metadata">

**Author:** [@kakyoism](https://forums.unrealengine.com/u/kakyoism)\
**Replies:** 0\
**Last updated:** [July 8, 2019, 5:06am UTC](https://forums.unrealengine.com/t/python-create-custom-shape-volumes-in-unreal-directly-via-geometry-editing/128449 "2019-07-08T05:06:18Z")

</div>

I learned from this post: https://answers.unrealengine.com/que…er-volume.html that to have a custom-shaped volume, I have to use the geometry-editing mode on a default cubic volume. Correct me if I’m wrong, please. I’d…

---

## [Trying to import multiple assets from single file](https://forums.unrealengine.com/t/trying-to-import-multiple-assets-from-single-file/128159)

<div class="topic-metadata">

**Author:** [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Replies:** 2\
**Last updated:** [July 6, 2019, 2:03pm UTC](https://forums.unrealengine.com/t/trying-to-import-multiple-assets-from-single-file/128159 "2019-07-06T14:03:17Z")

</div>

I’m modifying existing plugin that used to import single model from .vox file but after format was updated it can now store multiple models, like .fbx. So far I’ve managed to create multiple static meshes, they show up …

---

## [Error message that I DON'T Understand](https://forums.unrealengine.com/t/error-message-that-i-dont-understand/451722)

<div class="topic-metadata">

**Author:** [@NateOlson17](https://forums.unrealengine.com/u/NateOlson17)\
**Replies:** 6\
**Last updated:** [July 5, 2019, 9:06pm UTC](https://forums.unrealengine.com/t/error-message-that-i-dont-understand/451722 "2019-07-05T21:06:16Z")

</div>

A video of the error I am getting is here: Untitled1 - YouTube (the video also shows what I describe in the following paragraph) What is supposed to happen: I press E while standing over an item (a pepsi can). The game …

---

## [Implement Face Emotion/Gender/Age/Ethnical Detection into Unreal Engine](https://forums.unrealengine.com/t/implement-face-emotion-gender-age-ethnical-detection-into-unreal-engine/128327)

<div class="topic-metadata">

**Author:** [@ChillaaBro](https://forums.unrealengine.com/u/ChillaaBro)\
**Replies:** 0\
**Last updated:** [July 4, 2019, 3:19pm UTC](https://forums.unrealengine.com/t/implement-face-emotion-gender-age-ethnical-detection-into-unreal-engine/128327 "2019-07-04T15:19:37Z")

</div>

Hello, I am new in Unreal Engine and Machine Learning. I want to know if it is possible to implement Face detection modules like emotion/gender/Age/Race detection into Unreal Engine. There are different modules out th…

---

## [Creating new materials \[PYTHON\]](https://forums.unrealengine.com/t/creating-new-materials-python/128206)

<div class="topic-metadata">

**Author:** [@KaitoDBM](https://forums.unrealengine.com/u/KaitoDBM)\
**Replies:** 1\
**Last updated:** [July 1, 2019, 10:13pm UTC](https://forums.unrealengine.com/t/creating-new-materials-python/128206 "2019-07-01T22:13:42Z")

</div>

Hi! First of all, sorry if already exists a topic with this question, I didn’t find it. Actually I’m a little bit lost in the python API so, what is the best way to create a new material or material instance? Thanks i…

---

## [set material tessellation mode via python](https://forums.unrealengine.com/t/set-material-tessellation-mode-via-python/451550)

<div class="topic-metadata">

**Author:** [@noicevstime](https://forums.unrealengine.com/u/noicevstime)\
**Replies:** 0\
**Last updated:** [July 1, 2019, 2:25pm UTC](https://forums.unrealengine.com/t/set-material-tessellation-mode-via-python/451550 "2019-07-01T14:25:22Z")

</div>

Hi, Is there a way to set material’s D3D11Tessellation Mode via Python? I’ve tried two ways for far but failed. mat\_selected.set\_editor\_property("d3d11\_tessellation\_mode", 2) LogPython: Error: TypeError: Material:…

---

## [Class reference gets destroyed before finished spawning Actor (which uses it in exposed variable)](https://forums.unrealengine.com/t/class-reference-gets-destroyed-before-finished-spawning-actor-which-uses-it-in-exposed-variable/451471)

<div class="topic-metadata">

**Author:** [@YannouRavoet](https://forums.unrealengine.com/u/YannouRavoet)\
**Replies:** 1\
**Last updated:** [June 30, 2019, 9:12am UTC](https://forums.unrealengine.com/t/class-reference-gets-destroyed-before-finished-spawning-actor-which-uses-it-in-exposed-variable/451471 "2019-06-30T09:12:28Z")

</div>

I just started multiplayer blueprinting and wanted to implement pickups and weapons. I tried making a Pickup Actor that has a class reference to a PickupItem Actor (for example a Weapon). Picking up the weapon works. Ho…

---

## [How can I get and edit a FString inside a Struct inside a TArray using UProperties](https://forums.unrealengine.com/t/how-can-i-get-and-edit-a-fstring-inside-a-struct-inside-a-tarray-using-uproperties/451422)

<div class="topic-metadata">

**Author:** [@YamikaDesu](https://forums.unrealengine.com/u/YamikaDesu)\
**Replies:** 0\
**Last updated:** [June 28, 2019, 2:41pm UTC](https://forums.unrealengine.com/t/how-can-i-get-and-edit-a-fstring-inside-a-struct-inside-a-tarray-using-uproperties/451422 "2019-06-28T14:41:33Z")

</div>

Hello, I have these structs: USTRUCT(BlueprintType) struct FBaseCreateEditVariable { GENERATED\_USTRUCT\_BODY() public: FBaseCreateEditVariable() {} UPROPERTY(EditAnywhere, BlueprintReadWrite, meta = (DisplayName = "v…

---

## [unreal.OnRenderMovieStoppedが呼び出されません](https://forums.unrealengine.com/t/unreal-onrendermoviestopped/451397)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_007f9510](https://forums.unrealengine.com/u/anonymous_user_007f9510)\
**Replies:** 6\
**Last updated:** [June 28, 2019, 8:32am UTC](https://forums.unrealengine.com/t/unreal-onrendermoviestopped/451397 "2019-06-28T08:32:55Z")

</div>

Python Editor Script Pluginを用いてLevelSequencerから静止画等の書き出しを行おうとした際、unreal.SequencerTools.render\_movieの第二引数で設定したコールバックがレンダリング終了時に呼び出されません。 こちらは既知の不具合でしょうか？ コードは以下の通りです。 def finish\_function(success): print("レンダリングが終了し…

---

## [unable to set d3d11\_esselation\_mode via python](https://forums.unrealengine.com/t/unable-to-set-d3d11_esselation_mode-via-python/128076)

<div class="topic-metadata">

**Author:** [@noicevstime](https://forums.unrealengine.com/u/noicevstime)\
**Replies:** 0\
**Last updated:** [June 27, 2019, 2:50pm UTC](https://forums.unrealengine.com/t/unable-to-set-d3d11_esselation_mode-via-python/128076 "2019-06-27T14:50:26Z")

</div>

Hi, I tried to set d3d11\_tessellation\_mode for materials via Python. In a simple test, with a material’s reference path saved in mat\_asset, I tried tesse\_mode = mat\_asset.set\_editor\_property("d3d11\_tessellation\_mode"…

---

## [unreal.OnRenderMovieStoppedが呼び出されません](https://forums.unrealengine.com/t/unreal-onrendermoviestopped/451366)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_007f9510](https://forums.unrealengine.com/u/anonymous_user_007f9510)\
**Replies:** 0\
**Last updated:** [June 27, 2019, 2:07pm UTC](https://forums.unrealengine.com/t/unreal-onrendermoviestopped/451366 "2019-06-27T14:07:44Z")

</div>

Python Editor Script Pluginを用いてLevelSequencerから静止画等の書き出しを行おうとした際、unreal.SequencerTools.render\_movieの第二引数で設定したコールバックがレンダリング終了時に呼び出されません。 こちらは既知の不具合でしょうか？ コードは以下の通りです。 def finish\_function(success): print("レンダリングが終了し…

---

## [Utility widget list view causing crash between map loads.](https://forums.unrealengine.com/t/utility-widget-list-view-causing-crash-between-map-loads/127996)

<div class="topic-metadata">

**Author:** [@JDStrawesome](https://forums.unrealengine.com/u/JDStrawesome)\
**Replies:** 3\
**Last updated:** [June 26, 2019, 8:52pm UTC](https://forums.unrealengine.com/t/utility-widget-list-view-causing-crash-between-map-loads/127996 "2019-06-26T20:52:15Z")

</div>

I have encountered an issue with a utility panel using a listview in a blueprint utility widget. I believe I’ve definitely narrowed it down to the listview. I have a utility widget panel that populates a list view if a…

---

## [Manually Extracting pose data from AnimComposite](https://forums.unrealengine.com/t/manually-extracting-pose-data-from-animcomposite/128036)

<div class="topic-metadata">

**Author:** [@JohnHudeski](https://forums.unrealengine.com/u/JohnHudeski)\
**Replies:** 0\
**Last updated:** [June 26, 2019, 2:55pm UTC](https://forums.unrealengine.com/t/manually-extracting-pose-data-from-animcomposite/128036 "2019-06-26T14:55:57Z")

</div>

Hi, I am writing an application that builds a UAnimComposite from a list of UAnimSequence and then analyzes poses from composite animations Unfortunately, I have run into a confusing snag and the errors are not well def…

---

## [Python - set\_editor\_property Directional Light](https://forums.unrealengine.com/t/python-set_editor_property-directional-light/127898)

<div class="topic-metadata">

**Author:** [@Teriander](https://forums.unrealengine.com/u/Teriander)\
**Replies:** 3\
**Last updated:** [June 24, 2019, 7:42pm UTC](https://forums.unrealengine.com/t/python-set_editor_property-directional-light/127898 "2019-06-24T19:42:25Z")

</div>

Is it possible in Python to use “set\_editor\_property” on a Directional Light? I’ve tried: .set\_editor\_property(“Intensity”, 100) But this doesn’t work. Nor does removing the quotes. Any suggestions?

---

## [Any way of getting the first person who imported an asset via Editor scripting blueprints?](https://forums.unrealengine.com/t/any-way-of-getting-the-first-person-who-imported-an-asset-via-editor-scripting-blueprints/127362)

<div class="topic-metadata">

**Author:** [@Narsoi](https://forums.unrealengine.com/u/Narsoi)\
**Replies:** 1\
**Last updated:** [June 24, 2019, 8:56am UTC](https://forums.unrealengine.com/t/any-way-of-getting-the-first-person-who-imported-an-asset-via-editor-scripting-blueprints/127362 "2019-06-24T08:56:00Z")

</div>

Hello, I’m trying to get the “owner” of an asset by getting who imported/uploaded the asset first in the content browser. Is there any way of doing that using the new editor scripting in blueprints? P.S: Without addin…

---

## [A Good Source for Learning Python with Unreal](https://forums.unrealengine.com/t/a-good-source-for-learning-python-with-unreal/127841)

<div class="topic-metadata">

**Author:** [@Teriander](https://forums.unrealengine.com/u/Teriander)\
**Replies:** 3\
**Last updated:** [June 24, 2019, 8:54am UTC](https://forums.unrealengine.com/t/a-good-source-for-learning-python-with-unreal/127841 "2019-06-24T08:54:29Z")

</div>

Does anyone know a great source or community for learning Python with Unreal? I have a lot of questions and unfortunately this forum appears to be quiet dead on the topic. If anyone has an alternative suggestion that w…

---

## [Dedicated Server 4.22](https://forums.unrealengine.com/t/dedicated-server-4-22/127922)

<div class="topic-metadata">

**Author:** [@LGD\_Overlord](https://forums.unrealengine.com/u/LGD_Overlord)\
**Replies:** 0\
**Last updated:** [June 24, 2019, 7:54am UTC](https://forums.unrealengine.com/t/dedicated-server-4-22/127922 "2019-06-24T07:54:36Z")

</div>

Hi, It’s been a month now that I’m trying to compile my project. Unfortunately I am a beginner and I am French. When I compile my project I get the following error: Log.WriteException: ===============================…

---

## [Accessing properties of a TSubclassOf without having to instantiate an Object](https://forums.unrealengine.com/t/accessing-properties-of-a-tsubclassof-without-having-to-instantiate-an-object/451024)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4eae6b42](https://forums.unrealengine.com/u/anonymous_user_4eae6b42)\
**Replies:** 2\
**Last updated:** [June 22, 2019, 12:14pm UTC](https://forums.unrealengine.com/t/accessing-properties-of-a-tsubclassof-without-having-to-instantiate-an-object/451024 "2019-06-22T12:14:53Z")

</div>

Hi guys, i made an Inventory System in my C++ project where I have a class “Item”. My actual items are then blueprint classes derived from my C++ class “Item”, such that I can modify the name and other factors manually …

---

## [Python - Renaming Object On Spawn](https://forums.unrealengine.com/t/python-renaming-object-on-spawn/127837)

<div class="topic-metadata">

**Author:** [@Teriander](https://forums.unrealengine.com/u/Teriander)\
**Replies:** 2\
**Last updated:** [June 21, 2019, 9:58pm UTC](https://forums.unrealengine.com/t/python-renaming-object-on-spawn/127837 "2019-06-21T21:58:09Z")

</div>

I have a sun light that spawns and it works great. But it defaults to the name “DirectionalLight”. How can I change this spawn naming at runtime? This is my current function: def spawn\_sun(): sun\_class = ue.Dire…

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

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