.NET

.NET

Reply
Contributor
mlovitt
Posts: 12
Registered: ‎05-19-2005
Message 1 of 2 (78 Views)

How to make many block references all the same size?

78 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?

Michael
Distinguished Contributor
ChrisArps
Posts: 311
Registered: ‎07-29-2004
Message 2 of 2 (78 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.