Step file that retains assembly
Step file that retains assembly
(OP)
I would like to create a step file of an assembly that when imported it comes in as a multi-level assembly. I have many parts broken out in the assembly that give description on what they are and intended uses. Currently when i import the step file in, it just comes in as a bunch of dumb bodies and loses the assembly structure.
When i import i make sure that the flatten assembly check box is not selected. I have imported step files from other companies that creates assembly components when i import it, so i know it is possible. Just wondering what i am doing wrong with either the export process or the import process.
Thanks for any insight into this.
When i import i make sure that the flatten assembly check box is not selected. I have imported step files from other companies that creates assembly components when i import it, so i know it is possible. Just wondering what i am doing wrong with either the export process or the import process.
Thanks for any insight into this.





RE: Step file that retains assembly
the option "entire part", if you don't do that you will have
only a flatter part.
NX 7.5 64bit
NX 9.0.3.4 MP4 64bit
NX 10.0.3.5 MP3 64bit
www.studiotreccani.com
RE: Step file that retains assembly
RE: Step file that retains assembly
RE: Step file that retains assembly
When i try to export entire part it doesnt export any data, the file turns out to be blank.
When i export selected bodies it flattens them into a single file and doesnt retain the assembly tree structure.
On the advanced tab ive tried selecting "export assembly as external reference", ive tried not selecting this, ive tried multiple combinations of these settings and either exporting entire part or selected bodies. Still no luck on getting the step file to retain the assembly tree information.
As for importing the step file i make sure that the flatten assembly option is not selected, so im not sure why it is not working.
I dont know if there is some other settings somewhere other than the export or import windows that i may need to change?
RE: Step file that retains assembly
Remember that in NX "a part" is not the same as "a single solid body".
NX has always had the ability to have multiple solid bodies and sheet bodies in one file.
Have you tried the option on the first tab "existing part" ?
have everything ticked on the data to export tab.
Then leave the Advanced tab as it was, i.e long names
color and layers , validation properties and export assembly as external references not ticked.
This should produce a "step assembly".
Regards,
Tomas
RE: Step file that retains assembly
Really makes me wonder if there is something wrong with the program. I've tried closing and reopening, as well as restarting everything.
Or again maybe there is more setting located in preferences or something.
RE: Step file that retains assembly
Are you using the file -> export option from within NX or are you using the stand-alone exporter?
Edit: There should be a log file created during the export; open this file and look for "warning" or "error" messages for clues as to what is going wrong. Also, checking the NX log file itself may help (menu -> help -> log file, scroll to the bottom after attempting an export option).
www.nxjournaling.com
RE: Step file that retains assembly
But when i export a part that has no bodies in it, but has multiple subassemblies that have bodies inside of the sub assemblies. It does not export anything at all.
Unless i choose to export selected bodies and highlight everything. But then it is no longer a multi level assembly it just puts everything into one part and i lose all assembly information.
Update:
Checking the log file there are a few warnings but nothing that seem to affect everything exporting. The warnings say stuff like "! WARNING- solid body contains fault: 13805 - RTSTGX: Self-intersecting edge curve."
The only error read:
! ERROR- Failure code: 29
! ERROR- Routine: GTTGLI /
! ERROR- Message: invalid index
RE: Step file that retains assembly
If you export using Displayed Part, it will not create an assembly structure when imported.
If you export using Existing Part, it will create the assembly structure when imported, sub assemblies and all.
If you export with 'Export Assembly As External References' turned on, it will create separate files (either a STEP or NX part) for each component/assembly file.
Turned off if will export to a single STEP file.
The below image shows the settings I used to get a single step file as you would like (except for 'Export Assembly As External References' was turned off).
The attached STEP is the result of that export.
Anthony Galante

Senior Support Engineer
NX3 to NX10 with almost every MR (29versions)
RE: Step file that retains assembly
Thanks for the file i opened yours and it imports fine with the componenents ans sub assemblies all in there.
Tried doing what you said and i still get just a blank step file when i try to do step214. When i do step203 it doesnt even give me a file it has an error saying:
! ERROR- Invalid STEP file name.
! ERROR- File must have a '.step' or .stp' extension.
! ERROR- Unable to continue processing.
This made me think maybe my naming structure was causing problems but I tried creating a new assembly with a basic name, and imported your assembly into it then tried export your assembly into my own step file. Same problem. Either gives me a empty step file when exporting step214, or nothing cause of an error when trying step203.
Something is definitely wrong with the export. Just now how do i fix it.
RE: Step file that retains assembly
I ask because teamcenter often uses the "/" character (or is it "\"?) as the delimiter between the part number and revision. When NX tries to export 12345/A to a step file, bad things can happen.
www.nxjournaling.com
RE: Step file that retains assembly
and the only special characters i use in some of the names are _ and -
but like i said i tried creating a assembly with a very basic name (model1) and used PhoeNX assembly that he was able to correctly export. And still was not able to get a file.
RE: Step file that retains assembly
File -> Open the step I uploaded (do not import into a new part file).
Once opened, it should be the correct assembly, with sub assemblies & components
Do a Save All, so all part files are saved.
File -> Export to Step (whichever format suits), but before changing any settings, click on the reset arrow (image below shows where on the dialog to click).
Then set for existing part, tick the boxes for all objects in Data to Export.
The resulting STEP file should be aroun 3Mb.
Anthony Galante

Senior Support Engineer
NX3 to NX10 with almost every MR (29versions)
RE: Step file that retains assembly
Opening it up it looks like only the drawing border came through. No solids or sheets.
RE: Step file that retains assembly
It sounds to me like it's not able to load any of the components?
Anthony Galante

Senior Support Engineer
NX3 to NX10 with almost every MR (29versions)
RE: Step file that retains assembly
The folders chosen are structured like this "X:\CURRENT PROJECTS (NX)\..."
it has all of the folders necessary for all components to open. if the load options didnt the components would load into the assembly. So not sure why it would be able to see the components
RE: Step file that retains assembly
www.nxjournaling.com
RE: Step file that retains assembly
Thanks everybody, really appreciate the time to help me figure this out.
RE: Step file that retains assembly
Glad you got it sorted out.
RE: Step file that retains assembly
RE: Step file that retains assembly
Bravo
RE: Step file that retains assembly
It doesn't. It affects how that assembly is processed when you're opening the STEP file, hence Assembly LOAD Options. The options for exporting are in the STEP Export dialog - that just sets the structure during export, not during import or opening.
Also, you DO NOT need to have External References ticked ON in order to export an NX Assembly with the asm structure intact. When that option is turned ON and the Export Components pulldown is set as NX, it will export every component and sub-asm as NX files. If Export Components is set to STEP, it will do the same except the components and sub-asms will be STEP files. If you turn OFF External References, you will end up with a single STEP file that opens with the entire assembly structure intact. I prefer to leave the external references OFF.
Tim Flater
NX Designer
NX 9.0.2.5 Win7 Enterprise x64 SP1
Intel Core i7 2.5GHz 16GB RAM
4GB NVIDIA Quadro K3100M
RE: Step file that retains assembly
RE: Step file that retains assembly
EDIT: You only need to select the assembly(s) that you want translated. No need to select components.