Navigation: Scripting Reference Manual > Functions & Subroutines > AddTube

 

AddTube

 

Contact Us: fredsupport@photonengr.com

 

Description

Adds a Tube surface to the associated FRED document.

 

Syntax

n = AddTube ( ent, tubeData )

 

Parameters

n (Long)

Node number for the new surface.

 

ent As T_ENTITY

The generic entity data for the surface.

 

tubeData As T_TUBE

Structure containing data defining the Tube Surface.

 

Remarks

This function adds a Tube (also known as a Cylinder) surface to the associated FRED document and returns the identifier of the newly added surface.  If it fails, an error is posted and the function returns a value of -1.

 

See Also

T_ENTITY

T_TUBE

InitTube

GetTube

SetTube

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC