Roblox UtilitiesDevlHub Roblox Documentation

Class

PluginManagerInterface

NotCreatableNotReplicated
Inherits
Instance › Object
Memory category
Instances

The singleton object returned by the global PluginManager() function, exposing a small set of legacy Studio plugin utilities.

PluginManagerInterface is the singleton object returned by the global PluginManager() function, which can be called from a plugin or from Studio's Command Bar. It provides a small set of legacy Studio utilities for exporting geometry — PluginManagerInterface:ExportPlace() and PluginManagerInterface:ExportSelection() — along with the deprecated PluginManagerInterface:CreatePlugin() method. Calling the PluginManager() global requires plugin security.

Methods 3#

CreatePluginDeprecated. Creates and returns a new Plugin; use Plugin instead.PluginSecurity securityDeprecatedCustomLuaState
ExportPlaceExports the entire place to an .obj file saved to a path chosen by the user in a file save dialog.PluginSecurity security
ExportSelectionExports the current Selection to an .obj file saved to a path chosen by the user in a file save dialog.PluginSecurity security

CreatePlugin(): Instance#

DeprecatedCustomLuaStatePluginSecurity securityDeprecated

Deprecated. The steps to create a plugin have changed. To learn more, see Plugin.

Creates and returns a new Plugin object, attached to the current place's data model. The returned plugin is associated with the plugin that called this method, so it unloads together with its creator.

This method is deprecated. The steps to create a plugin have changed, and new work should use Plugin directly rather than constructing one through PluginManager(). Calling this method requires plugin security.

Returns

ExportPlace(filePath: string): ()#

PluginSecurity security

Exports all geometry in the place to an .obj file. The file is saved to the path chosen by the user in a file save dialog; the filePath argument is ignored.

NameTypeDefaultDescription
filePathstringIgnored. A file save dialog determines the export path.
Returns
  • ()

ExportSelection(filePath: string): ()#

PluginSecurity security

Exports all geometry in the current Selection to an .obj file. The file is saved to the path chosen by the user in a file save dialog; the filePath argument is ignored.

NameTypeDefaultDescription
filePathstringIgnored. A file save dialog determines the export path.
Returns
  • ()

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed