Message 1 of 5
Anybody working with simple AutoCAD Surfaces in VBA?
Not applicable
03-23-2001
12:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all.
I need to generate many 'boxes' by reading values from a database.
I started off by using the Acad3DSolid, but the dwgs are ending up just too
large 6+ megs, and my test is placing about 1600 boxes, and I'll eventually
need to place many more.
So I thought I would try creating the ai_box (3D surface), but there is no
method in VBA for creating this, so you have to create it manually using the
IAcadPolygonMesh object. But the problem with this is you need to pass it
54 coordinates just to create a simple box! This just seems complex, and
there must be a more efficient method?
So I'm just curious if anybody has been working with surfaces, and what
might be some efficient methods to work with them.
Any info creatly appreciated.
Warren Medernach
I need to generate many 'boxes' by reading values from a database.
I started off by using the Acad3DSolid, but the dwgs are ending up just too
large 6+ megs, and my test is placing about 1600 boxes, and I'll eventually
need to place many more.
So I thought I would try creating the ai_box (3D surface), but there is no
method in VBA for creating this, so you have to create it manually using the
IAcadPolygonMesh object. But the problem with this is you need to pass it
54 coordinates just to create a simple box! This just seems complex, and
there must be a more efficient method?
So I'm just curious if anybody has been working with surfaces, and what
might be some efficient methods to work with them.
Any info creatly appreciated.
Warren Medernach