# Editor Scripting

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

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

**Page:** 20

---

## [python command to get the contents of a folder in the content browser?](https://forums.unrealengine.com/t/python-command-to-get-the-contents-of-a-folder-in-the-content-browser/149031)

<div class="topic-metadata">

**Author:** [@darkczar](https://forums.unrealengine.com/u/darkczar)\
**Replies:** 2\
**Last updated:** [December 30, 2022, 2:33am UTC](https://forums.unrealengine.com/t/python-command-to-get-the-contents-of-a-folder-in-the-content-browser/149031 "2022-12-30T02:33:00Z")

</div>

I want to process a bunch of particle systems with my python script. Is there a python command in the unreal module that will return the contents of a given folder of the contents browser?

---

## [How to run panoramic capture multiple times in a row](https://forums.unrealengine.com/t/how-to-run-panoramic-capture-multiple-times-in-a-row/734563)

<div class="topic-metadata">

**Author:** [@Paladond](https://forums.unrealengine.com/u/Paladond)\
**Replies:** 0\
**Last updated:** [December 23, 2022, 12:38pm UTC](https://forums.unrealengine.com/t/how-to-run-panoramic-capture-multiple-times-in-a-row/734563 "2022-12-23T12:38:05Z")

</div>

I am using a panorama render plugin. I use this command to start the game To stop the game I use this How to track the moment of stopping and immediately starting a new render in one script? I tried to use thread…

---

## [Blueprint Default Light](https://forums.unrealengine.com/t/blueprint-default-light/613581)

<div class="topic-metadata">

**Author:** [@Rasheed\_Hashmi](https://forums.unrealengine.com/u/Rasheed_Hashmi)\
**Replies:** 4\
**Last updated:** [December 19, 2022, 9:21am UTC](https://forums.unrealengine.com/t/blueprint-default-light/613581 "2022-12-19T09:21:29Z")

</div>

I have CAD assembly which is created using blueprint having many static mesh components. when I open my assembly in Blueprint window , it shows a default light . How to switch of or delete that default light in Bluepri…

---

## [Unreal editor exception\_access\_voilation Crash](https://forums.unrealengine.com/t/unreal-editor-exception-access-voilation-crash/729580)

<div class="topic-metadata">

**Author:** [@Shadowfenrirr](https://forums.unrealengine.com/u/Shadowfenrirr)\
**Replies:** 2\
**Last updated:** [December 18, 2022, 8:32pm UTC](https://forums.unrealengine.com/t/unreal-editor-exception-access-voilation-crash/729580 "2022-12-18T20:32:30Z")

</div>

Hello all, So, I’m new to unreal editor, and I’ve installed the voxel plugin to generate a procedural voxel world. I’m using Unreal 5.1 for it, and whenever I stop the simulation, I end up with Exception\_access\_Violati…

---

## [I am trying to create a plugin in a different location](https://forums.unrealengine.com/t/i-am-trying-to-create-a-plugin-in-a-different-location/727621)

<div class="topic-metadata">

**Author:** [@devin\_gaming](https://forums.unrealengine.com/u/devin_gaming)\
**Replies:** 0\
**Last updated:** [December 13, 2022, 8:09pm UTC](https://forums.unrealengine.com/t/i-am-trying-to-create-a-plugin-in-a-different-location/727621 "2022-12-13T20:09:37Z")

</div>

2.26 I am trying to create a plugin in a different location

---

## [Is it possible to Bake Decals into mesh textures like the way we bake lighting to lightmaps?](https://forums.unrealengine.com/t/is-it-possible-to-bake-decals-into-mesh-textures-like-the-way-we-bake-lighting-to-lightmaps/724745)

<div class="topic-metadata">

**Author:** [@BestMichaelEver](https://forums.unrealengine.com/u/BestMichaelEver)\
**Replies:** 1\
**Last updated:** [December 9, 2022, 1:33pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-bake-decals-into-mesh-textures-like-the-way-we-bake-lighting-to-lightmaps/724745 "2022-12-09T13:33:58Z")

</div>

A feature like this will help a lot, especially in this Megascans era.

---

## [Editor Scripting - Remove Animation Curve horribly slow](https://forums.unrealengine.com/t/editor-scripting-remove-animation-curve-horribly-slow/724150)

<div class="topic-metadata">

**Author:** [@bartekp](https://forums.unrealengine.com/u/bartekp)\
**Replies:** 0\
**Last updated:** [December 8, 2022, 4:17pm UTC](https://forums.unrealengine.com/t/editor-scripting-remove-animation-curve-horribly-slow/724150 "2022-12-08T16:17:16Z")

</div>

I’m building an Editor Utility Blueprint which is supposed to duplicate selected Animation Sequences and remove curves based on their names. The idea is to eventually split prerecorded animations with about 1300 curves i…

---

## [Groom asset edit freeze 5.1](https://forums.unrealengine.com/t/groom-asset-edit-freeze-5-1/723770)

<div class="topic-metadata">

**Author:** [@Daluz](https://forums.unrealengine.com/u/Daluz)\
**Replies:** 0\
**Last updated:** [December 8, 2022, 3:33am UTC](https://forums.unrealengine.com/t/groom-asset-edit-freeze-5-1/723770 "2022-12-08T03:33:45Z")

</div>

When you click on groom to edidt the file on 5.1 it freezes everytime.

---

## [Python Scripted Asset Instancing and Placement from Maya almost there](https://forums.unrealengine.com/t/python-scripted-asset-instancing-and-placement-from-maya-almost-there/149421)

<div class="topic-metadata">

**Author:** [@mad\_guru](https://forums.unrealengine.com/u/mad_guru)\
**Replies:** 0\
**Last updated:** [August 19, 2020, 1:09am UTC](https://forums.unrealengine.com/t/python-scripted-asset-instancing-and-placement-from-maya-almost-there/149421 "2020-08-19T01:09:52Z")

</div>

Hi, I’m learning and building a workflow for my first Unreal project. I’m bringing in an environment from Maya, which I created with modular pieces that all have their pivot at the origin as you can see below in Maya. …

---

## [How on earth do I get a 'factory' to create a class or subclass?](https://forums.unrealengine.com/t/how-on-earth-do-i-get-a-factory-to-create-a-class-or-subclass/541403)

<div class="topic-metadata">

**Author:** [@Street\_Mage](https://forums.unrealengine.com/u/Street_Mage)\
**Replies:** 7\
**Last updated:** [December 5, 2022, 8:09am UTC](https://forums.unrealengine.com/t/how-on-earth-do-i-get-a-factory-to-create-a-class-or-subclass/541403 "2022-12-05T08:09:10Z")

</div>

I want to do this with python or blueprints or both. With editor tools I can only create a duplicate but I’m not sure where or how to get a factory just to make classes.

---

## [Automate Bake To ControlRig function (BP/Python/C++)](https://forums.unrealengine.com/t/automate-bake-to-controlrig-function-bp-python-c/238390)

<div class="topic-metadata">

**Author:** [@AyanMiru](https://forums.unrealengine.com/u/AyanMiru)\
**Replies:** 2\
**Last updated:** [November 28, 2022, 6:42am UTC](https://forums.unrealengine.com/t/automate-bake-to-controlrig-function-bp-python-c/238390 "2022-11-28T06:42:02Z")

</div>

I’m looking for a way to access Bake To ControlRig function for automation purposes. BakeToControlRig() function seems to reside in ControlRigEditorModule.h in ControlRig plugin, but it’s in a Private folder. And it’s o…

---

## [Python: Getting an reference from path for an actor in a sublevel?](https://forums.unrealengine.com/t/python-getting-an-reference-from-path-for-an-actor-in-a-sublevel/484711)

<div class="topic-metadata">

**Author:** [@DragonGuard](https://forums.unrealengine.com/u/DragonGuard)\
**Replies:** 1\
**Last updated:** [November 26, 2022, 5:55am UTC](https://forums.unrealengine.com/t/python-getting-an-reference-from-path-for-an-actor-in-a-sublevel/484711 "2022-11-26T05:55:48Z")

</div>

Hello, I’m working on an editor tool and I’m trying to get an actor reference from a actor path. According to the Python documentation I can use unreal.EditorLevelLibrary().get\_actor\_reference(path) for this. It works…

---

## [How could one call a function by key press in the editor window (Utility Editor Blueprint)](https://forums.unrealengine.com/t/how-could-one-call-a-function-by-key-press-in-the-editor-window-utility-editor-blueprint/505194)

<div class="topic-metadata">

**Author:** [@Epsilon9000](https://forums.unrealengine.com/u/Epsilon9000)\
**Replies:** 1\
**Last updated:** [November 21, 2022, 3:22pm UTC](https://forums.unrealengine.com/t/how-could-one-call-a-function-by-key-press-in-the-editor-window-utility-editor-blueprint/505194 "2022-11-21T15:22:24Z")

</div>

Im trying to make an Editor tool where I can select an actor in the Level (through raycasting) and apply different functions to it. Would it be possible to have a certain keybind that, when pressed, activates said functi…

---

## [Can't initialize python code in C++](https://forums.unrealengine.com/t/cant-initialize-python-code-in-c/488327)

<div class="topic-metadata">

**Author:** [@danilamaster36](https://forums.unrealengine.com/u/danilamaster36)\
**Replies:** 1\
**Last updated:** [November 20, 2022, 9:26am UTC](https://forums.unrealengine.com/t/cant-initialize-python-code-in-c/488327 "2022-11-20T09:26:47Z")

</div>

I’m not very good at C++, but my game needs python, so I’m trying to make a python code interpreter. I want to process some text using python and neural networks, and upload the answer to UE4. I found a C++ code(link t…

---

## [Create New LevelSequence with Python?](https://forums.unrealengine.com/t/create-new-levelsequence-with-python/130678)

<div class="topic-metadata">

**Author:** [@bmag\_aszxursddfe](https://forums.unrealengine.com/u/bmag_aszxursddfe)\
**Replies:** 4\
**Last updated:** [November 19, 2022, 1:22pm UTC](https://forums.unrealengine.com/t/create-new-levelsequence-with-python/130678 "2022-11-19T13:22:13Z")

</div>

How do you create a new level sequence with Python? I can’t find this anywhere. I am developing an engine workflow for a previs company and I’m trying to automate the process of exporting animation from maya and import…

---

## [Change actor name?](https://forums.unrealengine.com/t/change-actor-name/258193)

<div class="topic-metadata">

**Author:** [@eobet](https://forums.unrealengine.com/u/eobet)\
**Replies:** 3\
**Last updated:** [November 19, 2022, 7:00am UTC](https://forums.unrealengine.com/t/change-actor-name/258193 "2022-11-19T07:00:45Z")

</div>

I was in need of this today (preferrably outside of Editor Scripting, but I’ll take what I can get) and only found this old thread:

---

## [Modify Structure Values for Map Variable from Blueprint in Python](https://forums.unrealengine.com/t/modify-structure-values-for-map-variable-from-blueprint-in-python/250622)

<div class="topic-metadata">

**Author:** [@TonyHeadband](https://forums.unrealengine.com/u/TonyHeadband)\
**Replies:** 2\
**Last updated:** [November 18, 2022, 8:04pm UTC](https://forums.unrealengine.com/t/modify-structure-values-for-map-variable-from-blueprint-in-python/250622 "2022-11-18T20:04:41Z")

</div>

Hello guys, I’m trying to modify a value, part of a map(dictionary in python) composed of int:myStructure. I’m already able to modify any direct variable in the blueprint, but troubles arise from Structure, even worse …

---

## [grey out public variable?](https://forums.unrealengine.com/t/grey-out-public-variable/412482)

<div class="topic-metadata">

**Author:** [@marvelmaster](https://forums.unrealengine.com/u/marvelmaster)\
**Replies:** 6\
**Last updated:** [November 16, 2022, 2:04am UTC](https://forums.unrealengine.com/t/grey-out-public-variable/412482 "2022-11-16T02:04:04Z")

</div>

Hello. I want to use a bool to activate a feature !and its public variables! on my blueprint. Unfortunately I need to grey out the public variables once the bool goes to false… Is there any possibility to do this? I …

---

## [edit camera transform keys in sequencer using python](https://forums.unrealengine.com/t/edit-camera-transform-keys-in-sequencer-using-python/691077)

<div class="topic-metadata">

**Author:** [@Havard\_stardust](https://forums.unrealengine.com/u/Havard_stardust)\
**Replies:** 1\
**Last updated:** [November 15, 2022, 12:02pm UTC](https://forums.unrealengine.com/t/edit-camera-transform-keys-in-sequencer-using-python/691077 "2022-11-15T12:02:31Z")

</div>

Hi! Im trying to loop trough all the the Transform keys of a camera in a given level sequence, once I get the keys I’m able to offset them, but I cant find any of the Transform keys. My code is based upon unreal “sequen…

---

## [How to store text data with Python?](https://forums.unrealengine.com/t/how-to-store-text-data-with-python/688813)

<div class="topic-metadata">

**Author:** [@9Evgeny9](https://forums.unrealengine.com/u/9Evgeny9)\
**Replies:** 1\
**Last updated:** [November 15, 2022, 11:25am UTC](https://forums.unrealengine.com/t/how-to-store-text-data-with-python/688813 "2022-11-15T11:25:30Z")

</div>

I need to store some text data with Python. Key1:value1 Key2:value2 I’ve decided to use StringTables asset, and StringTableLibrary for operating with my asset. https://docs.unrealengine.com/5.0/en-US/PythonAPI/class/…

---

## [Can I make an editor widget that accepts drag and drop operations from the rest of the unreal editor?](https://forums.unrealengine.com/t/can-i-make-an-editor-widget-that-accepts-drag-and-drop-operations-from-the-rest-of-the-unreal-editor/690672)

<div class="topic-metadata">

**Author:** [@RibsNGibs](https://forums.unrealengine.com/u/RibsNGibs)\
**Replies:** 0\
**Last updated:** [November 14, 2022, 9:05pm UTC](https://forums.unrealengine.com/t/can-i-make-an-editor-widget-that-accepts-drag-and-drop-operations-from-the-rest-of-the-unreal-editor/690672 "2022-11-14T21:05:32Z")

</div>

Sorry if this is a dumb question - couldn’t find anything with a search. I want to write a custom editor widget with color boxes in it that I can drag and drop colors into (from the normal unreal engine editor color pick…

---

## [Trying to make an object placer for a project](https://forums.unrealengine.com/t/trying-to-make-an-object-placer-for-a-project/689315)

<div class="topic-metadata">

**Author:** [@BRISTOS](https://forums.unrealengine.com/u/BRISTOS)\
**Replies:** 0\
**Last updated:** [November 12, 2022, 3:01pm UTC](https://forums.unrealengine.com/t/trying-to-make-an-object-placer-for-a-project/689315 "2022-11-12T15:01:41Z")

</div>

Good evening, i am new here and new to using Unreal Engine 5, i will do my best to explain my dilemma and what i want to achieve. also if this is in the wrong section or thread I a sorry, To start off what i am trying t…

---

## [How to replace BP enums and structs with c++?](https://forums.unrealengine.com/t/how-to-replace-bp-enums-and-structs-with-c/364319)

<div class="topic-metadata">

**Author:** [@ArtIntell](https://forums.unrealengine.com/u/ArtIntell)\
**Replies:** 16\
**Last updated:** [November 11, 2022, 5:55am UTC](https://forums.unrealengine.com/t/how-to-replace-bp-enums-and-structs-with-c/364319 "2022-11-11T05:55:10Z")

</div>

How to replace blueprints structures and enums with C++ analogue? I know how to create c++ enums and structs that will be visible to BP, but I cannot find the way to replace references to existing objects :frowning: And …

---

## [How to make an editor asset selection window?](https://forums.unrealengine.com/t/how-to-make-an-editor-asset-selection-window/687629)

<div class="topic-metadata">

**Author:** [@bibbis](https://forums.unrealengine.com/u/bibbis)\
**Replies:** 1\
**Last updated:** [November 10, 2022, 6:42pm UTC](https://forums.unrealengine.com/t/how-to-make-an-editor-asset-selection-window/687629 "2022-11-10T18:42:42Z")

</div>

Hi I’m working on a custom editor window for a custom DataAsset class I created. I want to click an “open” button in my interface and have an asset selection show up like this one built into Unreal: And when you clic…

---

## [Can't access to unreal.DataLayerSubsystem](https://forums.unrealengine.com/t/cant-access-to-unreal-datalayersubsystem/687864)

<div class="topic-metadata">

**Author:** [@9Evgeny9](https://forums.unrealengine.com/u/9Evgeny9)\
**Replies:** 0\
**Last updated:** [November 10, 2022, 9:49am UTC](https://forums.unrealengine.com/t/cant-access-to-unreal-datalayersubsystem/687864 "2022-11-10T09:49:26Z")

</div>

I can acces to DataLayerEditorSubsystem with code datalayer\_editor\_system = unreal.get\_editor\_subsystem(unreal.DataLayerEditorSubsystem) But i can’t access to another subsystem DataLayerSubsystem datalayer\_subsystem=…

---

## [Get all datalayers with Python](https://forums.unrealengine.com/t/get-all-datalayers-with-python/687820)

<div class="topic-metadata">

**Author:** [@9Evgeny9](https://forums.unrealengine.com/u/9Evgeny9)\
**Replies:** 0\
**Last updated:** [November 10, 2022, 8:25am UTC](https://forums.unrealengine.com/t/get-all-datalayers-with-python/687820 "2022-11-10T08:25:44Z")

</div>

In my scene i have few datalayers. I can access datalayer by its label datalayer\_editor\_system = unreal.get\_editor\_subsystem(unreal.DataLayerEditorSubsystem) layer=unreal.Name.cast('Restaurant') mylayer=datalayer\_edito…

---

## [Engine association string from Python?](https://forums.unrealengine.com/t/engine-association-string-from-python/686941)

<div class="topic-metadata">

**Author:** [@iomYKdvd](https://forums.unrealengine.com/u/iomYKdvd)\
**Replies:** 0\
**Last updated:** [November 8, 2022, 11:35pm UTC](https://forums.unrealengine.com/t/engine-association-string-from-python/686941 "2022-11-08T23:35:31Z")

</div>

There’s an IDesktopPlatform::GetCurrentEngineIdentifier() routine in the C++ API to get the association string for the currently running engine binary. Is there any way to obtain this string from the Python API?

---

## [Custom thumbnail not display - Asset is never loaded](https://forums.unrealengine.com/t/custom-thumbnail-not-display-asset-is-never-loaded/143155)

<div class="topic-metadata">

**Author:** [@Schadek](https://forums.unrealengine.com/u/Schadek)\
**Replies:** 2\
**Last updated:** [November 8, 2022, 3:03am UTC](https://forums.unrealengine.com/t/custom-thumbnail-not-display-asset-is-never-loaded/143155 "2022-11-08T03:03:57Z")

</div>

Hi everyone, I am currently trying to get a UThumbnailRenderer running for a custom type of mine that derives from UObject. I created the renderer class in my editor module and derived it from UTextureThumbnailRenderer …

---

## [Assigning Materials to Geometry Caches with Python](https://forums.unrealengine.com/t/assigning-materials-to-geometry-caches-with-python/684759)

<div class="topic-metadata">

**Author:** [@geordiem](https://forums.unrealengine.com/u/geordiem)\
**Replies:** 0\
**Last updated:** [November 5, 2022, 7:45pm UTC](https://forums.unrealengine.com/t/assigning-materials-to-geometry-caches-with-python/684759 "2022-11-05T19:45:07Z")

</div>

Trying to assign materials based on name. This is not working for GeometryCaches. The material slot names come up empty. Can you see why? geom\_cache\_list = \[\] # directory of alembic imports target\_content = unreal.Edito…

---

## [How to set static switch parameter of Material Instance Constant](https://forums.unrealengine.com/t/how-to-set-static-switch-parameter-of-material-instance-constant/156268)

<div class="topic-metadata">

**Author:** [@Anjeong](https://forums.unrealengine.com/u/Anjeong)\
**Replies:** 4\
**Last updated:** [November 1, 2022, 8:33am UTC](https://forums.unrealengine.com/t/how-to-set-static-switch-parameter-of-material-instance-constant/156268 "2022-11-01T08:33:52Z")

</div>

Hello all, Happy New Year! I have an issue to change switch parameter of material instance in asset view. I can do that if there are a few but I have over 1000 assets. (It is easy. just click check box!) so I tried to…

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

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