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

GetMaxName() public method

public GetMaxName ( ) : string
return string
        public string GetMaxName()
        {
            return String.Format("Dummy_{0}", this.Name);
            //return String.Format("atpt{0:D2}.{1}", Index, this.Name);
        }

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());
     }
 }
All Usage Examples Of AoMEngineLibrary.Graphics.Brg.BrgAttachpoint::GetMaxName