Skip to content

MoveMGroup ​

This event is triggered after a model group has been moved out from its original parent model group into another model group.

Parameters ​

ParameterDescription
mgroupidintValue, ID of the moved model group.
oldsupermgroupidintValue, ID of the old parent.
newsupermgroupidintValue, ID of the new parent.

Exit value: ​

Remarks ​

See Also: ​

Example ​

leo-grammar
	ON_EVENT "MoveMGroup" {
	
	SETG id_MGroupId: (mgroupid) 
	SETG id_OldSGroupId: (oldsupermgroupid) 
	SETG id_NewSGroupId: (newsupermgroupid)
	
	CC "AdoScript" INFOBOX ("GroupId:   " + STR(id_MGroupId)  + "  OldSuperMGroupId:  " + STR(id_OldSGroupId) + 
	"  NewSuperMGroupId:   " + STR(id_NewSGroupId))
	}