vba for editing block text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good afternoon.
I'm using autoCAD 2016, and while I've been using VBA in Excel for years, doing it in AutoCAD is a new experience for me.
I've created a user form to input text values into a block, using combo-boxes. I'm looking to create a macro which will allow me to edit the block, based on the values selected in the combo boxes.
As I've read through some of the discussions, I've come to realize that I may not entirely understand what I'm specifically wanting to have edited.
Below are two images of the block, and the properties window, of that block.
This is the block, activated, on a layout tab.
This is the property window of that block.
What I'm curious about here is which are the attributes, and what are the final, editable values/text. My goal is to edit the items on the right side of the property window--- in the block, using my user form.
The user form to edit this particular block is just trhe first of many which I'll be creating. So, my goal is to have a generic enough set of code which will edit the values-- which are in the block, based on the values defined in the combo-boxes I'll be using.
If any of this is not clear--- please let me know, and I'll respond as soon as I am able.
TYIA.