Author Topic: Scale By Selecting Text Height  (Read 1311 times)

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Gator
  • Posts: 2603
  • I can't remeber what I already asked! I need help!
Scale By Selecting Text Height
« on: June 28, 2016, 07:57:01 AM »
If you have two blocks at different scales, and you want to match the text height of one to the other. How can you do that?
Civil3D 2020

Lee Mac

  • Seagull
  • Posts: 12923
  • London, England
Re: Scale By Selecting Text Height
« Reply #1 on: June 28, 2016, 08:00:46 AM »
If you have two blocks at different scales, and you want to match the text height of one to the other. How can you do that?

Determine text height from block definition of target block and multiply by target block scale; divide result by text height within block definition of block to be modified; set block scale to result.

MSTG007

  • Gator
  • Posts: 2603
  • I can't remeber what I already asked! I need help!
Re: Scale By Selecting Text Height
« Reply #2 on: June 28, 2016, 08:03:24 AM »
Yup, I get that one. I just did not know if there was a routine that I could select a text height in one block and one in another block. then the second block scales the whole block to the first block? Does that make sense?
Civil3D 2020

ChrisCarlson

  • Guest
Re: Scale By Selecting Text Height
« Reply #3 on: June 28, 2016, 08:06:52 AM »
Its relatively easy, provided neither block is annotative.

roy_043

  • Water Moccasin
  • Posts: 1895
  • BricsCAD 18
Re: Scale By Selecting Text Height
« Reply #4 on: June 28, 2016, 08:09:54 AM »
Yup, I get that one. I just did not know if there was a routine that I could select a text height in one block and one in another block. then the second block scales the whole block to the first block? Does that make sense?
I think you are looking for (nentsel).

MSTG007

  • Gator
  • Posts: 2603
  • I can't remeber what I already asked! I need help!
Re: Scale By Selecting Text Height
« Reply #5 on: June 28, 2016, 05:49:17 PM »
I have been toying around on this today. Is it possible to have a user select a line length within a block and then use that as a reference to scale up another block?

I have been trying to setup a macro to do this, I just cant figure it out.

So the user would have two blocks (Could be the same at different scales or 2 total different blocks)

User would select a line entity within block 1 (which would grab the length)

It would prompt user to select target block 2 entity.

User would select a line that is not the same length as block 1.

Routine would then compare the lengths and scale block 2 to match the same length of the line that was initially selected.

I was trying a script but that blew up! lol.

Thanks for any help on this guys.
Civil3D 2020