Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Creating a center Point of Hole, Circular Cutout, Circular Pocket, Userpattern.

Status
Not open for further replies.

Shankar R

New member
Jul 12, 2019
1
IN
Hi Macro Experts,

I am new to this vba scripting.

My requirement is to create the center point of holes. But the hole is not only made up of hole option in part modelling work bench, In some parts holes are created using circular cutouts in sheetmetal workbench, In some places it may be used circular pocket option. In someplaces it may be made up of userpattern.

I have an idea but i dont know how to script it in vba.

Possibility - 1

First method is to extract the surface of the part
determine the circle cuts or hole cutout region in that surface.
create the center point for the holes cutouts in the surface.

Possibility - 2

Getting user input to select the hole edges
Either use the same selected reference to create the center point or extract that edge then create the center point.

Can anyone help me with scripting for this scenario.
Any new ideas apart from creating coordinated holes from drawing are high appreciated.
Thanks in advance.

Cheers!
Shankar.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top