Navigation: Scripting Reference Manual > Functions & Subroutines > SetSourcePower

 

SetSourcePower

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the amount of power from a specified source.

 

Syntax

SetSourcePower n, power

 

Parameters

n As Long

Node number of the source.

 

power As Double

The amount of power for the source.

 

Remarks

This subroutine sets the amount of power from a specified source. If there is a problem the subroutine sets an error and returns without modifying the source.

 

See Also

AddSource

GetSourcePower

Examples

Sources

 

 

 

 

 

Copyright © Photon Engineering, LLC