Author Topic: Macro Help  (Read 1720 times)

0 Members and 1 Guest are viewing this topic.

ML

  • Guest
Macro Help
« on: October 28, 2004, 04:56:15 PM »
Ok, Here is an example of "one" of these macros, I have a lot of other scales covered as well, including a specify scale macro.

I use this to copyclip the viewport, go to Modelspace, scale it up to the specified multiplier (in this case 48 for 1/4") then the viewport is converted to a block. I would like to continue to use this macro but have the Viewport get converted into a rectangular polyline instead. Can anyone help me? I would like to keep this macro as much as in tact as possible but all modifications are welcome

Thank you

Mark


^C^Ccopyclip;\;(setvar "tilemode" 1);-layer;s;defpoints;;pasteblock;s;48;\(setvar 'clayer "0");





[/url]

danny

  • Guest
Macro Help
« Reply #1 on: October 28, 2004, 08:08:07 PM »
try pasteclip instead of paste block.
Code: [Select]
^C^Ccopyclip;\;(setvar "tilemode" 1);-layer;s;defpoints;;pasteclip;s;48;\(setvar 'clayer "0");

ML

  • Guest
Macro Help
« Reply #2 on: October 28, 2004, 08:20:26 PM »
Hey Danny

It is funny that you replied,
I actually tried the lisp routine that you previously gave me for this.
I like it, I like the way it makes the Viewport a Polyline but I need my scale portion and the prompt for insertion.
I would like to make the viewport in "my" macro become a polyline but I use pasteclip, it will remain a Viewport, that is why I used pasteblock

Do you think you can make my macro convert the viewport to a PL?

Thank you

Mark