Navigation: Scripting Reference Manual > Functions & Subroutines > SetTube

 

SetTube

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets a Tube (cylinder) surface in the associated FRED document.

 

Syntax

SetTube n, entity, tube

 

Parameters

n As Long

Node number for the Tube surface.

 

entity As T_ENTITY

The new generic entity data for the Tube.

 

tube As T_TUBE

Structure containing the new surface-specific data for the Tube.

 

Remarks

This subroutine sets a Tube surface from the associated FRED document.  If there is a problem, the subroutine posts an error and returns without modifying the tube.

 

See Also

T_ENTITY

T_TUBE

AddTube

InitTube

GetTube

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC