public static void ColneToMultiText()
        {
            DBText sourText = null;

            DBText[] targetTexts = null;

            var doc = Application.DocumentManager.MdiActiveDocument;
            var peo = new PromptEntityOptions("\n" + CommandStringResources.ResourceManager.GetString("SelectSourceText", GLOBAL.CurrentCulture));

            peo.SetRejectMessage("\n" + CommandStringResources.ResourceManager.GetString("ObjectTypeIsNotSupported", GLOBAL.CurrentCulture));
            peo.AddAllowedClass(typeof(DBText), false);

            var per = doc.Editor.GetEntity(peo);

            if (per.Status != PromptStatus.OK)
            {
                return;
            }

            var sId = per.ObjectId;

            using (var tr = doc.TransactionManager.StartTransaction())
            {
                var t = tr.GetObject(sId, OpenMode.ForRead) as DBText;
                if (t != null)
                {
                    sourText = t;
                }
            }
            //doc.Editor.WriteMessage("\nSource Text Content: " + sourText.TextString);
            targetTexts = EntitySelector.SelectMultiDbText("\nSelect Target Text(s)");
            if (targetTexts == null)
            {
                return;
            }
            using (Transaction tr = doc.TransactionManager.StartTransaction())
            {
                int index = 0;
                foreach (DBText t in targetTexts)
                {
                    var text = tr.GetObject(t.ObjectId, OpenMode.ForWrite) as DBText;
                    if (text != null)
                    {
                        text.TextString = sourText.TextString;
                        index++;
                    }
                }
                tr.Commit();
                //doc.Editor.WriteMessage("\nCloned " + index + (index > 1 ? "  Texts" : " Text"));
            }
        }