Accessing ActiveX Controls Indexed Properties

NOTE:

ActiveX Controls have been deprecated by Microsoft in the latest versions of the Windows operating system in favor of the DotNet framework and its controls.

While MAXScript still supports ActiveX controls, these have to be installed and registered on the system to be accessible to MAXScript.

As a replacement of ActiveX controls, MAXScript supports DotNet controls in 3ds Max 9 and higher.

The following functions can be used to get and set indexed properties of ActiveX Controls that require an integer index:

getIndexedProperty <activeXControl : MSDispatch> <propName> <index>

setIndexedProperty <activeXControl : MSDispatch> <propname> <index> <value>

EXAMPLE

getIndexedProperty s.ActiveSheet.Panes #item 1
setIndexedProperty s.ActiveSheet.Panes #item 1 "Subitem1"

See Also