VBA and 3DSOLID (cylinder)

VBA and 3DSOLID (cylinder)

Anonymous
Not applicable
388 Views
2 Replies
Message 1 of 3

VBA and 3DSOLID (cylinder)

Anonymous
Not applicable
Hi everyone,

I would like to ask the user to pick a cylinder and then do something based on the centers of the end faces of that cylinder and the radius. Is there a way to retrieve this information from VBA?

The bounding box is offset from the face by an amount dependent upon the radius, which I also can't seem to get via VBA.

Is this information available?

Thanks,

Alex
0 Likes
389 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
You could explode the solid (or a copy of it) and get the details from the exploded objects.



Regards



Wayne Ivory

IT Analyst Programmer

Wespine Industries Pty Ltd
0 Likes
Message 3 of 3

Anonymous
Not applicable
Thanks Wayne,

I guess that should have occurred to me, but I was so focused on extracting the information, that I never even thought about it.

Thanks,

Alex
0 Likes