Is there a way to auto change some part number is the part list on the 2d drawing ?

Is there a way to auto change some part number is the part list on the 2d drawing ?

Darkforce_the_ilogic_guy
Advisor Advisor
258 Views
3 Replies
Message 1 of 4

Is there a way to auto change some part number is the part list on the 2d drawing ?

Darkforce_the_ilogic_guy
Advisor
Advisor

Is there a way to auto change some part number is the part list on the 2d drawing ? 

 

I have this problem we haver create V-belt in content Center. but the Belt have diffence file because that have diffente sharps  The v-belt it self my have the part number 4566001137 but the Files call 4066001137 D196-D80 or 4066001137 D80-D80.. the problem is that the 4066001137 D196-D80  is the one that come on the partlist  on the drawing.. But it would be best if only the real part number  4066001137  was display on the 2d drawing.. .second thing is that when Export to EPR system .. it create a number that really is not in use.

 

Is there a good way to only get the 4066001137  both in EPR system and on the idw drawings partllist

0 Likes
259 Views
3 Replies
Replies (3)
Message 2 of 4

A.Acheson
Mentor
Mentor

Hi @Darkforce_the_ilogic_guy 

Depending on how complex the model change would be it would be best to swap the part in the model so that the part gets updated from its source. Content center will require an update to push the new info on that file in the assembly. There might be a setting you can have this done automatically  if not writing a code to do so is relatively easy.  Overriding the partlist will have issues if the drawing gets reused  etc. If you know you want to change this legacy part on old assemblies you can write a script to find the part and change it if the physical part file or filename is now different. You can use ilogic capture snippet to get the family info for the content center part if you want to work with changing the physical file.

 

What are the manual steps your currently solving this situation? Write them down in bullet form and attempt to automate each one. Can you show images of the physical files with part number location and drawing partlist part number? It will make it easier understand your situation.  

 

Summary of Workflow.

V-Belt with different Shape

Part Model Part No#: 4566001137

Style 1: FileName: 4066001137 D196-D80

Style2: FileName: 4066001137 D80-D80

Partlist with static Part No#: 4066001137 D196-D80

Drawing/ERP/Model Part No#: 4066001137

 

Is the summary above correct? The question is now do you want to have an accurate linked partlist or a static one for this part. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 4

Frederick_Law
Mentor
Mentor

Is that custom CC part?

Can you edit CC?

If so, edit Part Number in CC and remove "D196-D80".

I'm assuming D196 and D80 are pulley size.

0 Likes
Message 4 of 4

Darkforce_the_ilogic_guy
Advisor
Advisor

Yes it is a custom part.. I have made a test that seens to work (without the comment ;)).. So have have not got the go ahead for the change in our system  .. but I thing I have what i need for now if I do 

 

''Denne kode lave den gamle type V-belt om til ny type 

'Try 
'	iProperties.Value("Project", "Part Number") = iProperties.Value("Custom", "KPartnumber")
'	Catch
		
'		'old verseion
'		iProperties.Value("Project", "Part Number") = iProperties.Value("Custom", "Raw Material")
'		iProperties.Value("Custom", "KPartnumber") = iProperties.Value("Custom", "Raw Material")
'iProperties.Value("Custom", "Status") = "Purchased"
		
''define custom property collection
'oCustomPropertySet = ThisDoc.Document.PropertySets.Item("Inventor User Defined Properties")
'For Each oCustProp In oCustomPropertySet
'If  oCustProp.name = "Raw Material" Then
''delete the custom iProperty
'oCustProp.Delete 
'Else 
'End If

'Next
		
'	End Try	

0 Likes