×
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

How get center line of hole or tap hole ,circle of hole in drawingview by selection.

How get center line of hole or tap hole ,circle of hole in drawingview by selection.

How get center line of hole or tap hole ,circle of hole in drawingview by selection.

(OP)
I want get center line or circle in drawingview of part 3D.
I tried like that :
Dim itype(0)
itype(0) = "Line2D"
Dim status
status = oSel.SelectElement2(itype, "Select a Line", False)

but key "Line2D" is wrong.
Thank for any help !

RE: How get center line of hole or tap hole ,circle of hole in drawingview by selection.

why don't you just select any element and then check it's type?
Then modify your code to pick only the type you need...

Eric N.
indocti discant et ament meminisse periti

RE: How get center line of hole or tap hole ,circle of hole in drawingview by selection.

(OP)
Hi itsmyjob !

this method is difficult because their name is same "GeneratedItem" .

RE: How get center line of hole or tap hole ,circle of hole in drawingview by selection.

(OP)
Hi ferdo !
i want create a dimension between two hole.
from 3D, how can do it?

RE: How get center line of hole or tap hole ,circle of hole in drawingview by selection.

(OP)
Yes . But I don't know do what with RecPattern , Circular Pattern ,User Pattern hole
Can you help me?

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