Navigation: Scripting Reference Manual > Functions & Subroutines > IsElementPrimitive

 

IsElementPrimitive

 

Contact Us: fredsupport@photonengr.com

 

Description

This function checks to see if a node is, or is not, an element primitive.

 

Syntax

flag = IsElementPrimitive( node )

 

Parameters

flag ( Boolean )

True if node is an element primitive.  False if node is not an element primitive.

 

node as Long

Node number being checked.

 

Example

Dim ent As T_ENTITY

Dim eNode As Long

InitEntity ent

eNode = ElemAddBlock( ent )

Update

Print IsElementPrimitive( eNode )

 

 

See Also

Element Primitive Script Commands

Element Composite (boolean) Script Commands

 

 

 

 

 

Copyright © Photon Engineering, LLC