Jump to content

Recommended Posts

Posted

When I select break at point, I want it to break at the point only (obviously)

but when I right click to repeat the command and use it again, it actually makes a gap in the line. I mean I have to reclick the icon time and time again.

How can I stop this so it carries out the 1st action only and not split and gap the line?

 

Ive checked the CUI, ^c^c_break\_f\@ and tried to alter this but to no avail.

Any ideas?

Posted

One of my very first LISPs :P

 

(defun c:breakat ()
   (command "break" PAUSE "F" PAUSE "@")
   (princ)
)

Posted

I think you need 2 x @

the first to reselect the first point (already selected) and the second to repeat it.

Posted

needs 2 here on 2008, but that was typing on the command line - haven't tried it as a macro.

Posted

OK, tried it as a macro and you're right - didn't need it.

 

This worked though...

 

^C^C_break \@ 

Posted

You can also put an asterisk in front of the macro like this:

 

*^C^C_break \_f \@

 

You will then remain in the command until you ESC out of it.

Pick a line, pick the break point; pick a line, pick a break point, etc.

No right-click needed.

 

Handy thing, that asterisk.

 

Steve

Posted

Using the asterisk in front of button macros is a real time-saver, and the Break-at-Point is much more tolerable this way, especially if there are a lot of breaks to make.

 

The interesting thing I've found with this particular macro is that a space is needed at the end, not a semi-colon. Haven't quite figured that one out yet.

 

Steve

Posted

The interesting thing I've found with this particular macro is that a space is needed at the end, not a semi-colon. Haven't quite figured that one out yet.

 

A space is equivalent to a semi-colon or new-line I thought in macros :huh:

Posted

You're right, Lee.

I just tried both ways, and either semicolon or space will work at the end of that macro.

When I checked the AutoCAD macro syntax there was a space at the end instead of a semicolon. I must have confused it with a custom macro I use at work, which must have a space at the end.

 

Steve

Posted

I think we all learned a little something from this question.

I'll give it a try at work 2morrow.

I'll mix it up and try all the different possibilities to see which works better with my draughting style. (seeing as everyone is diffo)

 

Thanks once again guys.

  • 2 weeks later...
Posted

I used Stevie' macro code, worked a treat, thanks to all guys

 

I dont know why i have underline on, i tried to turn it off. doesnt work.???

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...