×
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 assembly to parasolid with names

Export assembly to parasolid with names

Export assembly to parasolid with names

(OP)

We have NX 6 and TC2005 and I'd like to export selected solids from an assembly outside teamcenter and keep the names on the solid. So I'd like to be able to select bodies and select the destination folder. I've found journal files here that do one or the other, but not both. The one below has the select folder option, but includes hidden solids.

thread561-290743: Writing Journals: Export solid models

RE: Export assembly to parasolid with names

When you say "keep the names on the solid", do you mean exporting components as individual parasolid files where the parasolid file name is the same as the component part file name, or the parasolid file name is the same as the component displayed name, or something else?

www.nxjournaling.com

RE: Export assembly to parasolid with names

(OP)
I want my components to be in one file so that it shows the assembly position. And that the parts carry over the item names. Usually in NX parasolid export the items only get an id no. In our system the names are stored with the attributes DB_PART_NO and DB_PART_REV.

I managed to get the first script to output to a specified folder, but I only got the revision letter added to the names.

RE: Export assembly to parasolid with names

(OP)
Sorry. I managed to get the scirpt Link to export with the revison letter, but it doesn't take the name.

RE: Export assembly to parasolid with names

(OP)
This only captures the revision letter as well and Because of the TC integration I cannot use workpart.Fullpath as directory. I manually changed it to "C:\temp\test.prt"

RE: Export assembly to parasolid with names

Try this journal.

I don't have TC to test with, so post back with any errors you encounter; I'll try to fix them as best I can.

www.nxjournaling.com

RE: Export assembly to parasolid with names

(OP)
Sorry again, the script in the first post doesn't include the hidden solids, but it doesn't have a selection option and it puts each solid in separate files. So then I loose the assembly structure.

RE: Export assembly to parasolid with names

(OP)
I'm not allowed to use dropbox at work, so I'll try to get it later.

RE: Export assembly to parasolid with names

(OP)
It almost works. You've got the assembly's Part_no correct, but it's used for all solids. Each item should keep its own DB-part-no

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