Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Any downsides or things I need to watch out for when iterating through an xref like this?
var xdb = bd.GetXrefDatabase(false);
if (xdb != null)
{
using (Transaction xrt = xdb.TransactionManager.StartTransaction())
{
BlockTableRecord btRecord = (BlockTableRecord)xrt.GetObject(SymbolUtilityServices.GetBlockModelSpaceId(xdb), OpenMode.ForRead);
"Very funny, Scotty. Now beam down my clothes.
Solved! Go to Solution.