Create Panel

The startObjectCreation() method is used to simulate the user finding a Create Panel button for a given object class and pressing that button, putting 3ds max into create mode for that object class. The form is:

startObjectCreation <scene_object_class>

For example:

startObjectCreation box

startObjectCreation targetSpot

This method simply opens up the Create Panel at the right tab and category and depresses the appropriate object button.

This method is primarily intended for use in macroScripts, but can be used in generalized scripts. Script execution will continue immediately after entering the create mode, and you must ensure that the script does not interfere with the object creation.