×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

UGNX VB.NET Functionality

UGNX VB.NET Functionality

UGNX VB.NET Functionality

(OP)
Hi,

I'm back with more questions about the VB.NET API for UGNX 3. It is becoming apparent that this API set is not in wide spread use. If anyone has used this I would like to get some info(e-mail, phone. UG is dragging their heels getting us a demo of the API toolset. It sounds like it had less than 10% functionality as compared to the interface functions.


I need to extract information from UG files about the assembly structure and quantity of parts for BoM's using Excel and Excel VBA. Does any current toolset allow this in UG (GRIP, etc)? If not we have been hoodwinked by the UG folks about the "integration" level in UG on a Microsoft platform.


Guy

RE: UGNX VB.NET Functionality

You can get assembly structure into excel straight from your assembly navigator. In the assembly navigator set up the columns like you want to see them in excel then right click (in assembly navigator) expand all, right click pack all, right click export to spreadsheet. If you use pack all this will also give you part count in the descriptive part name column (eg part_name x 4). If you need part count in a separate column an excel macro* (*not included) could parse this info out for you.

This can also be done through grip and in fact I had started just such a program, but then I found the assembly navigator way and discontinued work on the grip. If grip can do it I'm sure the Open C++ could also do it (though I have no experience with that). .Net will eventually be able to do it, the UG folks don't claim 100% functionality with .Net in NX3 and in fact have stated there won't be 100% for a few releases.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources