Jump to content

repeat FS command in macro


Recommended Posts

hi

im trying to repeat FS command in macro using:

 

*^C^Cfs

it results with endless loop 

 

whats wrong?

 

Thanks

S

Link to comment
Share on other sites

  • 1 month later...

No, that isn't a typo. Starting a command name with a star will cause the command to repeat.

That macro should work. Maybe you just used it in a wrong way?

Working in AutoCAD, you can first select some objects and after that select a command, meaning what do you wish to do with those selected objects.

For simplicity, let's say that you wish to start the Move command.

There are many ways to make a selection set, using FS is one of them.

To use the FS command like that, start the macro you wrote. Select a "touching object", select an other "touching object" (because the FS repeats itself), and again... until the selection is complete. At that point, having objects selected, click the icon for the Move command. It first stops any other running command (that's the role of the ^C^C at the beginning). So that will stop the macro, -but those objects will remain selected- and the Move command will be started. Because already are objects selected, there will be no "select objects" prompt.

Probable the "noun/verb selection" must be enabled, you should right-click in the command line, go to Options, than Select tab and Selection modes to verify that.

Link to comment
Share on other sites

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...