Jump to content

rename blocks a 1000 times


CADkitt

Recommended Posts

Well some I got the question that there could be renumbering the parts...

Okey renumbering drawing names are easy but the blocks are the real problem.

I have 3 views front view side view and top view.

They have numbers and should change...

Now my idea was:

Change filename to new number, goes mostly automatic.

And then: Rename *-TV* to dwgname-TV

This all works fine when you use the rename menu, but the wild tags don't work in the command window. So simple -rename "b" "*-TV*" "dwgname-tv" doesn't work.

Job offers are welcome too... :P

Link to comment
Share on other sites

You could step through your block definitions and use vl-string-subst on any block name that matches your criteria. You could use wcmatch or vl-string-search to weed out the blocks that match.

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