You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The following attributes allow the user to call custom MEL scripts before and after the attached object’s geometry is output.

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 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 variables that are automatically defined in the context of MEL scripts execution.

Variable NameDescription
string $render_passThis variable is assigned the currently rendered pass node name
string $shape_path This variable is assigned the current object shape path.‘ 

string $attribs_node

This variable is assigned the current geometry attribute node name
  • No labels