Message 1 of 8

Not applicable
12-03-2011
01:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I wish to insert a title sheet dwg, which has attribute definitions, as a block in another dwg.
I can insert it, and if I explode it, the attribute definitions appear. Otherwise they are not added to the database.
I am using standard code, which I can attach if it helps.
it starts
Dim btr As BlockTableRecord
..
Dim blk As BlockReference = New BlockReference(ip, blkid) ' insert block
..
btr.AppendEntity(blk)
If btr.HasAttributeDefinitions Then
ForEach attID As ObjectId In btr
etc.
but btr.HasAttributeDefinitions = False
Please help?
Solved! Go to Solution.