How to iterate through all the 3d solids in a drawing?

How to iterate through all the 3d solids in a drawing?

Anonymous
Not applicable
280 Views
1 Reply
Message 1 of 2

How to iterate through all the 3d solids in a drawing?

Anonymous
Not applicable
HI
does anyone know the VBA code to iterate through all the 3D solids present in a drawing? I want to find the volume of each 3D solid through that iteration
0 Likes
281 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Hi,

If you search this Newsgroup - or the help files - or the web you will find
hundreds of examples of the code you need.

The psuedo code you need is

Set filter values so you select 3Dsolids only
Create a selection set of all the 3DSolids
Loop through your selection set dealing with each 3DSolid in it to get the
required data and adding it to the data you want to output.

--

Laurie Comerford
CADApps
www.cadapps.com.au
wrote in message news:5194864@discussion.autodesk.com...
HI
does anyone know the VBA code to iterate through all the 3D solids present
in a drawing? I want to find the volume of each 3D solid through that
iteration
0 Likes