Independent Software Solutions 

CONTENTS

  CSM ENTITY TO GROUP


Functions

Synopsis

return CSM ENTITY TO GROUP( entity index As Integer ) As Integer

Purpose

This function returns the group specified by the entity index.  If the entity does not belong to the group, the return value is -1.  Otherwise it returns the group index.

Parameters

entity index

Specifies the entity index >=0 and <total.  Use the CSM COUNT function to obtain the total number for a specific type.

Return value

Returns the group identifier that the specified entity may belong to.  Or -1 if it does not.

Also see

CSM OBJECT TO GROUP, CSM GROUP TO OBJECT,
CSM PIVOT TO GROUP, CSM MESH TO GROUP

 

(C) Paul S. J. Millard 2006