Skip to content

PrintModel

This event is triggered before a model is printed.

Parameters

ParameterDescription
modelid (idValue, optional) -ue, the ID of the model to be printed.

Exit value:

Remarks

See Also

Example :

leo-grammar
  	
	ON_EVENT "BeforeBuildGrModel" {
	
	SET id_ModelId: (modelid)
	
	CC "AdoScript" INFOBOX ("You are printing the model:  " + STR(id_ModelId))
	
	}
  	
	ON_EVENT "BeforeBuildGrModel" {
	
	SET id_ModelId: (modelid)
	
	CC "AdoScript" INFOBOX ("You are printing the model:  " + STR(id_ModelId))
	
	}