Esempio n. 1
0
 public static bool HasTag(this ObjectId id, string tag)
 {
     using (var trans = id.Database.TransactionManager.StartTransaction())
     {
         var dbo = (DBObject)trans.GetObject(id, OpenMode.ForWrite);
         return(DbHelper.HasTag(dbo, tag));
     }
 }