Interface: visualMS

Interfaces > Core Interfaces > visualMS

 

   

Core Interfaces - Quick Navigation

The visualMS Core Interface exposes the Visual MAXScript editor.

   

Interface: visualMS 

   

Methods:

<Interface>visualMS.createForm()   

Creates a VMS instance that is initially hidden. Call the Visual MAXScript form object’s .Open method to display it. See visualMSForm [Mixin Interface] below.

EXAMPLE

MacroScript Launch_VMS
ButtonText:"Visual MAX Script Editor"
Category:"MAX Script"
internalCategory:"MAX Script"
Tooltip:"Visual MAX Script Editor"
(
vms = visualMS.CreateForm()
vms.Open()
)

   

<Interface>visualMS.createFormFromFile <filename>  fileName 

Creates a VMS instance from the given MAXScript file.

   

Mixin Interface: visualMS.createForm(...)

Interface: visualMSForm 

Properties:

No properties exposed.

   

Methods:

<void><MixinInterface:visualMSForm>open() 

Opens the Visual MAXScript Form.

   

<void><MixinInterface:visualMSForm>close() 

Closes the Visual MAXScript Form.

   

<boolean><MixinInterface:visualMSForm>genScript <&string>script 

script is In and Out parameter 

Generates a script from the Form. Writes the generated script into the by-reference variable. Returns true on success.