# Editor Scripting

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

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

**Page:** 22

---

## [Unreal won't allow to select an actor reference](https://forums.unrealengine.com/t/unreal-wont-allow-to-select-an-actor-reference/427616)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_59d068391](https://forums.unrealengine.com/u/anonymous_user_59d068391)\
**Replies:** 12\
**Last updated:** [September 20, 2022, 1:46pm UTC](https://forums.unrealengine.com/t/unreal-wont-allow-to-select-an-actor-reference/427616 "2022-09-20T13:46:49Z")

</div>

I have an EventHandler.h containing public: UPROPERTY(EditAnywhere, BlueprintReadWrite) AActor\* Sun = nullptr; And an EventHandler\_BP where if I try to assign something to the variable I get an error message sa…

---

## [How to set specific bone transform at each frame in an animation sequence?](https://forums.unrealengine.com/t/how-to-set-specific-bone-transform-at-each-frame-in-an-animation-sequence/487058)

<div class="topic-metadata">

**Author:** [@zhouyan09](https://forums.unrealengine.com/u/zhouyan09)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 11:25am UTC](https://forums.unrealengine.com/t/how-to-set-specific-bone-transform-at-each-frame-in-an-animation-sequence/487058 "2022-09-20T11:25:36Z")

</div>

Hello, I want some help to solve the problem: How to set specific bone transform at each frame in an animation sequence and save it ? Can I realize this function using script like Python or C++? Thank you very much.

---

## [How to get bone transform of a controlrig controlled skeletal mesh in Sequencer](https://forums.unrealengine.com/t/how-to-get-bone-transform-of-a-controlrig-controlled-skeletal-mesh-in-sequencer/652295)

<div class="topic-metadata">

**Author:** [@tuatec](https://forums.unrealengine.com/u/tuatec)\
**Replies:** 0\
**Last updated:** [September 20, 2022, 5:22am UTC](https://forums.unrealengine.com/t/how-to-get-bone-transform-of-a-controlrig-controlled-skeletal-mesh-in-sequencer/652295 "2022-09-20T05:22:38Z")

</div>

I am trying to get a final bone location from a controlrig controlled skeletal mesh. But I can’t figure it out currently. It seems to be we can use this node, UControlRigSequencerEditorLibrary::GetSkeletalMeshComponentW…

---

## [Editor Script to reimport OBJ with new scale and rotation?](https://forums.unrealengine.com/t/editor-script-to-reimport-obj-with-new-scale-and-rotation/652252)

<div class="topic-metadata">

**Author:** [@nullterm](https://forums.unrealengine.com/u/nullterm)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 4:23am UTC](https://forums.unrealengine.com/t/editor-script-to-reimport-obj-with-new-scale-and-rotation/652252 "2022-09-20T04:23:21Z")

</div>

Is there a way to modify the import settings for a bunch of OBJ files, specifically rotation and scale, and then reimport the static meshes? I have a bunch of OBJ files that need to be realigned and rescaled.

---

## [Button not working](https://forums.unrealengine.com/t/button-not-working/137605)

<div class="topic-metadata">

**Author:** [@Chamilol](https://forums.unrealengine.com/u/Chamilol)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 6:02pm UTC](https://forums.unrealengine.com/t/button-not-working/137605 "2020-02-06T18:02:23Z")

</div>

Hi everyone, I’m currently facing a problem, I can use button in my widget. I do use the setUIgameMode node, I set “showMouseCursor” and “enable click Event” to true in PlayerController, but it doesn’t work. The butto…

---

## [How to set widget component default class in Editor Utility?](https://forums.unrealengine.com/t/how-to-set-widget-component-default-class-in-editor-utility/651624)

<div class="topic-metadata">

**Author:** [@FourRoadTitans](https://forums.unrealengine.com/u/FourRoadTitans)\
**Replies:** 0\
**Last updated:** [September 19, 2022, 9:07am UTC](https://forums.unrealengine.com/t/how-to-set-widget-component-default-class-in-editor-utility/651624 "2022-09-19T09:07:12Z")

</div>

Hello dalao:) I recently developed the Actor Action Utility, and I want to set widget component’s default widget class property, but I can noly access “SetWidget” function, how should I do? Take care that is not i…

---

## [Actor won't be destroyed](https://forums.unrealengine.com/t/actor-wont-be-destroyed/648858)

<div class="topic-metadata">

**Author:** [@GrandmasterPanch](https://forums.unrealengine.com/u/GrandmasterPanch)\
**Replies:** 5\
**Last updated:** [September 18, 2022, 3:27am UTC](https://forums.unrealengine.com/t/actor-wont-be-destroyed/648858 "2022-09-18T03:27:56Z")

</div>

Hi! I’m working on a grappling system and it’s almost done but I have 1 problem… The grapple point and the grappling line can’t be destroyed. I don’t know if I have to set something else for the actors to be destroyed wh…

---

## [Animation interpolation causes jitter between frames](https://forums.unrealengine.com/t/animation-interpolation-causes-jitter-between-frames/381461)

<div class="topic-metadata">

**Author:** [@borbs727](https://forums.unrealengine.com/u/borbs727)\
**Replies:** 3\
**Last updated:** [September 16, 2022, 8:42pm UTC](https://forums.unrealengine.com/t/animation-interpolation-causes-jitter-between-frames/381461 "2022-09-16T20:42:57Z")

</div>

I’m animating a character in Maya that has its head pop off and then returns to its body during the animation. I’m doing this in Maya by space switching from the neck (follows body) to the world (popped off and not foll…

---

## [Can I use Blueprints to make an Editor Utility that uses mouse input in the viewport?](https://forums.unrealengine.com/t/can-i-use-blueprints-to-make-an-editor-utility-that-uses-mouse-input-in-the-viewport/649183)

<div class="topic-metadata">

**Author:** [@Wahooney](https://forums.unrealengine.com/u/Wahooney)\
**Replies:** 0\
**Last updated:** [September 15, 2022, 7:55am UTC](https://forums.unrealengine.com/t/can-i-use-blueprints-to-make-an-editor-utility-that-uses-mouse-input-in-the-viewport/649183 "2022-09-15T07:55:15Z")

</div>

I want to make a tool that recognizes when a user has their mouse over a component in the viewport and has either clicked LMB, RMB or scrolled the mousewheel, then pass that as an event to the actor containing the compon…

---

## [Replacing references without deleting assets](https://forums.unrealengine.com/t/replacing-references-without-deleting-assets/367134)

<div class="topic-metadata">

**Author:** [@Nevermore](https://forums.unrealengine.com/u/Nevermore)\
**Replies:** 3\
**Last updated:** [September 14, 2022, 6:10pm UTC](https://forums.unrealengine.com/t/replacing-references-without-deleting-assets/367134 "2022-09-14T18:10:56Z")

</div>

Hello, I wanted to replace references to editor Content to make my cooked game weight less(500MB vs 6GB, but the reference tool requires to delete the unreferenced assets. Is there any way to replace them without delet…

---

## [NFT plugins](https://forums.unrealengine.com/t/nft-plugins/647512)

<div class="topic-metadata">

**Author:** [@AnshulZatun](https://forums.unrealengine.com/u/AnshulZatun)\
**Replies:** 1\
**Last updated:** [September 13, 2022, 9:50am UTC](https://forums.unrealengine.com/t/nft-plugins/647512 "2022-09-13T09:50:44Z")

</div>

Does anybody know any plugins or any ways to have an NFT system? A plugin that could pull an NFT from a website or something like that? I want a full blockchain integration thingy with NFTs… Any help related to the topic…

---

## [Class for an All Call Function](https://forums.unrealengine.com/t/class-for-an-all-call-function/647652)

<div class="topic-metadata">

**Author:** [@RaidenTrue](https://forums.unrealengine.com/u/RaidenTrue)\
**Replies:** 0\
**Last updated:** [September 13, 2022, 9:41am UTC](https://forums.unrealengine.com/t/class-for-an-all-call-function/647652 "2022-09-13T09:41:27Z")

</div>

Hello, I created a class (Blueprint Function Library) which can be called from all different blueprints. Thing is, we now want to add functionality which requires an event dispatcher to be called, and BP Function Libra…

---

## [(Solved) Unreal Insight 0.14 and Editor 4.27 no tracked sessions](https://forums.unrealengine.com/t/solved-unreal-insight-0-14-and-editor-4-27-no-tracked-sessions/646742)

<div class="topic-metadata">

**Author:** [@Roadified](https://forums.unrealengine.com/u/Roadified)\
**Replies:** 1\
**Last updated:** [September 12, 2022, 11:47am UTC](https://forums.unrealengine.com/t/solved-unreal-insight-0-14-and-editor-4-27-no-tracked-sessions/646742 "2022-09-12T11:47:07Z")

</div>

Hi, Trying to use Unreal’s Insight to debug why things are lagging. I do not see any live sessions inside Insight - I tried running editor and a built. I can only load and see recorded sessions. If I understand corre…

---

## [UE5: Creating a LevelSequence via Blueprint, how to assign camera?](https://forums.unrealengine.com/t/ue5-creating-a-levelsequence-via-blueprint-how-to-assign-camera/645901)

<div class="topic-metadata">

**Author:** [@Coolcat](https://forums.unrealengine.com/u/Coolcat)\
**Replies:** 1\
**Last updated:** [September 11, 2022, 8:03am UTC](https://forums.unrealengine.com/t/ue5-creating-a-levelsequence-via-blueprint-how-to-assign-camera/645901 "2022-09-11T08:03:14Z")

</div>

I’m like to use Unreal to render HQ screenshots via an automated pipeline. The current plan is to use the MovieRenderQueue feature for this, which means for each screenshot position (=CameraActor in the level) I need to …

---

## [FInterp To not smoothing out.](https://forums.unrealengine.com/t/finterp-to-not-smoothing-out/485564)

<div class="topic-metadata">

**Author:** [@Hipopogruh](https://forums.unrealengine.com/u/Hipopogruh)\
**Replies:** 3\
**Last updated:** [September 9, 2022, 11:38am UTC](https://forums.unrealengine.com/t/finterp-to-not-smoothing-out/485564 "2022-09-09T11:38:07Z")

</div>

Hi all! I’m facing an issue where Finterp to does not perform a smooth change. Essentially, I have a spline, along which my character is moving. I have setup a timeline to smooth out the trip. There are several spots al…

---

## [Datasmith CAD files import, no data from either Python or BP](https://forums.unrealengine.com/t/datasmith-cad-files-import-no-data-from-either-python-or-bp/643752)

<div class="topic-metadata">

**Author:** [@MatLitz](https://forums.unrealengine.com/u/MatLitz)\
**Replies:** 0\
**Last updated:** [September 7, 2022, 5:01pm UTC](https://forums.unrealengine.com/t/datasmith-cad-files-import-no-data-from-either-python-or-bp/643752 "2022-09-07T17:01:46Z")

</div>

Hi! My goal is to import a .dwg-file into Unreal Engine using Datasmith and then be able to export the data as a .fbx. I have been following the examples posted in the forums, but none seem to work for me. Example for…

---

## [Get Number of shaders compiling in game](https://forums.unrealengine.com/t/get-number-of-shaders-compiling-in-game/500217)

<div class="topic-metadata">

**Author:** [@MajorT](https://forums.unrealengine.com/u/MajorT)\
**Replies:** 10\
**Last updated:** [September 6, 2022, 12:16pm UTC](https://forums.unrealengine.com/t/get-number-of-shaders-compiling-in-game/500217 "2022-09-06T12:16:01Z")

</div>

I want to make a loading screen wich deletes itself after all shaders have compiled. Is there a way to get the number of compiling shaders in game?

---

## [How to get Viewport?](https://forums.unrealengine.com/t/how-to-get-viewport/641944)

<div class="topic-metadata">

**Author:** [@ilozen](https://forums.unrealengine.com/u/ilozen)\
**Replies:** 1\
**Last updated:** [September 6, 2022, 9:48am UTC](https://forums.unrealengine.com/t/how-to-get-viewport/641944 "2022-09-06T09:48:50Z")

</div>

I’m working on a editor script where I need to move viewport camera on currently active level in PIE (when you detach camera from the player). SetLevelViewportCameraInfo seems not to work in PIE. I found SetViewLocation …

---

## [Is there a blueprint event when Actor gets selected?](https://forums.unrealengine.com/t/is-there-a-blueprint-event-when-actor-gets-selected/642504)

<div class="topic-metadata">

**Author:** [@ilozen](https://forums.unrealengine.com/u/ilozen)\
**Replies:** 3\
**Last updated:** [September 6, 2022, 9:46am UTC](https://forums.unrealengine.com/t/is-there-a-blueprint-event-when-actor-gets-selected/642504 "2022-09-06T09:46:36Z")

</div>

I found GetSelectedLevelActors but I can’t find any event like OnSelectedActorsChanged. Does anyone know how to do it? I’d hate to put my code in Event Tick and compare list of selected actors each tick…

---

## [How to get all assets list in level?](https://forums.unrealengine.com/t/how-to-get-all-assets-list-in-level/642380)

<div class="topic-metadata">

**Author:** [@mmm\_5880](https://forums.unrealengine.com/u/mmm_5880)\
**Replies:** 3\
**Last updated:** [September 6, 2022, 9:44am UTC](https://forums.unrealengine.com/t/how-to-get-all-assets-list-in-level/642380 "2022-09-06T09:44:56Z")

</div>

How to get all assets list in level?

---

## [How to save/load developer settings?](https://forums.unrealengine.com/t/how-to-save-load-developer-settings/641956)

<div class="topic-metadata">

**Author:** [@ilozen](https://forums.unrealengine.com/u/ilozen)\
**Replies:** 0\
**Last updated:** [September 5, 2022, 2:45pm UTC](https://forums.unrealengine.com/t/how-to-save-load-developer-settings/641956 "2022-09-05T14:45:34Z")

</div>

I’m working with Editor BPs. I’d like to be able to load/save some variables per developer (like what options they have turned on in the tool). As far as I can see it’s not possible to do in blueprints? Or did someone fi…

---

## [Fastest way to generate material instances for 1000+ textures?](https://forums.unrealengine.com/t/fastest-way-to-generate-material-instances-for-1000-textures/640739)

<div class="topic-metadata">

**Author:** [@jmancoder1](https://forums.unrealengine.com/u/jmancoder1)\
**Replies:** 1\
**Last updated:** [September 4, 2022, 11:44am UTC](https://forums.unrealengine.com/t/fastest-way-to-generate-material-instances-for-1000-textures/640739 "2022-09-04T11:44:52Z")

</div>

I have posted this in the Editor Scripting section because the solution will likely require a custom macro. I have approximately 500 textures along with their respective normal and specular maps, and I want to create a m…

---

## [How do I set an editor property to a texture using Python?](https://forums.unrealengine.com/t/how-do-i-set-an-editor-property-to-a-texture-using-python/640030)

<div class="topic-metadata">

**Author:** [@dan07070707](https://forums.unrealengine.com/u/dan07070707)\
**Replies:** 1\
**Last updated:** [September 2, 2022, 6:40pm UTC](https://forums.unrealengine.com/t/how-do-i-set-an-editor-property-to-a-texture-using-python/640030 "2022-09-02T18:40:12Z")

</div>

I can set a text property just fine. For example blueprint\_class\_default.set\_editor\_property(“Name”,“Tesy”) But the Heightmap property accepts a texture file. I have already imported a texture file called alphabrush …

---

## [How to set editor property in Python? Undefined property names?](https://forums.unrealengine.com/t/how-to-set-editor-property-in-python-undefined-property-names/429354)

<div class="topic-metadata">

**Author:** [@Elias\_Kremer](https://forums.unrealengine.com/u/Elias_Kremer)\
**Replies:** 1\
**Last updated:** [September 2, 2022, 6:01pm UTC](https://forums.unrealengine.com/t/how-to-set-editor-property-in-python-undefined-property-names/429354 "2022-09-02T18:01:44Z")

</div>

Hey, I am currently working with Python and Unreal Studio(beta) and trying to access the Sequence Recorder properties, but I can’t access any of them. What help tells me is to do something like this: unreal.SequenceRec…

---

## [How to call a Python function and get returned arguments from BluePrint](https://forums.unrealengine.com/t/how-to-call-a-python-function-and-get-returned-arguments-from-blueprint/480340)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f54303d51](https://forums.unrealengine.com/u/anonymous_user_f54303d51)\
**Replies:** 6\
**Last updated:** [September 2, 2022, 3:40am UTC](https://forums.unrealengine.com/t/how-to-call-a-python-function-and-get-returned-arguments-from-blueprint/480340 "2022-09-02T03:40:22Z")

</div>

Hi, thx for your nice Live. Here is my question : I’m using DataSmith plugin to import IFC files. But, there is a pb on reading metadata by DataSmith. So, I wrote a PythonScript to make my custom ifc file importation. …

---

## [How to rotate bone with Python in Animation sequence?](https://forums.unrealengine.com/t/how-to-rotate-bone-with-python-in-animation-sequence/637954)

<div class="topic-metadata">

**Author:** [@9Evgeny9](https://forums.unrealengine.com/u/9Evgeny9)\
**Replies:** 0\
**Last updated:** [August 31, 2022, 2:29pm UTC](https://forums.unrealengine.com/t/how-to-rotate-bone-with-python-in-animation-sequence/637954 "2022-08-31T14:29:34Z")

</div>

How to access certain bone in animation, and add additive value via sequencer?

---

## [Set number of lods in SM with python](https://forums.unrealengine.com/t/set-number-of-lods-in-sm-with-python/636585)

<div class="topic-metadata">

**Author:** [@Josemcasasp](https://forums.unrealengine.com/u/Josemcasasp)\
**Replies:** 1\
**Last updated:** [August 30, 2022, 10:59am UTC](https://forums.unrealengine.com/t/set-number-of-lods-in-sm-with-python/636585 "2022-08-30T10:59:31Z")

</div>

Hi :smiley: Is it possible to change in a SM (already in the project) the LOD Settings-\>Number of LODs? I can set the number of lods while importing but i would like to change it based on the triangle count once is alr…

---

## [Get number of triangles from staticmesh with Python](https://forums.unrealengine.com/t/get-number-of-triangles-from-staticmesh-with-python/455239)

<div class="topic-metadata">

**Author:** [@aleksey\_syd](https://forums.unrealengine.com/u/aleksey_syd)\
**Replies:** 2\
**Last updated:** [August 30, 2022, 10:55am UTC](https://forums.unrealengine.com/t/get-number-of-triangles-from-staticmesh-with-python/455239 "2022-08-30T10:55:26Z")

</div>

Hey to everyone, I’m looking for your help! By C++ I can get triangle count of LOD with GetNumTriangles() How can I get the same with Python?

---

## [UE5: Custom billboard for USceneComponent](https://forums.unrealengine.com/t/ue5-custom-billboard-for-uscenecomponent/635299)

<div class="topic-metadata">

**Author:** [@Coolcat](https://forums.unrealengine.com/u/Coolcat)\
**Replies:** 2\
**Last updated:** [August 27, 2022, 4:28pm UTC](https://forums.unrealengine.com/t/ue5-custom-billboard-for-uscenecomponent/635299 "2022-08-27T16:28:50Z")

</div>

Hi there :slight\_smile: How do I use USceneComponent::CreateSpriteComponent(UTexture2D\*) correctly? My code below “works” as you see in the screenshot. However, after restarting the editor I get the Actor default icon …

---

## [Play level from command line on linux](https://forums.unrealengine.com/t/play-level-from-command-line-on-linux/633773)

<div class="topic-metadata">

**Author:** [@mcs\_032](https://forums.unrealengine.com/u/mcs_032)\
**Replies:** 1\
**Last updated:** [August 26, 2022, 10:52am UTC](https://forums.unrealengine.com/t/play-level-from-command-line-on-linux/633773 "2022-08-26T10:52:07Z")

</div>

I need to run UE4 (4.26) Editor on a linux (Debian 10) server with no display and play the default level. I have followed this post to setup UE4 and build the project on linux. As per this post’s suggestion, I run the …

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

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