Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

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

Status
Not open for further replies.

thailuuvan

Mechanical
Aug 23, 2016
11
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 !
gge_z6iffh.jpg
 
Replies continue below

Recommended for you

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
 
Hi itsmyjob !

this method is difficult because their name is same "GeneratedItem" .
 
Hi ferdo !
i want create a dimension between two hole.
from 3D, how can do it?
 
Yes . But I don't know do what with RecPattern , Circular Pattern ,User Pattern hole
Can you help me?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor