AoMEngineLibrary.Graphics.Brg.BrgAttachpoint.GetMaxBoxSize C# (CSharp) Method

GetMaxBoxSize() public method

public GetMaxBoxSize ( ) : string
return string
        public string GetMaxBoxSize()
        {
            return Maxscript.NewPoint3<float>("boxSize", 1, 1, 1);
        }

Usage Example

 private void attachpointListBox_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     int index = attachpointListBox.IndexFromPoint(e.Location);
     if (index != System.Windows.Forms.ListBox.NoMatches)
     {
         BrgAttachpoint att = new BrgAttachpoint();
         att.NameId = BrgAttachpoint.GetIdByName((string)attachpointListBox.Items[index]);
         Maxscript.NewDummy("newDummy", att.GetMaxName(), att.GetMaxTransform(), att.GetMaxPosition(), att.GetMaxBoxSize(), att.GetMaxScale());
     }
 }