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!

Macro in CATIA using VB.Net

Status
Not open for further replies.

mvcky2008

Mechanical
Dec 17, 2011
5
Hi,



We have two Curve's in CATIA Part.
I am creating a macro using VB.NET, which will-
1. Create points on both the curves, points must be at regular intervals depending on the distance of the curve.
2. Measure distances between points on these curves

Can some one help
 
Replies continue below

Recommended for you

Hi,

My suggestion is to start with VBA code then rewrite it in VB.net.
Could you share with us what you have written by now?

1) Use AddNewPointOnCurveFromDistance or AddNewPointOnCurveFromPercent from HybridShapeFactory
2) To mesaure distance use SPA Workbench.

Regards
Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor