AddPointLight

Adds a new point light object  to the document.

Syntax

rhinoscriptsyntax.AddPointLight (point)

rhinoscript.light.AddPointLight (point)

Parameters

point

Required.  List of 3 numbers or Point3d.  The 3-D location point of the light.

Returns

Guid

The identifier of the new object if successful.

Example

import rhinoscriptsyntax as rs

point = rs.GetPoint("Point light location")

if point: rs.AddPointLight(point)

Also See

IsPointLight