
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi. I'm trying to create blocks in VBA. Each block will contain various objects (circles, polylines, mleader) representing trees - a TreeBlock. The size of the various objects in the block will vary for each tree. (I read the dimensions for each tree from an excel file).
I want to use an mleader as the label for each TreeBlock I create, BUT need to be able to move the mleader around without moving the block as a whole. So I created a dynamic block called "TLabel" using an mleader with a point parameter and a stretch action. So now when I create a TreeBlock I wish to add my existing "TLABEL" block to this and exit the textstring of the mleader. But, how do I add my "TLabel" block to my "TreeBlock" - there is no addblock method for the block object! And when I do, how will I edit the textstring property of the mleader, without exploding the block and losing its dynamic property - I suspect using attributes?
Any help gratefully received.
Solved! Go to Solution.