×
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

Dimension Names and Drawings

Dimension Names and Drawings

Dimension Names and Drawings

(OP)
I need to show Dimension names when I create design tables but when I create a drawing i have to turn them off to print it.

Is there an easier way?

RE: Dimension Names and Drawings

When you're applying the dimensions in the sketch rename them and then you will know the name for DT creation

Heckler
Sr. Mechanical Engineer
SWx 2007 SP 3.0 & Pro/E 2001
XP Pro SP2.0 P4 3.6 GHz, 1GB RAM
NVIDIA Quadro FX 1400
      o
  _`\(,_
(_)/ (_)

(In reference to David Beckham) "He can't kick with his left foot, he can't tackle, he can't head the ball and he doesn't score many goals. Apart from that, he's all right."  -- George Best

RE: Dimension Names and Drawings

Quote:

I need to show Dimension names when I create design tables
Why? I definitely agree with giving the dimensions names, but to populate a DT all that is needed is to click on the dimension (or use the Auto-create option). The name only really becomes relevant to make the DT easier to understand.

cheers
SW07-SP3.1
SW06-SP5.1

RE: Dimension Names and Drawings

I can certainly understand why you would want to toggle visibility of dimension names.  We use highly configurable custom purchased parts all the time.  The part number that we purchase by is a 4 character alpha shape designator, 2-3 character alpha material designator, then a long string of dimension names and values.  It's easy to build the part number using named dimensions and a design table.

That said, I assume you are wanting a one-click solution.  You can map this macro to a button.  It will toggle display of dimension names.  Enjoy!

CODE

Sub DimNameDispToggle()

Dim swApp As SldWorks.SldWorks
Dim swDoc As SldWorks.ModelDoc2

Set swApp = Application.SldWorks
Set swDoc = swApp.ActiveDoc

swApp.SetUserPreferenceToggle swShowDimensionNames, _
    Not CBool(swApp.GetUserPreferenceToggle(swShowDimensionNames) + 0)

swDoc.EditRebuild3

End Sub

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