Posts: 12
Registered: ‎05-19-2005
Message 1 of 2 (77 Views)

How to make many block references all the same size?

77 Views, 1 Replies
11-15-2005 05:26 PM
I have several block references in a drawing that I imported from other DWGs using the Database.readDwgFile() method. They're all rectangularly shaped, and I want them all to be the same width. I can scale them using the BlockReference.ScaleFactors property, but it's unclear what values to use to make their widths the same.

Is there another way to set a BlockReference's width and height?

Distinguished Contributor
Posts: 311
Registered: ‎07-29-2004
Message 2 of 2 (77 Views)

Re: How to make many block references all the same size?

11-18-2005 09:20 AM in reply to: mlovitt
A block is simply a collection of geometry with scale factors and a rotation angle. Width and Height don't really apply.

If you create your block as a 1unit by 1unit square, then the X and Y scale factors will correspond to width and height.

Chris Arps
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.