Message 1 of 3

Not applicable
05-28-2017
10:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So i have a block made up of a circle and 2 attributes. When i am in acad and use the insert command it inserts just fine, everything is there.
I have a program that searches the current drawing to see if this block exists in the blocktable, and if it does i insert it into the drawing but only the circle show up, not the attributes. I say that i "insert" this block from code but im not sure that's accurate. I append it to the blocktablerecord and then use the addnewlycreatedDBObject, true command.
When i do this with a block made of anything else, like lines, text, shapes, etc it inserts just fine. It is only the atttibutes that dont show up.
Do i need to define the attributes before "inserting" it or something? The attributes are already part of the block that is already in the drawing. I just cannot figure out how to get this block with its attributes, that already exists in the current drawing to insert.
Thanks for any assistance,
James
I have a program that searches the current drawing to see if this block exists in the blocktable, and if it does i insert it into the drawing but only the circle show up, not the attributes. I say that i "insert" this block from code but im not sure that's accurate. I append it to the blocktablerecord and then use the addnewlycreatedDBObject, true command.
When i do this with a block made of anything else, like lines, text, shapes, etc it inserts just fine. It is only the atttibutes that dont show up.
Do i need to define the attributes before "inserting" it or something? The attributes are already part of the block that is already in the drawing. I just cannot figure out how to get this block with its attributes, that already exists in the current drawing to insert.
Thanks for any assistance,
James
Solved! Go to Solution.