fragment.bodynum

Syntax

ir = fragment.bodynum(fg<,i>)

Get the fragment body count. If i is not provided, the last body count is returned. Otherwise, the body count in catalog i is returned where i ranges from 1 to the total number of catalogs. Use the fragment.catalog function or the fragment list command to obtain the catalog information. The fragment.catalog function can be used to obtain the catalog number closest to a specified time.

Returns:

ir - number of bodies

Arguments:

fg - fragment pointer

i - optional catalog number