Web lights are extended point lights with photometric properties. Web lights emit light in varying intensities depending on direction. These intensities are obtained from IES (Illuminating Engineering Society) files called web files. webLight.setWebFile(web file path) sets the path to these IES files.
When you return to the generic lighting unit after making changes, web lights behave as point lights.
The following code shows how to setup a basic web light:
// To setup a web light AcDbLight webLight; webLight.setLightType(AcGiDrawable::kwebLight); webLight.setWebFile(web file path); webLight.setWebRotation(AcGeVector3d(x,y,z)); webLight.setWebflux(value); webLight.setTargetlocation(AcGepoint3d(0,0,0));