Skip to content

CreateMGroup ​

This event is triggered after a model group has been created.

Parameters ​

ParameterDescription
mgroupidintValue, ID of the created model group.
supermgroupidintValue, ID of the new group's parent.
mgroupnameSTRValue, Name of the created model group.

Exit value: ​

Remarks ​

See Also ​

Example ​

leo-grammar
  ON_EVENT "CreateMGroup" {
  
  SETG id_MGroupId: (mgroupid)
  SETG id_SuperMGroupId: (supermgroupid)
  SETG id_MGroupname: (mgroupname)
  CC "AdoScript" INFOBOX ("ModelGroupId:   " + STR(id_MGroupId)  + 
  "  SuperModelGroupId:  " + STR(id_SuperMGroupId) + 
  "  ModelGroupName:   " + (id_MGroupname))
  }