Refile and add attribute
Refile and add attribute
(OP)
Hi,
Refile process is fast, so I ask if during this process it's possible to add an attribute like 'Code'= file part name.
If not, exist a tool that work fast and at very low level.
This because I've 200000 file.
Refile process is fast, so I ask if during this process it's possible to add an attribute like 'Code'= file part name.
If not, exist a tool that work fast and at very low level.
This because I've 200000 file.
Thank you...
Using NX 8 and TC9.1





RE: Refile and add attribute
BTW, do you have a GRIP execute license?
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Refile and add attribute
Thank you...
Using NX 8 and TC9.1
RE: Refile and add attribute
I may have some code lying around, but I don't have NX here.
Do you have GRIP develop, too?
I won't be back in the office until Wednesday.
"Wildfires are dangerous, hard to control, and economically catastrophic."
Ben Loosli
RE: Refile and add attribute
Note that you MUST run this program from Gateway with NO Part files open. Also you MUST first set the Assembly Load Options so that the 'Structure Only' is loaded and that the 'Load Interpart Data' option is toggled OFF.
When you execute the program you will be asked to enter the full path of the start folder (do NOT end the path with a '\'). After the last file has been updated, you will be asked if you wish to end the program or enter another start folder.
The above instructions are also included in the program's Source file.
I would suggest that you test this on a duplicate folder with a few sample part files so that you can verify that this is doing what you expect it to do.
Anyway, have fun. As before, after downloading the file, edit the extension changing it from '.zipper' to '.zip' before extracting the files.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Refile and add attribute
thank you for the support and the code that works as descrived.
I've two corrections to ask you.
1) The 'Code' begin 'Codice'
2) The 'file name' used to compile the 'Codice' attribute is without extension (.prt).
Thank you in advance.
Thank you...
Using NX 8 and TC9.1
RE: Refile and add attribute
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Refile and add attribute
it's correct.
Thank you...
Using NX 8 and TC9.1
RE: Refile and add attribute
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: Refile and add attribute
the grip program works perfect and rapid.
Thank you...
Using NX 8 and TC9.1
RE: Refile and add attribute
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.