×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Renaming for Quality inspection.

Renaming for Quality inspection.

Renaming for Quality inspection.

(OP)
Hi, I need one Macro to change the name of one dimensión selected. I've been using the Handleman's macro and I have modified it to place one value for each view and another for the dimensions, like (1,1), (1,2) ..... (2.1), (2.2), see the attached file. The problem is when I need to run the macro for second time, becuase I have removed or added another dimension, the macro rename all dimensions again!
To avoid this I need to run a second macro to place the name that I need for the new selected dimensions.
Can anyone help me, please?,

Thank you in advance,

…and Good job Handleman.

http://www.eng-tips.com/viewthread.cfm?qid=193453#...

RE: Renaming for Quality inspection.

I would suggest getting away from the macro programs. I am not sure what version of Solidworks your working with but there is a much easier way. You could set up many different scenarios to achieve the same result. Could you explain more as to why you need a macro to do this?

RE: Renaming for Quality inspection.

(OP)
Hi goodguy1405, thank you for the answer,
With modified Handleman´s macro I have found the solution that I need, each dimension has a unique identifier (1,1) (1,2)….. and I can show or hide the IDs .



The problem is when I need to do a modification on the 3D model and this change is showed in the plane.
When I add a new dimension on the drawing, in one view, I need to pass the macro again to give new ID for that new dimension, but executing the Macro again it renames the rest of the dimensions ID. A dimension must always have the same identifier, it can never be changed.
This is the reason why I need a new Macro to modify the ID of the new selected dimensions without change the old ones.

Thank you.

RE: Renaming for Quality inspection.

(OP)
Sorry, i´m working with Solidworks Professional 2012 SP 2.0
Thanks

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources