Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE 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
Joined
Dec 17, 2011
Messages
5
Location
IN
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
 
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

Back
Top