PluginManager

Mostrar obsoleto
não criável

A singleton class used to create Plugins. This has been superseded by the Plugins but it can be used to create plugins with the command bar.

The PluginManager object can be retrieved using the deprecated PluginManager() function.

Resumo

Métodos

  • ExportPlace(filePath : string):void
    segurança do plugin

    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).

  • ExportSelection(filePath : string):void
    segurança do plugin

    Exports the current 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).

Propriedades

Métodos

ExportPlace

void
segurança do plugin

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.

Parâmetros

filePath: string
Valor Padrão: ""

Devolução

void

ExportSelection

void
segurança do plugin

ExportSelection will export 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 dialogue (the filePath argument is ignored). This function does the same thing as the Export Selection... right-click menu option in the Explorer.

Parâmetros

filePath: string
Valor Padrão: ""

Devolução

void

Eventos