ScottWerkema
Automotive
- May 25, 2011
- 4
Question:
Is anyone aware of a way to get the overall size of displayed objects? I have tried using ufs.Modl.AskBoundingBoxExact() but this only works for a single object. I need to find the dimensions of all objects displayed.
Additional Information:
I am writing a User Function to automate the creation of a drafting sheet with a template. The sheet size is fixed at 8.5in X 11in. On this sheet is a TOP base view. The problem is the view doesn't always fit on the sheet and I need to automate determining the scale of the base view. So I need to know the overall dimensions / size of the objects in the view (objects in the view are visible objects in modeling) or the size the view will be when placed.
Thanks!
Is anyone aware of a way to get the overall size of displayed objects? I have tried using ufs.Modl.AskBoundingBoxExact() but this only works for a single object. I need to find the dimensions of all objects displayed.
Additional Information:
I am writing a User Function to automate the creation of a drafting sheet with a template. The sheet size is fixed at 8.5in X 11in. On this sheet is a TOP base view. The problem is the view doesn't always fit on the sheet and I need to automate determining the scale of the base view. So I need to know the overall dimensions / size of the objects in the view (objects in the view are visible objects in modeling) or the size the view will be when placed.
Thanks!