Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Part of my code constructs a block and replaces any instances of it. Before it does this, it searches for the instances and records where they are and their (actual) size.
In order to replace like for like, I create new instances of the symbol, but to get the size correct I need to setScaleFactors on the AcDbBlockReference. But in order to calculate the scale factors I need to know how big the block is originally (i.e., in the AcDbBlockTableRecord). There doesn't seem to be a easy way to get at this info.
Do I have to place the block with scales of 1,1,1, find its extents and then rescale? That seems really convoluted for something many people would want to do?
Solved! Go to Solution.