Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

CMM - Measuring Point export to CSV File Format - question for best approach

Status
Not open for further replies.

richardjr

Automotive
Sep 19, 2012
1
Hi everybody,

I'm 'trying' to develop interface between NX & Holos (CMM measuring software), where I'd like to export geometrical entities (points, lines, circles, etc.) with their specific information (names, tolerances, etc.). Few months ago I developed the similar add-in for Catia.v5 and it works fine. After few days my own definition I figured out that this community could have better idea how to make it simple.
Here what I was thinking:
1) define Group (not feature group!) - e.g. name MEASURINGPOINTS
2) define sub-group with e.g. points only in specific area (surface) => SURFACE
3) develop NXOPEN (VB.NET) application which will go through the main group and will export all the entities to CVS file format

When I started to develop the VB.NET application (dll) I was not able to get the main Group. I was able to create the group but did not find how to get the existing group to VB code

Dim mainGroup As Group = Nothing
Dim groupBuilder As GroupBuilder = theSession.Parts.Work.CreateGatewayGroupBuilder(mainGroup )
groupBuilder.ActivegroupOption = True
groupBuilder.ActionType = 0
groupBuilder.GroupName = "MEASURINGPOINTS"
groupBuilder.Commit()
groupBuilder.Destroy()

What I'm looking for is an suggestion if the Group(s) structure is something what you will recommended, or in case not, what is the bast way for definition different entities and control their names, groups, etc. Secondly if somebody could help me with getting the existing Group in VB.NET that will be great.

Thx for any help, Richard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor