Navigation: Scripting Reference Manual > Functions & Subroutines > SetTrimVol

 

SetTrimVol

 

Contact Us: fredsupport@photonengr.com

 

Description

Provides a shorthand method of specifying a trimming volume.

 

Syntax

SetTrimVol n, xsemi, ysemi, zsemi, xcen, ycen, zcen, shape

 

Parameters

n as Long

Node number of entity.

 

xsemi As Double

x-semiwidth of trimming volume.

 

ysemi As Double

y-semiwidth of trimming volume.

 

zsemi As Double

z-semiwidth of trimming volume.

 

xcen As Double

x-coordinate of trimming volume center.

 

ycen As Double

y-coordinate of trimming volume center.

 

zcen As Double

z-coordinate of trimming volume center.

 

shape As String

Trimming volume shape. Possible values are "Box", "Zcylinder" or "Ellipsoid".

 

 

Remarks

SetTrimVol is a shorthand method of specifying trimming volume. This command does not require the use of T_TRIMVOLUME. Note, however, that this command does not affect trimming hole specifications. If there is a problem, the subroutine generates an error and does not alter the trimming volume.

 

See Also

SetTrimVolume

GetTrimVol

SetTrimVol

SetTrimVolMinMax

GetTrimVolMinMax

GetTrimVolHole

SetTrimVolHole

 

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC