...
The following attributes allow the user to call custom MEL scripts before and after the attached object’s geometry is output. If these attributes are attached to several objects, they will be called once for each object. These attributes are empty by default.
Pre Geo MEL Script
This attribute specify a MEL script that will be executed before the geometry is exported. More precisely, this script is called after all attributes of this "Geom- etry Geometry Attribute Node" are output and right before the geometry is instantiated. If this attribute is attached to several objects, it will be called once for each object. This attribute is empty by default.
Post Geo MEL Script
This attribute specify a MEL script that will be executed after the geometry is exported. More precisely, this script is called right after the geometry is instantiated. If this attribute is attached to several objects, it will be called once for each object. This attribute is empty by default.
The following table explains that the variables that are automatically defined in the context of MEL scripts execution.
| Variable Name | Description |
|---|---|
| string $render_pass | This variable is assigned Assigned as the currently rendered pass node name. |
| string $shape_path | This variable is assigned Assigned as the current object shape path.‘ |
string $attribs_node | This variable is assigned Assigned as the current geometry attribute node name. |