Message 1 of 2
Block with attributes scaling - what am I doing wrong?

Not applicable
11-29-2012
07:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey,
I'm trying to make some command which allows me to easily scale blocks.
I've this code:
BlockReference br = (BlockReference)obj as BlockReference; br.ScaleFactors = new Scale3d(0.5, 0.5, 1);
Everything is ok, lines, circles, etc. in block are scalling correctly.
But I have problem with attributes (look at the image) - attributes are not scaling and their position are not correct.
Simple command ("scale") is working OK, so what am I doing wrong?