Author Topic: Is this Macro possible?  (Read 4165 times)

0 Members and 1 Guest are viewing this topic.

craigr

  • Guest
Is this Macro possible?
« Reply #15 on: June 03, 2005, 03:03:53 PM »
'Change' does work - kinda'.

Here are the properties it offers to change -

Enter property to change [Color/Elev/LAyer/LType/ltScale/LWeight/Thickness]:

The only thing left is Font type, Arial, and Text Size, .08. I tried the LtScale, but that didn't do it. (I believe that is for the MASTER scale.)

But, we're getting closer.

craigr

VerticalMojo

  • Guest
Is this Macro possible?
« Reply #16 on: June 03, 2005, 03:16:24 PM »
This is ugly but ..... it works.

Code: [Select]
^C^C-mtext;1;h;.08;s;Arial;2;x;;change;last;;p;c;bylayer;la;0;;_matchprop;last;\;erase;last;;

craigr

  • Guest
Is this Macro possible?
« Reply #17 on: June 03, 2005, 03:28:38 PM »
VerticalMojo -

I walked thru your macro and understand everything but the 'x'.

You are basically doing the same thing that I came up with, except that I inserted a block that already has all of our 'standard' properties, then did a 'matchproperties' from it.

The problem was that you could only do one entity per click of the icon.

Which now that I think of it, I wonder if a * before the macro would fix it?

 :? craigr

VerticalMojo

  • Guest
Is this Macro possible?
« Reply #18 on: June 03, 2005, 03:44:38 PM »
I thought of the block way but I didn’t want to have it connected to anything..... This way you don’t need a block. The "X" is just temporary text that is inserted then deleted at the end of the macro. That’s what makes it ugly, but its the only thing I came up with.

If you add another  _matchprop after the macro you can match the last change and continue with the command. Kinda like this....

Code: [Select]
^C^C-mtext;1;h;.08;s;romans;2;x;;change;last;;p;c;bylayer;la;0;;_matchprop;last;\;erase;last;;_matchprop;

or in your code...

Code: [Select]
^C^C-insert;size08;\;;;explode;last;matchprop;last;\;erase;last;;_matchprop;

so the first change you would have to select twice

craigr

  • Guest
Is this Macro possible?
« Reply #19 on: June 03, 2005, 03:46:58 PM »
Well, I'm close....

^C^C-insert;size08;\;;;explode;last;matchprop;last;\;erase;last;

The only problem remaining is to erase the inserted block only.

I guess could insert it at a point that I KNOW would NEVER have anything else there, then erase that coordinate once I am finished with the macro.

craigr