SPDL: ReferenceWidget for Materials

To filter for materials, use the GUID {FB607CD0-5207-11d0-854E-00A02417D029}. For example:

Defaults
{
    my_materials
    {
       Name = "Materials";
       Description = "Materials to work with";
       UIType = "ReferenceWidget.ReferenceWidget.1"
       {
          # Filter for materials only
          filter = "{FB607CD0-5207-11d0-854E-00A02417D029}";
          # Allow the user to specify several materials
          mode  = "multi";
       }
   }
}


To filter for objects, use this GUID:

filter = "{6B579D20-3DC5-11D0-9449-00AA006D3165}";

This page was last modified 18:49, 2 Nov 2010.
This page has been accessed 3651 times.

© Copyright 2009 Autodesk Inc. All Rights Reserved. Privacy Policy | Legal Notices and Trademarks | Report Piracy