Community
AutoCAD LT Forum
Welcome to Autodesk’s AutoCAD LT Forums. Share your knowledge, ask questions, and explore popular AutoCAD LT topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Pline macro

2 REPLIES 2
Reply
Message 1 of 3
AcadAdamLT
397 Views, 2 Replies

Pline macro

Hi,

 

Trying to create a macro to first set Plinewid to 5, then iniate pline command and let's you draw the polyline and ends with setting Plinewid to 0.

This is as far as I've gotten: ^C^CPLINEWID;5;^CPL;\

The problem is that the number of user inputs can differ depending on how you draw the line, I would like some way to make the userinput variable to repeat itself until you press enter and then do the string: PLINEWID;0;

 

Can this be archieved?

 

Signature, sincerely... //Adam
AutoCad LT 2016
Give Kudos where credit is due, Mark "accepted as solution" if the post solved your question.
2 REPLIES 2
Message 2 of 3
pendean
in reply to: AcadAdamLT

Not an option. Have two macros, one for zero and one for everything else.

Or just one macro that uses PEDIT and asks the user to set a width after they draw a PLINE (macro would use the LAST selection option, or prompt the user to select one or more)..

Message 3 of 3
AcadAdamLT
in reply to: pendean

That's what I thought =/

wanted one macro to do it all..

Signature, sincerely... //Adam
AutoCad LT 2016
Give Kudos where credit is due, Mark "accepted as solution" if the post solved your question.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost