×
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

EditDimension2 API

EditDimension2 API

EditDimension2 API

(OP)
This seems simple enough but it isnt working the way I want it to.  I am trying to have the user select a holedimension, hit a hot key, select the type of note they wish to use for the hole (csink, cbore, etc) and be done with it.  I have gotten everything working expect for the adding of the note to the dimension.  I acts as if it works (i.e. displays the information correctly), but doesnt save it for some reason.  It is difficult to explain, so if you are extremely bored and want to help out, try recording a macro to achieve this and see if you can repeat it.  Thanks.

RE: EditDimension2 API

if I understand this correctly, I can think of three different ways to do this, depending on what you want the dimension to look like.

If you're using hole wizard, find the icon for "hole callout", it's in the annotations toolbar (or insert, annotations, hole callout).  It looks like a c'bore & diameter symbol.  Then click that on the hole and you're settings in holewizard determine the callout.  You can do a search for callout.txt and modify the way the holes are called out in this style of dimensioning.

otherwise,  dimension the hole, overwrite the dimension by copying and pasting over the dimension with the desired text, and click ok.  One advantage of this is that the leader always points to the center of the hole.  You're basically turning a dimension into a note.

If you're trying to do a little bit fancier hole notes, example:  bold, italics, underline, certain size fonts, layers or colors, certain typed text --  lookup "Dimension Favorites" in the help menu.  It's worth the few minutes it takes to read up on them.  Few people seem to use dimension favorites but they work great for all kinds of situations in drawings, and you can save them as if they were a separate file so you can re-use them again and again on other drawings or even other computers.  When you make a simple dimension in a drawing, there's five little icons on the left, at the top of the feature manager window, it's the dimension favorite icons.  you may be able to figure them out without the help menu, they are pretty simple.

I'm sure there's other ways too.
Good Luck

RE: EditDimension2 API

(OP)
Thanks....this is alot easier than I was making it out to be :)

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