Message 1 of 2
Retrieving BlockTableRecord id
Not applicable
07-26-2021
11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey all - I'm trying to retrieve a BlockTableRecord using the transaction.GetObject() method, but the current implementation throws an exception. Here it is:
BlockTableRecord destBTR = trans0.GetObject(destBT[BlockTableRecord.ModelSpace], OpenMode.ForWrite) as BlockTableRecord;Does anyone have advice on a better way of getting this object? Thanks.