SampleRule getByGroupResourceId

From Catglobe Wiki
Jump to: navigation, search

SampleRule_getByGroupResourceId

Get all sample rule of a group

Syntax

SampleRule_getByGroupResourceId(number groupRId);

Arguments

number groupRId

Return type

Array of SampleRule object

Example

array a = SampleRule_getByGroupResourceId(15599876);//{SampleRule,SampleRule}
for(number i=0; i<a.Count;i++)
{
	SampleRule sr = a[i];
	print(sr.SizeWithData ); 
	
}