Navigation: Scripting Reference Manual > Functions & Subroutines > AddGlue

 

AddGlue

 

Contact Us: fredsupport@photonengr.com

 

Description

Glues a surface to another surface in the associated FRED document.

 

Syntax

glueNum = AddGlue ( n, glueSurf, glueMat )

 

Parameters

glueNum (Long)

The total number of glue pairs attached to the surface n.

 

n As Long

Node number of the surface to glue.

 

glueSurf As Long

Node number of the surface to be glue to.

 

glueMat As Long

Identifier of the material to be used as the glue.

 

 

Remarks

This function glues a surface to another surface in the associated FRED document.  If there is a problem, the function sets an error, returns 0, and does not glue the two surfaces together.

 

Note that that gluing two surfaces together places a glue specification on both surfaces.  A surface may be glued to more than one other surface.

 

See Also

GetIthGlue

SetIthGlue

DeleteIthGlue

GetGlueCount

Examples

Surfaces

 

 

 

 

 

Copyright © Photon Engineering, LLC