×
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

Export Parts List via .NET

Export Parts List via .NET

Export Parts List via .NET

(OP)
How can I export a parts list in a text file using VB.NET ?

RE: Export Parts List via .NET

Not sure if there's an "out of the box" solution to this.  Not come across one if there is.

The way I'd go about it is use the example as I posted in this thread http://www.eng-tips.com/viewthread.cfm?qid=187186&page=2
Using this I'd add some lines to write to my text file where I've added the comment and messagebox.  Need to be careful about getting hierachy correct but it should be a good starter for 10.
Alternatively there is a c# example in the UGS directories with the other ugopen axamples called "AssemblyViewer".  I don't write in C# but it looks like this example only goes 1 level down into the assembly so this would have to be tweaked to go down the levels of the assy.

Hope that's helpful.

Mark Benson
Aerodynamic Model Designer

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