A couple of weeks ago, I posted about adding a password field to a PPG with the ES_PASSWORD edit style (from winuser.h).
Here’s a couple of other edit styles you can use; just run this script in the Softimage script editor.
/ Create CustomProperty var oCustomProperty = XSIFactory.CreateObject( "CustomProperty" ); // Add Parameter(s) to the custom property oCustomProperty.AddParameter( "password", siString, siClassifUnknown, siSilent, "", "", "", "", 0, 1, 0, 1 ); oCustomProperty.AddParameter( "lowercase", siString, siClassifUnknown, siSilent, "", "", "", "", 0, 1, 0, 1 ); oCustomProperty.AddParameter( "UPPERCASE", siString, siClassifUnknown, siSilent, "", "", "", "", 0, 1, 0, 1 ); // PPG Layout oLayout = oCustomProperty.PPGLayout; oLayout.Clear(); var oItem = oLayout.AddItem( "password", "Password", siControlEdit ); oItem.SetAttribute( siUIStyle, 32 ); // ES_PASSWORD var oItem = oLayout.AddItem( "lowercase", "lowercase", siControlEdit ); oItem.SetAttribute( siUIStyle, 16 ); // ES_LOWERCASE var oItem = oLayout.AddItem( "UPPERCASE", "UPPERCASE", siControlEdit ); oItem.SetAttribute( siUIStyle, 8 ); // UPPERCASE InspectObj( oCustomProperty );