how to update quantity of parts from assy and put in part level drawing
how to update quantity of parts from assy and put in part level drawing
(OP)
Hi All,
I would like to keep number of Quantity parts required for each part in part level drawing.
For Example:
I have
Assy.prt
To make Assy.prt total two part1.prt parts and one part2.prt is required. So in part1.prt part level drawing I need to mention 2 qty required for assembly. This information will useful for procurement team.
In the previous posts
Niedzviedz has posted journal
Journal thread for adding no of parts in quantity attribute in each child part then we can call in part level drawing. so far it's working great.
Now I want add one more part (example: part1.prt) in assembly. So Quantity of part1.prt will be 3, If I re run the journal it qty attribute is getting update Instead of that is there any way to make it auto update like parts list update
Regards,
Gani
I would like to keep number of Quantity parts required for each part in part level drawing.
For Example:
I have
Assy.prt
part1.prt
part1.prt
Part2.prt
To make Assy.prt total two part1.prt parts and one part2.prt is required. So in part1.prt part level drawing I need to mention 2 qty required for assembly. This information will useful for procurement team.
In the previous posts
Niedzviedz has posted journal
Journal thread for adding no of parts in quantity attribute in each child part then we can call in part level drawing. so far it's working great.
Now I want add one more part (example: part1.prt) in assembly. So Quantity of part1.prt will be 3, If I re run the journal it qty attribute is getting update Instead of that is there any way to make it auto update like parts list update
Regards,
Gani





RE: how to update quantity of parts from assy and put in part level drawing
A part drawing should be independent of the assembly it is used in. Adding assembly information to the part drawing is BAD PRACTICE. At best, such a system will be difficult to maintain. Do yourself a favor, do NOT add quantity information to part drawings.
www.nxjournaling.com
RE: how to update quantity of parts from assy and put in part level drawing
My company is following this ways since so many years. That's the reason I want to make it some automate to eliminate manual errors
RE: how to update quantity of parts from assy and put in part level drawing
www.nxjournaling.com
RE: how to update quantity of parts from assy and put in part level drawing
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
No it is not. The detail drawing should be independent of the assembly drawing.
Here is some suggested reading material.
www.nxjournaling.com
RE: how to update quantity of parts from assy and put in part level drawing
What ever quantity mentioning in part level drawing, it's like as information for specified assembly
RE: how to update quantity of parts from assy and put in part level drawing
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
www.nxjournaling.com
RE: how to update quantity of parts from assy and put in part level drawing
Component files are standalone for a reason. They could be used in any number of assemblies with any quantity. Trying to maintain this data from the component level is just not realistic. For some components, it could take multiple sheets just to list the Next Higher Assembly and Qty required. If you need to order components for assembly 123456.prt, then use the BOM of that assembly for your ordering reference.
One of the great things about CAD and PLM software is the ability to search and reuse existing parts in new designs. If you have 25 designers and each needs a plate 6" in length by 4" wide with a 1/2" hole in the center, why would you allow them all to design and document that part and have 25 part numbers that could be handled with 1. A lot of wasted effort and man-hours spent recreating something that already exists.
"Wildfires are dangerous, hard to control, and economically catastrophic."
Ben Loosli
RE: how to update quantity of parts from assy and put in part level drawing
Your correct but This will apply for standard component but my case is specific assemble and which will use for specific assembly it wont use for any other assemblies. Like I am making tooling fixtures so my fixture design will have specified components
RE: how to update quantity of parts from assy and put in part level drawing
Machinist gets the Drawing sheet and it should specify how many pieces needed to complete a specific job! If we don’t enter the amount at the beginning, somebody else will write the quantity in the sheet before drawings reach manufacturing.
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
RE: how to update quantity of parts from assy and put in part level drawing
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: how to update quantity of parts from assy and put in part level drawing
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
But if your system works for you, fine, just keep in mind that NX may not always be able to fully support the workflow that you desire, at least not without a lot of extra work and complexity in what you produce.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: how to update quantity of parts from assy and put in part level drawing
Jerry J.
Milwaukee Electric Tool
http://www.milwaukeetool.com/
RE: how to update quantity of parts from assy and put in part level drawing
www.cadroad.com
RE: how to update quantity of parts from assy and put in part level drawing
Jerry, we take extra care to operate this manual process and if a mistake happens it will be very costly with lots of fingers pointing towards us and with lots of pressure. In this situation we are issuing the next revision.
PrintScaffold, We give unique number to each part under each project # as Proj # as the suffix. This is how NX PDW work too.
I know NX geared more towards to product designers and driven by OEMs. Sadly only a very few manufacturing guys speak out to make their life easier where they spend most of their life togather.
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
I do see where Michael is in a tool and die shop, which usually means one-off designs. He has stated that each assembly is given a unique part number and component numbers are derived from an overall base number. On initial build, the quantity of components is known for the assembly, so putting the quantity on the drawing works. BUT what happens if the customer needs to order a replacement for part XYZ-ABC-G and only needs 1, but the total XYZ design has 7 of them. The XYZ-ABC-G print is issued to the shop floor, the machinist sees QTY 7 and makes 7. Customer only ordered 1 and you now have 6 spares that may never get sold. Does engineering have to modify the drawing for this replacement order to change the QTY to 1? No value added to the engineering manager, why should his department pay for that change. Does this change constitute a revision to the drawing? Two years later the customer wants to order a replacement machine XYZ, does someone remember that XYZ-ABC-G has had the QTY changed and it needs changed back to the rev A QTY?
If you want the quantity, use a copy of the BOM and attach it to the drawing for shop floor use. Highlight the part that is attached in the BOM so the machinist can see it. There is no value added by putting the quantity in the component file and printing it on the drawing.
"Wildfires are dangerous, hard to control, and economically catastrophic."
Ben Loosli
RE: how to update quantity of parts from assy and put in part level drawing
RE: how to update quantity of parts from assy and put in part level drawing
Producing spare parts are few in hundreds of parts needed for a project. When Sales open a drawing of an old project, they instantly see the quantity needed for the specific project and it flags them to make sure to check the new ordered quantity. At this time they will override the Drawing Quantity with the new Job Order details stamped on few drawings.
Aftermarket is not valid argument not to include the Quantity in the drawing. Since this is a limitation of the software, as I said earlier we insert the Quantity manually taking the responsibility. This is how it was shown to me in the Trade School, in Germany, in NA or wherever I worked for the past 25 years.
Isn’t these PLM are all about gathering all the necessary information in to one place, avoid duplicates and show the information promptly? Why do you ask us to waste time searching information in different places?
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
Michael, this is grossly unfair. Anyone can come up with any - ANY - requirement and claim that NX is not working as required. I think it is a safe bet to say that NX primarily supports typical workflows. Frankly, I am 36 year old and today for the first time in my life I heard that detail drawings with quantity on them do exist.
www.cadroad.com
RE: how to update quantity of parts from assy and put in part level drawing
The assembly BOM is designed to show the quantity of the components needed in that assembly. It is automated without the user having to create custom code. It gets updated when a new release of NX is released. The BOM gets updated when you add/subtract a component from the assembly. No manual interaction to copy the item quantity to the component file. No having to remember to update it when you add another copy to the assembly.
Print it with the drawing and give it to the shop with work order.
"Wildfires are dangerous, hard to control, and economically catastrophic."
Ben Loosli
RE: how to update quantity of parts from assy and put in part level drawing
To my understanding these non-traditional “travellers” with the drawings have been introduced recently especially to collect data and to show the workflow prepared by work scheduler (AV- Arbeitsvorbereitung) I have seen in some places, the manufacturing route/path indicator block as a part of the drawing frame to get rid of secondary papers. Traditionally Quantities are part of the Drawing Sheet, and workarounds due to software limitation must have interpreted now as the standard.
Forget about my comments! If you are not involved directly in final manufacturing process, please talk to your part supplier and see how they handle the part quantities in their workshops and drawings.
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
www.cadroad.com
RE: how to update quantity of parts from assy and put in part level drawing
This is not recent, unless you consider the mid-eighties to be recent.
"Know the rules well, so you can break them effectively."
-Dalai Lama XIV
RE: how to update quantity of parts from assy and put in part level drawing
The best people were born in August
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: how to update quantity of parts from assy and put in part level drawing
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Digital Factory
Cypress, CA
Siemens PLM:
UG/NX Museum:
To an Engineer, the glass is twice as big as it needs to be.
RE: how to update quantity of parts from assy and put in part level drawing
Often the result of too much Christmas 'spirit' love, and the cold weather.
Jerry J.
Milwaukee Electric Tool
http://www.milwaukeetool.com/
RE: how to update quantity of parts from assy and put in part level drawing
If we create BOM with quantities but unable to recollect them in their respective detail drawings is a drawback of any CAD software. Currently we insert Detail/Baloon # and Quantity in each detail drawing manually.
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
Michael, to believe that you are alone right while all others are wrong is a very questionable mindset.
CAD software behaves like that for a reason. Fundamentally, the most common workflow is to assign a number to a part and then use this part in assemblies with this number. This way the same part can be used in deifferent assemlies in different quantities, and assembly BOM is the source of information about part quantity in particular assembly. This is how vast majority of industrial companies operate. If some maverick companies insist on using dubious workflows, them it's not the problem of a CAD software.
But at any rate, the software industry has come up with an answer for your problems decades ago - an API. If particular users needs highly specific functionality, he takes API and writes custom code. In NX, the API is called "NX Open".
www.cadroad.com
RE: how to update quantity of parts from assy and put in part level drawing
I think it’s the common practice in the industry to give unique numbering/naming to files. I believe for an efficient working process, whatever data we feed to these unique files should be captured once (make them intelligent) and display promptly when needed.
I’m wondering if this topic should go to ER or not. Apparently the majority of you think this is not an enhancement of the software.
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
I don't need to go back as I created and maintained the drawings in question. The quantities are always specified on the assembly drawing/BOM. A drawing package is given to manufacturing. If they want to mark it up as to individual quantities, etc, they can, but it is considered manufacturing information and separate from any engineering documentation. The same applies for quality/inspection documentation. The engineering drawing purpose is only to define the part/assembly.
"Know the rules well, so you can break them effectively."
-Dalai Lama XIV
RE: how to update quantity of parts from assy and put in part level drawing
The component drawing is standalone. It can be used in multiple assemblies and locations within those assemblies. If we had to maintain a where used list on the face of the draing, some would require another drawing sheet to capture it all. And then the expense of revising a drawing because a where used item has been added or a quantity changed. The where used is handled by a PDM system like TeamCenter for NX. It knows how many assemblies component XYZ-ABC-G is used in and in what quantity.
Even if you don't use a PDM system, there should be a method of searching the files for where used. I had a GRIP program that consisted of one command to get a where used listing. USED/<search number>,ROOT,<search directory>. It would display all files that contained the <search number> as a component. I'm sure the newer NXopen has something similar.
As to opening an ER, I don't think it would get enough votes to ever be considered.
"Wildfires are dangerous, hard to control, and economically catastrophic."
Ben Loosli
RE: how to update quantity of parts from assy and put in part level drawing
Follow a code to apply a "QNT" atribute in each part of assembly.
You need open the root part of assembly with the load options "Use Partial Loading" unchecked.
CODE --> vb
Option Strict Off Imports System Imports NXOpen Imports NXOpen.UF Imports NXOpen.Assemblies 'REVISÃO '22/12/14 - REVISADA FUNÇÃO ' Module Aplicar_Qnt_Montagem Dim theSession As Session = Session.GetSession() Dim session As Session = theSession Dim ufs As UFSession = UFSession.GetUFSession() Dim workPart As Part = theSession.Parts.Work Dim displaypart As Part = theSession.Parts.Display Dim prototype As Part Sub Echo(ByVal output As String) theSession.ListingWindow.Open() theSession.ListingWindow.WriteLine(output) theSession.LogFile.WriteLine(output) End Sub Sub Main() session.ListingWindow.Open() Echo("-------------------------------------------------------------------------------------------------------") Echo("OBSERVAÇÕES") Echo("Para o correto funcionamento do comando todos os componentes da montagem devem estar abertos.") Echo("Itens abertos, montados em sub-assemblies não abertos, podem ter a sua quantidade alterada incorretamente.") Echo("Preferencialmente utilizar este comando com ""Make Work"" na Lista de Materiais.") Echo("-------------------------------------------------------------------------------------------------------") If workPart Is Nothing Then Return Dim markId1 As Session.UndoMarkId markId1 = theSession.SetUndoMark(session.MarkVisibility.Visible, "Quantidade") Echo("") Echo("ITENS COM A QUANTIDADE ATUALIZADOS:") Echo("") Try Dim part1 As Part part1 = session.Parts.Work Dim c As ComponentAssembly = part1.ComponentAssembly Walk(c.RootComponent, 0) Catch e As Exception session.ListingWindow.WriteLine("Failed: " & e.ToString) End Try End Sub Sub Walk(c As Component, level As Integer) Dim children As Component() = c.GetChildren() Dim child As Component Dim prototype As Part If TypeOf c.Prototype Is Part Then prototype = CType(c.Prototype, Part) Dim q As String '---------------------------------------------------------------- Dim reqatt As String = "" Try reqatt = prototype.GetStringAttribute("CODG") Catch ex As Exception 'session.ListingWindow.WriteLine("Erro" & prototype.Leaf) End Try If IsNumeric(reqatt) = False Then ' status = "item não é biblioteca" q = quantidade(prototype) atributos(q, prototype) ' Else ' Echo("Item não processado: " & prototype.Leaf) End If '---------------------------------------------------------------- For Each child In children Walk(child, level + 1) Next Else session.ListingWindow.WriteLine(New String(" "c, level) & c.Name & " is not loaded") End If End Sub Function atributos(qnt As String, peca As Part) ' ---------------------------------------------- ' CAMPO ATRIBUTOS ' ---------------------------------------------- Dim qntatual As String = "" Try qntatual = peca.GetStringAttribute("QNT") Catch ex As Exception End Try If Not qntatual = qnt Then Try peca.SetAttribute("QNT", qnt) peca.SetAttribute("QNT_RESP", System.Environment.UserName) ' ---------------------------------------------- ' CAMPO DATA ' ---------------------------------------------- Dim DateString(0) As String Dim TimeNote As DateTime TimeNote = System.DateTime.Now() DateString = TimeNote.GetDateTimeFormats() peca.SetAttribute("QNT_DATA", DateString(0)) Echo("Qnt: " & qnt & " - Item: " & peca.Leaf) Catch ex As Exception MsgBox("Command Error 1", MsgBoxStyle.OkOnly, "Error") End Try End If End Function Function quantidade(peca As Part) ' Dim peca As Part Dim contagem() As Tag = Nothing ufs.Assem.AskOccsOfPart(workPart.Tag, peca.Tag, contagem) Return contagem.Length End Function Public Function GetUnloadOption(ByVal dummy As String) As Integer 'Unloads the image when the NX session terminates GetUnloadOption = NXOpen.Session.LibraryUnloadOption.Immediately End Function End ModuleGelson Z. Nicoletto
Eng. Supervisor
Mould Desing
Brazil
RE: how to update quantity of parts from assy and put in part level drawing
As a Designer now, if I’m unable to specify these in my drawing, I consider myself as depriving necessary needs of a machinist and betraying my past.
So I submitted an ER:
Michael Fernando (CSWE)
www.solidCADworks.com
Tool and Die Designer
Siemens NX V9.0 + PDW
SWX 2013 SP3.0 X64
PDMWorks 2013
Logopress3
FastForm Advance
FormatWorks
RE: how to update quantity of parts from assy and put in part level drawing
www.nxjournaling.com