Message 1 of 1
Bill of materials and balloons with Autocad2007

Not applicable
07-09-2007
01:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a VBA to draw 3D solid steel profiles. Information about size and materials are added as XDATA (GetXData, SetXData).
I’ve also made a macro to build a list of materials and attach a balloon to the profile, linked to the BOM. To link, I just put the balloon line inside 3dsolid, so I can select it with SelectAtPoint.
Everything works fine if 3Dsolid and balloon (with number) are both on model space.
If I use paperspace (as I do often), 3Dsolid will be on modelspace, and some balloons must be on paperspace because of rotation of viewpoint of viewport.
How can I link balloons on paperspace with 3dsolids in modelspace? I can not use SelectAtPoint anymore.
Thanks.
I’ve also made a macro to build a list of materials and attach a balloon to the profile, linked to the BOM. To link, I just put the balloon line inside 3dsolid, so I can select it with SelectAtPoint.
Everything works fine if 3Dsolid and balloon (with number) are both on model space.
If I use paperspace (as I do often), 3Dsolid will be on modelspace, and some balloons must be on paperspace because of rotation of viewpoint of viewport.
How can I link balloons on paperspace with 3dsolids in modelspace? I can not use SelectAtPoint anymore.
Thanks.