/
PluginManager.yaml
84 lines (83 loc) · 2.52 KB
/
PluginManager.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
name: PluginManager
type: class
category: Plugins
memory_category: Instances
summary: ''
description: |
A singleton class used to create `Class.Plugin|Plugins`. This has been
superseded by the [Plugins](../../../studio/plugins.md) but it can be used to
create plugins with the command bar.
The PluginManager object can be retrieved using the deprecated
`Class.PluginManager|PluginManager()` function.
code_samples:
inherits:
- Instance
tags:
- NotCreatable
deprecation_message: ''
properties: []
methods:
- name: PluginManager:CreatePlugin
summary: ''
description: ''
code_samples:
parameters: []
returns:
- type: Instance
summary: ''
tags:
- Deprecated
- CustomLuaState
deprecation_message: |
The steps to create a plugin have changed. To learn more, see
`Class.Plugin`.
security: PluginSecurity
thread_safety: Unsafe
- name: PluginManager:ExportPlace
summary: |
Exports the place to an .OBJ file that is saved to the path chosen by the
user in a file save dialogue (the `filePath` argument is ignored).
description: |
ExportPlace will export all geometry in the place to an .OBJ file. The
file is saved to the path chosen by the user in a file save dialogue (the
`filePath` argument is ignored). This function does the same thing as the
**File > Advanced > Export as Obj** menu option.
code_samples:
parameters:
- name: filePath
type: string
default: ''
summary: ''
returns:
- type: void
summary: ''
tags: []
deprecation_message: ''
security: PluginSecurity
thread_safety: Unsafe
- name: PluginManager:ExportSelection
summary: |
Exports the current `Class.Selection` to an .OBJ file that is saved to the
path chosen by the user in a file save dialogue (the `filePath` argument
is ignored).
description: |
ExportSelection will export all geometry in the current `Class.Selection`
to an .OBJ file. The file is saved to the path chosen by the user in a
file save dialogue (the `filePath` argument is ignored). This function
does the same thing as the **Export Selection...** right-click menu option
in the Explorer.
code_samples:
parameters:
- name: filePath
type: string
default: ''
summary: ''
returns:
- type: void
summary: ''
tags: []
deprecation_message: ''
security: PluginSecurity
thread_safety: Unsafe
events: []
callbacks: []