Message 1 of 2
Converting Block statements form VB.net to C sharp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
What is the C sharp equivalent for the 3 statements.
Dim bt As BlockTable = db.BlockTableId.GetObject(OpenMode.ForRead) Dim btr1 As BlockTableRecord = bt(Me.TextBox4.Text).GetObject(OpenMode.ForRead) Dim objIdColl As ObjectIdCollection = btr1.GetBlockReferenceIds(True, True)
Me.TextBox4.Text is a string which is a block name.
Thank you,