The GetMasterController method lets you get the mastercontroller of a system. It is available in 3ds Max 9 and higher.
GetMasterController <System>
Returns the master controller of a system (for example RingArray, Sunlight System etc.)
EXAMPLE |
--First create a Sunlight System using the UI. --Then get its master controller: theMaster = GetMasterController $Sun01 ReferenceTarget:Sunlight show theMaster .Solar_Time : integer .Solar_Date : float .Latitude : float .Longitude : float .Orbital_Scale : float false |