VBA from Excel does not correctly draw the reinforcement mesh in longitudinal and cross sections in AutoCAD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I’m working with VBA from Excel to generate an AutoCAD drawing of a reinforced concrete chamber in plan view, longitudinal section, and cross section. Everything is drawn correctly, except for the reinforcement mesh in the section views.
The issue is that in the longitudinal and cross-section routines, the steel only appears as a few lines (along the edges and cover), but the full distributed mesh is not generated, unlike what happens in the plan view.
I’m attaching a reference image that shows how the reinforcement should be represented in section. My goal is to:
Correctly draw distributed vertical bars in the walls, based on the defined spacing.
Represent the grid mesh in the bottom slab, with both horizontal and vertical bars.
Ensure the final drawing shows the full reinforcement layout in section, similar to the plan view.
I would really appreciate any help modifying the VBA code to make the section views show the reinforcement correctly.
Thanks in advance.
Figure 1 shows the concrete structure in plan and longitudinal profile.
Attached dwg and excel macro sheet