Navigation: Scripting Reference Manual > Functions & Subroutines > ShiftZ

 

ShiftZ

 

Contact Us: fredsupport@photonengr.com

 

Description

Shifts an entity by the specified value in the local Z-direction of the specified coordinate system.

 

Syntax

ShiftZ n, coord, Z

 

Parameters

n As Long

Node number of the entity.

 

coord As Long

Node number of the coordinate system under which this operation is applied.

 

Z As Double

Z-coordinate shift value.

 

Remarks

ShiftZ shifts an entity to the specified value in the local Z-direction of the specified coordinate system.

 

Note that values for coord may be -1 (Global Coordinate System), 0 (System), 1 (Optical Sources), 2 (Geometry), or any valid node number of an entity.

 

See Also

PlaceAt

PlaceIthAt

ShiftIthX

ShiftX

ShiftY

ShiftIthY

ShiftIthZ

ShiftXYZ

ShiftIthXYZ

Examples

Linear Transformations

 

 

 

 

 

Copyright © Photon Engineering, LLC