RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Editor AI TestsEditor AI VisualizationEditor – Assembly Spline ToolAsset BrowserAsset DeduplicatorAsset Management ToolSFX Previewer (Audio Events List)Audio Ribbon EditorAutoSaveBarriers EditorBiome ToolBuilding EditorBulk RenameCamera BookmarksCamera TransformCamera Path EditorCEF HelperCo-Simulation Signal EditorCrawl Data EditorCreate Object ToolDataBlock EditorDecal EditorDecal Spline EditorDocumentation HelperDrag Race EditorDrift Data EditorDrive Path EditorDynamic Decals Tool (Vehicle Livery Creator)Engine Audio DebugExtensions DebugExtensions EditorFFI Pointer Leak TestFile DialogFlowgraph EditorForest EditorForest ViewEditor Gizmo HelperEditor Ground Model Debug HelperEditor Headless Editor TestEditor Icon OverviewEditor ImGui C DemoEditor InspectorEditor Layout ManagerEditor Level SettingsEditor Level ValidatorEditor LoggerEditor Log HelperEditor MainEditor Main MenuEditor Main ToolbarEditor Main UpdateMap Sensor EditorMaster Spline EditorMaterial EditorMeasures Inspector HeaderMesh Editor (Base)Mesh Road EditorMesh Spline EditorMission EditorMission PlaybookMission Start Position EditorMulti Spawn Manager (Vehicle Groups)Navigation Mesh EditorEditor News MessageObject Tool (Object Select Edit Mode)Object To Spline EditorParticle EditorPerformance Profiler / Camera RecorderPhysics ReloaderPrefab Instance EditorEditor PreferencesRace / Path EditorRally EditorRaycast Test Editor ToolRenderer Components Editor ToolRender Test Editor ToolResource Checker Editor ToolRiver EditorRoad Architect EditorRoad DecorationsRoad Editor (Decal Road)Road Network ExporterRoad River Cache HandlerRoad River GUIRoad Spline EditorRoad Template EditorRoad UtilitiesScene TreeScene ViewScreenshot Creator BootstrapScript AI EditorScript AI ManagerSensor Configuration EditorSensor DebuggerShape EditorShortcut LegendSidewalk Spline EditorSites EditorSlot Traffic EditorSuspension Audio DebugTech Server ManagerTerraform ToolTerrain And Road ImporterTerrain EditorTerrain Materials EditorText EditorTool ManagerTool ShortcutsTraffic DebugTraffic ManagerTraffic Signals EditorUndo History ViewerVehicle Bridge TestVehicle Detail ViewerVehicle Editor MainEditor - VisualizationEditor Viz HelperEditor Water Object HelperEditor Windows Manager

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionseditor

Bulk Rename

Editor tool for batch-renaming scene objects. Supports pattern-based renaming with counters and old-name substitution, collision detection, and preview before applying.

Editor tool for batch-renaming scene objects. Supports pattern-based renaming with counters and old-name substitution, collision detection, and preview before applying.


Public Functions

FunctionDescription
M.onEditorGui()Renders the bulk rename window UI
M.onEditorInitialized()Registers window and menu item

Key Features

  • Pattern Syntax - %o = original name, %n = counter, %4n = zero-padded counter
  • Field Selection - Rename either name (unique) or internalName fields
  • Search Filter - Filter objects by name/internal name text match
  • Collision Detection - Warns about naming conflicts before applying
  • Preview - Shows before/after names for up to 10 objects
  • Undo Support - Uses objectHistoryActions.changeObjectFieldMultipleValuesWithUndo

Pattern Examples

PatternOriginalCounterResult
%oTree1Tree
%o_%nTree3Tree_3
Prop_%4nTree7Prop_0007
MyObj_%nRock12MyObj_12

Usage Example

-- Open the bulk rename tool
editor.showWindow("bulkRename")

Functions

onEditorInitialized()

Registers the bulk rename window and menu item.

onEditorGui()

Renders the bulk rename window UI with search, pattern, preview, and rename controls.

onEditorActivated()

Callback for editor activated event (empty).

onExtensionLoaded()

Callback for extension loaded event (empty).

onEditorObjectSelectionChanged()

Updates the rename preview when the editor selection changes.

Additional Exports

  • M.onEditorActivated
  • M.onEditorObjectSelectionChanged
  • M.onExtensionLoaded

See Also

  • globals - Scene tree and object management

Building Editor

Experimental procedural building/city generation editor. Uses a modular architecture with separate world, UI, decal, region, and utility sub-modules. Supports hot-reload during development.

Camera Bookmarks

Simple editor tool for saving and restoring camera positions as named bookmarks. Supports clipboard copy/paste of camera transforms.

On this page

Public FunctionsKey FeaturesPattern ExamplesUsage ExampleFunctionsonEditorInitialized()onEditorGui()onEditorActivated()onExtensionLoaded()onEditorObjectSelectionChanged()Additional ExportsSee Also