Navigation: Scripting Reference Manual > Functions & Subroutines > DeleteGroup

 

DeleteGroup

 

Contact Us: fredsupport@photonengr.com

 

Description

Deletes a particular group in the associated FRED document.

 

Syntax

numGroups = DeleteGroup ( n )

 

Parameters

numGroups (Type)

Will hold the total number of groups left after the deletion.

 

n As Long

Node number of the group.

 

Remarks

This function deletes a particular group in the associated FRED document.  The command does not delete the actual entities referenced by the group.  It only removes their association with the group before the group definition is deleted. If there is a problem the function returns 0 and does not set an error.

 

See Also

AddGroup

FindGroup

GetGroupName

SetGroupName

Examples

 

 

 

 

 

Copyright © Photon Engineering, LLC