.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How To Edit The Entities Of A Block

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
NEP_perpetual
357 Views, 2 Replies

How To Edit The Entities Of A Block

Hi,

 

I've been searching and searching but I can't figure out how to do this.

 

My goal is to modify the actual entities that make up a block.  Is this possible?

 

So far all that I've discovered is how to get a block's Block Table Record and add things to it.

 

Dim btr As BlockTableRecord = m.Trx.GetObject(m.BlkTbl("The Name Of The Block"), OpenMode.ForWrite)

How can I get a list of entities in the block and edit them?

2 REPLIES 2
Message 2 of 3

Try this.

This code will change the actual text content inside a block

http://www.acadnetwork.com/index.php?topic=313.0

Message 3 of 3

Thanks!  I didn't expect it to be so easy!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost