The following procedures, when defined, allow customization of Geometry Attribute Nodes:

global proc DL_userGeoAttribsInit (string $geo attr node name)

This procedure is called when a geometry attribute node is created using DGA_create() (the 3Delight for Maya user interface always create geometry attributes nodes using that procedure). Invoking DL_userGeoAttribsInit is also the last thing done by DGA_Init(). This procedure can be used to add extra attributes to a newly-created geometry attributes node, or to update these custom attributes when an older scene is loaded. It should be desgined so that it can be called several times with the same geometry attribute node during a session.

global proc DL_userGeoAttribsAEtemplate (string $geo attr node name)

This procedure is called at the end of AEdelightGeoAttribsTemplate(), which is responsible for defining the attribute editor template for geometry attributes nodes. DL_userGeoAttribsAEtemplate can be used to define editor template command for user-defined attributes added to the geometry attribute nodes. 

  • No labels