Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampSetActive

 

ImpSampSetActive

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the activity state of an Importance Sampling specification.

 

Syntax

ImpSampSetActive n, indx, active

 

Parameters

n As Long

Node number of the surface.

 

indx As Long

The index (zero based) of the importance sampling specification.

 

active As Boolean

Set to True if the importance sampling specification is to become active, False otherwise.

 

Remarks

This subroutine sets the activity state of an Importance Sampling specification.  If there is a problem, the subroutine returns without modifying the Importance Sampling.

 

See Also

ImpSampDelete

ImpSampGetCount

ImpSampGetType

ImpSampIsActive 

Examples

Importance Samples

 

 

 

 

 

Copyright © Photon Engineering, LLC