Rename rule - assembly, subassembly, part and drawing

Rename rule - assembly, subassembly, part and drawing

ralfmja
Advocate Advocate
2,636 Views
21 Replies
Message 1 of 22

Rename rule - assembly, subassembly, part and drawing

ralfmja
Advocate
Advocate

Hello,

 

I ask you in advance not to offer me Vault solutions, ilogic design copy etc. 😀

 

I will describe my problem below:

 

When I finish my project (documentation ready) I have to rename files both in terms of models (ipt, iam) and drawings (idw).   I adopted a certain scheme of action and I do it with the help of Design Assistant. Unfortunately, this tool is quite crude and when my project has a lot of elements (e.g. 500) it takes about 3-4 hours.

MODEL BROWSWER AFTER FINISCH DOCUMENTATIONMODEL BROWSWER AFTER FINISCH DOCUMENTATIONFOLDER BROWSWER BEFORE USE DAFOLDER BROWSWER BEFORE USE DADA BEFORE USE DADA BEFORE USE DADA AFTER MANUAL CHANGE NAME & PART NAMEDA AFTER MANUAL CHANGE NAME & PART NAMEFOLDER BROWSWER AFTER USE DAFOLDER BROWSWER AFTER USE DA

 
 

 

short legend:

green dots - items that require changing the part number and file name

pink dot - shopping items - the rule omits them at all 

red dot - reference elements - the rule omits them at all

33_33333 - common number for the entire project - I would like to enter it after enabling the rule.

0001 - next part number (ipt file)

B000 - Bxxx - next assy number (iam file)

 

Of course, the current file names are completely random (for the purposes of the description I named them one after another, i.e.PART1, PART2, SUBASSY etc.)

 

Unfortunately, I do not have enough programming knowledge but if someone would lead me by the hand - I think I could do it ... 

 

Can anybody help me with that ?? 

 

In attachment you can find file which you can see on picture.

 

Thanks for answer,

ralfmj

0 Likes
2,637 Views
21 Replies
Replies (21)
Message 2 of 22

Curtis_Waguespack
Consultant
Consultant

@ralfmja wrote:

Hello,

 

I ask you in advance not to offer me Vault solutions, ilogic design copy etc. 😀

 

 


Hi @ralfmja 

I'll ask you in advance to forgive me, because I'm going to offer you....... "Ilogic Design Copy" 😉

 

You're situation is so close to working very well with that tool, I think you simply need to adopt a new naming scheme in the beginning of your design process, and name your files as shown below, plus add some library locations to your project file, and then everything works very, very well. 

 

This would be a great way to do what you're asking for with no custom coding required. 

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

4444.png

 

000.PNG111.PNG

 

222.PNG333.PNG5555.PNG

EESignature

0 Likes
Message 3 of 22

ralfmja
Advocate
Advocate

@Curtis_Waguespack  - many thanks for your quick answer but 😀

 


@Curtis_Waguespack wrote:

I think you simply need to adopt a new naming scheme in the beginning of your design process, and name your files as shown below, plus add some library locations to your project file, and then everything works very, very well. 

It is completely impossible for me to apply any naming scheme at the beginning of the project, because my parts assemblies are copied with dozens of other projects and already have drawings.

 

Below is an example of what my real file names look like before cleaning them.

 

obraz.png

obraz.png

 

The bottom line is that I can't use any prefix or suffix based tools on an existing name.

 

I tried everything that can be used and does not require writing code and unfortunately I did not find anything that suits my daily work (I'm sure I'm not alone in this problem).  

 

Only the design assistant meets all my requirements but unfortunately it is completely manual.

 

But once again - thanks for your proposal 😀

 

Regards,

ralfmj

0 Likes
Message 4 of 22

Curtis_Waguespack
Consultant
Consultant

Hi @ralfmja 

 

Yikes! what a mess 😉

 

Okay, well I thought that might be the case... i'll see if I can provide an iLogic routine to do what your first post requested. 

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

EESignature

0 Likes
Message 5 of 22

ralfmja
Advocate
Advocate

Hi @Curtis_Waguespack ,

 

Your blog has given me dozens of examples of great solutions that I use every day in my work so I think it will be a piece of cake for you. 👌

 

Cheers,

ralfmj

 

 

Message 6 of 22

Curtis_Waguespack
Consultant
Consultant

Hi @ralfmja 

 

okay here is a quick routine that worked during my tests, hopefully you can make sense of it if you have to debug it, if not post back and I will try to have a look ( no promises ) .

 

To run this, make sure all other files are closed in Inventor, then open the top level drawing and run the rule. It will open all the other drawings that are in the same folder as the top level drawing and then it will start copying the files and replacing the references. It does not delete the old files, so they will still be on disk.

 

I did a little testing with your example file set (thanks for the clear and concise description of the setup and goals by the way!) ... but I did not test with anything other than your examples, so you might run into issue that I did not anticipate if your files vary much from the examples.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

 

Sub main
	
	If ThisApplication.Documents.VisibleDocuments.Count > 1 Then
		MessageBox.Show("More than one open file was detected." _
		& vbLf & "please open only the top level drawing to use this rule.", " iLogic ")
		Return 'exit rule
	End If
	
	oPrefix = InputBox("Enter Prefix", "iLogic", "33_3333")
	
	If oPrefix = "" Then
		Return 'exit rule
	End If
	
	Dim oNVM As NameValueMap 
    oNVM = ThisApplication.TransientObjects.CreateNameValueMap
	
	
	Dim files() As String = System.IO.Directory.GetFiles(ThisDoc.Path)
	'open all files In the drawings folder
	For Each oFile As String In files
		'opens invisibly
		ThisApplication.Documents.OpenWithOptions(oFile, oNVM, False)  
	Next

	'looks at all the files open in Invetor
	i= 1
	For Each oDoc2 In ThisApplication.Documents
		oPathName = oDoc2.FullDocumentName
		oExt = Right(oPathName, 4)
		
		If UCase(oExt) = ".IDW" Then
			FNamePos = InStrRev(oPathName, "\", -1)    
			oName = Right(oPathName, Len(oPathName) - FNamePos)
			oPath = Left(oPathName, Len(oPathName) -Len(oName))
			oNewName = oPrefix + IIf(i < 10, "-000" + CStr(i), "-00" + CStr(i))
			'oNewName = oPrefix & "-000" & i
			i=i+1			

			oNewPathName = oPath & oNewName & oExt
			
			If System.IO.File.Exists(oNewPathName) = True Then
				Kill(oNewPathName) 'delte file if it exists
			End If
			
			'create new drawing file
			ThisApplication.StatusBarText = "Saving " & oNewPathName
			oDoc2.SaveAs(oNewPathName, False)
			
			
		End If
		
		Call LookAtRefDoc(oDoc2, oPrefix)
		'close other drawings
		If UCase(oExt) = ".IDW" Then
			If oDoc2.fullfilename <> ThisDoc.Document.FullFileName Then
				oDoc2.Close
			Else
				oDoc2.update
			End If
		End If
	Next
	
	
	MessageBox.Show("New Files created and references replaced" _
	& vbLf & vbLf & "Old files remain on disk", "ilogic ")
	
	'open folder
	Process.Start(ThisDoc.Path) 

End Sub

Sub LookAtRefDoc(oTargetDoc As Document, oPrefix As String)

Dim ex As Exception
	i = 1
	j = 1
	Dim oDoc As Document 
	For Each oDoc In oTargetDoc.AllReferencedDocuments
		oPathName = oDoc.FullDocumentName
		If oPathName.Contains("REFERENCE_PART") = False _
			And oPathName.Contains("CATALOG_PART") = False Then
			
			'Get the location Of the last backslash seperator
			FNamePos = InStrRev(oPathName, "\", -1)    
			'get the file name with the file extension
			oName = Right(oPathName, Len(oPathName) - FNamePos)
			'get the path 
			oPath = Left(oPathName, Len(oPathName) - Len(oName))
			'get the extension
			oExt = Right(oPathName, 4)
			''Logger.Info("oExt: " & oExt)
			If UCase(oExt) = ".IPT" Then
				oNewName = oPrefix + IIf(i < 10, "-000" + CStr(i),  "-00" +  CStr(i))
				i=i+1
			ElseIf UCase(oExt) = ".IAM" Then
				oNewName = oPrefix + IIf(j < 10, "-B00" + CStr(j), "-B0" & CStr(j))
				j=j+1
			End If
			

			'new path name
			oNewPathName = oPath & oNewName & oExt
			
			'save new file if it does not already exist
			If System.IO.File.Exists(oNewPathName) = False Then
				ThisApplication.StatusBarText = "Saving " & oNewPathName
		    	oDoc.SaveAs(oNewPathName, False)
			End If
			
				
			For Each oFileDesc In oTargetDoc.File.ReferencedFileDescriptors
				If oFileDesc.FullFileName = oDoc.FullFileName Then
					'Replace the model
					Try
					ThisApplication.StatusBarText = "New reference " & oNewPathName
					oFileDesc.ReplaceReference(oNewPathName)
					Catch  	ex 'catch error
						'MessageBox.Show(ex.Message, "ilogic")
					End Try
				End If
			Next
			
			
		End If
		
		If UCase(oExt) = ".IAM" Then
			oTargetDoc.Update
		End If
	Next
	
End Sub

 

 

EESignature

0 Likes
Message 7 of 22

ralfmja
Advocate
Advocate

Hi @Curtis_Waguespack ,

 

First of all, thank you for your time !!

 

Unfortunately - maybe my example and description was not good enough because I have one basic remark (which I did not mention earlier).

 

1. In my opinion, the rule should be run for TOP_ASSY.iam because there are not always all ready drawings(I know I did not mention it but if I copy elements with drawings but if I introduce new drawings I leave to do after "clearing the names". Ithink it is possible I could change this habit, but Design Assistant (on which I base my experience) works just through assembly files, and so I would like to implement it in this case. You think it's possible to run it on assy file ??

 

2. The second thing is the rule itself - I don't know if you noticed, but when opening a new top assembly it refers to old files (as in the screenshot below):

obraz.png

and after deleting old files we have this:

obraz.png

could you look at this ??

 

Many thanks in advance,

Regards,

ralfmj

0 Likes
Message 8 of 22

Curtis_Waguespack
Consultant
Consultant

Hi @ralfmja 

 

I think making it run from the assembly or drawing is a quick fix... 

 

as for number 2, that’s certainly not the result I was getting, so there is likely just some debugging and error trapping needed... this was just a quick go at it, so a bit of tweaking is likely needed.

 

have a good weekend... I’ll look back on this Monday 

EESignature

0 Likes
Message 9 of 22

ralfmja
Advocate
Advocate

Hi @Curtis_Waguespack ,

 

thanks a lot !!!

 

I noticed one more problem - drawings for assemblies have wrong names should have 33-33333-B001, 33-33333-B002, 33-33333-B003 and have consecutive numbers as for the part i.e. 33-33333-0005, 33-33333-0006, 33-33333-0007.

 

I count on your help because I think you are very close to achieving our goal.

 

Have a good weekend!!

 

Regards,

ralfmj

0 Likes
Message 10 of 22

Curtis_Waguespack
Consultant
Consultant

Hi @ralfmja 

These are the results that I was getting on Friday using the files contained in the zip file you provided, I'll try to have a look at this again later today.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

aaa.PNG

EESignature

0 Likes
Message 11 of 22

ralfmja
Advocate
Advocate

Hi @Curtis_Waguespack ,

 

I attached gif  - you can see my result.

 

When open assy file - assy B002 has broken links and I'm affraid thats rule change the name on browser not filename - but why we have diffrent result  - I don't know.

 

After I delete old part and assy - file drawing for assy are also broken  (like on screen below)

 

obraz.png

 

obraz.png

 

And some naming for drawing parts not match to filename (like below):

obraz.png

obraz.png

 

Maybe the rule should copy all newly created files to the new folder ??

 

Again - many thanks for your time 🙂

 

Regards,

ralfmj

0 Likes
Message 12 of 22

Curtis_Waguespack
Consultant
Consultant

Hi @ralfmja 

 

My apologies for the confusion, when I looked back at the code I realized that had taken out a block that saved the files after updating the references.... so what you were seeing is that references were updated in memory, and then when you closed and reopened them, they reverted back to how they were saved on disk.

 

In any case, here is an updated version that works with the top level assembly and expects to find the drawings folder  (Rysunki) next to that file... I added a prompt to ask if you want to delete the original files as well (be sure you have things backed up before testing).

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

Sub main
	
	oDrawingFolder = "Rysunki"
	oDefault = "33-3333"
	
	
	'check to make sure there are not other files loaded
	'since this code works with the loaded files
	If ThisApplication.Documents.VisibleDocuments.Count > 1 Then
		MessageBox.Show("More than one open file was detected." _
		& vbLf & "please open only the top level assembly to use this rule.", " iLogic ")
		Return 'exit rule
	End If
	
	If Right(UCase(ThisDoc.Document.FullFileName), 4) <> ".IAM" Then
		MessageBox.Show("This rule expects an assembly file." _
		& vbLf & "please open only the top level assembly to use this rule.", " iLogic ")
		Return 'exit rule
	End If	
	
	'get user input
	oPrefix = InputBox("Enter Prefix", "iLogic", oDefault)
	
	'make sure the input is not empty
	If oPrefix = "" Then
		Return 'exit rule
	End If
	
	'existing drawings folder
	oFolder = ThisDoc.Path & "\" & oDrawingFolder
	'new drawings folder
	oNewDrawingFolder = ThisDoc.Path & "\" & oDrawingFolder & "\" 
	'oNewDrawingFolder = ThisDoc.Path & "\" & oPrefix & "\" & oDrawingFolder & "\"
	'new models folder
	oNewModelsFolder = ThisDoc.Path & "\" 
	'oNewModelsFolder = ThisDoc.Path & "\" & oPrefix & "\"
	

	'make sure drawing folder exists
	If System.IO.Directory.Exists(oFolder) = False Then
		GoTo SkipDrawings :
	Else
		'create new drawings folder
		If Not System.IO.Directory.Exists(oNewDrawingFolder) Then
	    	System.IO.Directory.CreateDirectory(oNewDrawingFolder)
		End If	
	End If
	
	Dim oFilesToDeleteList As New ArrayList 
	oFilesToDeleteList.Add(ThisApplication.ActiveDocument.FullFileName)
		
	Dim oNVM As NameValueMap 
    oNVM = ThisApplication.TransientObjects.CreateNameValueMap
	
	'get the files from the drawing folder
	Dim oFiles() As String = System.IO.Directory.GetFiles(oFolder)

	'open all files In the drawings folder
	For Each oFile As String In oFiles
		'opens invisibly
		ThisApplication.Documents.OpenWithOptions(oFile, oNVM, False)  		
		oFilesToDeleteList.Add(oFile)
	Next
	

	SkipDrawings :
	
	'add names to list


	For Each oDoc2 In ThisDoc.Document.AllReferencedDocuments		
		oFilesToDeleteList.Add(oDoc2.FullFileName)
	Next

	'looks at all the files open in Inventor's memory
	i = 1 'drawing increment
	j = 1 'not used here, but function is looking for it
	For Each oDoc2 In ThisApplication.Documents
		
		oPathName = oDoc2.FullDocumentName
		oExt = Right(oPathName, 4)
				
		'process drawing documents
		If UCase(oExt) = ".IDW" Then
			
			''Logger.Info(oPathName)
			
			'call function to get new name suffix
			oSuffix = SetName(oPathName, i, j,oExt)
			i=i+1
			oNewName = oPrefix + oSuffix


			oNewPathName = oNewDrawingFolder & oNewName & oExt
			
			If System.IO.File.Exists(oNewPathName) = True Then
				Kill(oNewPathName) 'delete file if it exists
			End If
			
			'create new drawing file
			ThisApplication.StatusBarText = "Saving " & oNewPathName
			Try
			oDoc2.SaveAs(oNewPathName, False)			
			Catch
				'Logger.Debug(oNewPathName & " not saved")
			End Try
		'Logger.Debug("*******************")	
		End If		

		'call sub to save out all documents and replace references
		Call LookAtRefDoc(oDoc2, oPrefix, oNewModelsFolder)

	Next 'ThisApplication.Documents

	InventorVb.DocumentUpdate()
	
	'save all files
	Dim oDoc As Document
	oDoc = ThisApplication.ActiveDocument

	Dim oRefDoc As Document
	Dim oRefDocDesc As DocumentDescriptor

	' make all the referenced documents dirty
	For Each oRefDocDesc In oDoc.ReferencedDocumentDescriptors
	    oRefDoc = oRefDocDesc.ReferencedDocument
	    oRefDoc.Dirty = True
	Next

	' Save the document and its dependents.
	Call oDoc.Save2(True)
	
	'Logger.Info("Files in memory " & ThisApplication.Documents.Count )

	'Try to close any documents that might have been left open 	
	Dim tDoc As Document
	For Each tDoc In ThisApplication.Documents
		Try 
			'Logger.Info(tDoc.FullFileName)
			If tDoc.FullFileName <> ThisDoc.Document.FullFileName Then			
				Try 
					If tDoc.Dirty = True Then 
						'Logger.Info("Saving...." & tDoc.FullFileName)
						tDoc.Save 
					End If						
					tDoc.Close
				Catch 
				End Try
			End If
		Catch ex As Exception 
			'Logger.Error(ex.Message)
		End Try

	Next

	'Logger.Info("Files in memory " & ThisApplication.Documents.Count)
	
	oDelete = MessageBox.Show("New Files created and references replaced" _
	& vbLf & vbLf & "Do you want to delete the old files?", "ilogic ",MessageBoxButtons.YesNo)
	
	If oDelete = vbYes Then		
		For Each oItem In oFilesToDeleteList	
			If oItem.Contains("REFERENCE_PART") = False _
			And oItem.Contains("CATALOG_PART") = False Then
			
			'Logger.Debug("Deleting: " & oItem)
			System.IO.File.Delete(oItem)	
			End If
		Next
	End If
	
	'open folder
	Process.Start(ThisDoc.Path) 

End Sub

Sub LookAtRefDoc(oTargetDoc As Document, oPrefix As String, oNewModelsFolder As String)

	'Logger.Info(oTargetDoc.fullfilename)
	i = 1 'parts increment
	j = 1 'assembly increment

	'process the top level assembly if it is the active document
	If ThisDoc.Document.FullFileName = oTargetDoc.fullfilename _
		And ThisDoc.Document.DocumentType = _
		Inventor.DocumentTypeEnum.kAssemblyDocumentObject Then

		oPathName = oTargetDoc.fullfilename	
		oExt = Right(oPathName, 4)

		oSuffix = SetName(oPathName, i, j, oExt)
		'Logger.Info(oSuffix)
		oNewName = oPrefix + oSuffix	
		
	
		'new path name
		oNewPathName = oNewModelsFolder & oNewName & ".iam"
		'Logger.Info( oNewPathName)

		'save new file if it does not already exist
		If System.IO.File.Exists(oNewPathName) = False Then
			ThisApplication.StatusBarText = "Saving " & oNewPathName
	    	oTargetDoc.SaveAs(oNewPathName, False)
		End If		
		
		j = j + 1
		
	End If


	Dim oDoc As Document 
	For Each oDoc In oTargetDoc.AllReferencedDocuments
		oPathName = oDoc.FullDocumentName
		
		If oPathName.Contains("REFERENCE_PART") = False _
			And oPathName.Contains("CATALOG_PART") = False Then
			'get the extension
			oExt = Right(oPathName, 4)
			
			oSuffix = SetName(oPathName, i, j, oExt)	
			oNewName = oPrefix + oSuffix
			
			If UCase(oExt) = ".IPT" Then
				i=i+1
			ElseIf UCase(oExt) = ".IAM" Then
				j=j+1
			End If		

			'new path name
			oNewPathName = oNewModelsFolder & oNewName & oExt
			
			'save new file if it does not already exist
			If System.IO.File.Exists(oNewPathName) = False Then
				ThisApplication.StatusBarText = "Saving " & oNewPathName
		    	oDoc.SaveAs(oNewPathName, False)
			End If
			
				
			For Each oFileDesc In oTargetDoc.File.ReferencedFileDescriptors
				If oFileDesc.FullFileName = oDoc.FullFileName Then
					'Replace the model
					Try
					ThisApplication.StatusBarText = "New reference " & oNewPathName
					oFileDesc.ReplaceReference(oNewPathName)
					Catch  	ex As Exception 
						'MessageBox.Show(ex.Message, "ilogic")
						'Logger.Error(ex.Message)
					End Try
				End If
			Next 'ReferencedFileDescriptors			
		End If		
	Next  'ReferencedDocuments
End Sub


Function SetName (oPathName As String, i As Integer, j As Integer, oExt As String)

		'set new name
		If UCase(oExt) = ".IPT" Or  UCase(oExt) = ".IDW" Then
			oSuffix = IIf(i < 10, "-000" + CStr(i),  "-00" +  CStr(i))
			'i = i + 1
		ElseIf UCase(oExt) = ".IAM" Then
			oSuffix = IIf(j < 10, "-B00" + CStr(j), "-B0" & CStr(j))
			'j = j + 1
		End If			

		Return oSuffix
	
End Function

EESignature

0 Likes
Message 13 of 22

ralfmja
Advocate
Advocate

Hi @Curtis_Waguespack 

 

Thank you very much for your help !!

 

We are approaching at a fast pace to achieve our goal !!

 

In principle, I have only two (I think small) problems in test files:

 

1.The names of idw files for assemblies are a continuation of the numbering of file names for parts and should have suffix B001, B002 etc. (picture below in point 2)

 

2. All drawings after the change filename refer to the first numbered part 33_33333-0001 and in the same way as far as assemblies all drawings for assemblies refer to the first assembly B001:

Part drawing:

obraz.pngobraz.png

obraz.pngobraz.png

Assy drawing:

obraz.png

obraz.png

obraz.png

 

I also prepared a gif if the above was not entirely clear 😀

 

I also did a test for an assembly (800 elements) but without drawings and the result is that everything has been renumbered, but after opening the assembly we have broken connections between some parts and subassemblies. Unfortunately, for reasons of confidentiality, I have to find the circumstances in which this happens and reproduce it in the test environment of our examples.

 

@Curtis_Waguespack- I hope you haven't lost your enthusiasm to bring this matter to a happy finale;)

 

Thanks in advance,

ralfmj

0 Likes
Message 14 of 22

ralfmja
Advocate
Advocate

Hi @Curtis_Waguespack ,

 

I found the circumstances in which the problem mentioned by me arises.

 

If we use two identical parts or subassemblies in different subassemblies - the main assembly loses reference.

 

I prepared a new package with files and recorded a gif to better illustrate the problem.

 

Can you look at it ??

 

Thanks in advance,

ralfmj

 

0 Likes
Message 15 of 22

Curtis_Waguespack
Consultant
Consultant

Hi @ralfmja .

 

I only looked at this a bit today, but I corrected the issue with the file references in the drawings being resolved to the same model.  I did run a quick test with your new zip set and all seemed well, but of course please verify.

 

I've attached the rule here as a *.txt file to make it easier to copy/use.

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

EESignature

0 Likes
Message 16 of 22

ralfmja
Advocate
Advocate

Hi @Curtis_Waguespack ,

 

I did some tests in the test environment and in fact everything works except that the drawing name is not the same as the part number from the drawing.

 

Unfortunately, I don't know why but what I wrote about

 


Hi @Curtis_Waguespack ,

 

I found the circumstances in which the problem mentioned by me arises.

 

If we use two identical parts or subassemblies in different subassemblies - the main assembly loses reference.



now also works fine in test enviroment 😉

 

However, in a real example I have a problem of interrupted connections and a strange problem with the error during the execution of the action ... I have to try to reproduce these situations in the test environment but it needs time.

 

It seems to me that this is about the contents of the folders that we skip, i.e. CATALOG and REFERENCE_PART because when I delete their content, the rule works "to the end" without error, but unfortunately I still have some broken links.

 

Many thanks for your outstanding work !!

 

At the same time, I'm sorry that I don't come up with suggestions for improving the code myself, but it is too complicated for me 😕

 

 I am comforted that once it is finished it will be one of the best solutions for the everyday work of people related to mechanical construction for industry.

 

Many thanks,

Regards,

ralfmj

 

Message 17 of 22

ralfmja
Advocate
Advocate

Hello @Curtis_Waguespack 

 

I tried to write a private message but you probably blocked this option. I have prepared examples that I can't share on the forum.

 

I will describe what came out of my tests and if you need these files - please write me a private message.

 

And so:

 

Unfortunately, I don't know what's wrong and I can't transfer it to the test environment.

 

1. FIRST EXAMPLE - in this folder I deleted the contents of REFERENCE_PART and CATALOG_PART folders and the rule works "to the end" - unfortunately there are several broken connections.

obraz.png

 

obraz.png

2. EXAMPLE 2 - in this folder I deleted the contents of REFERENCE_PART (due to confidential) but CATALOG_PART folders are full (you can see the catalog parts on the model)  and the rule has an error and stops working (like on picture below) but after saving and opening the new assembly 33_33333-B001 all links work flawlessly;)

obraz.png

obraz.png

 

For now I do not introduce any drawings here so as not to cause confusion.

 

Please take a moment of your precious time and see what may be wrong.

 

Best regards,

ralfmj

 

0 Likes
Message 18 of 22

ralfmja
Advocate
Advocate

Hi @Curtis_Waguespack ,

 

Did you find some time to look at this ??

 

Thanks in advance,

Regards,

ralfmj

0 Likes
Message 19 of 22

Curtis_Waguespack
Consultant
Consultant

Hi @ralfmja ,I downloaded the files and ran it once. I saw some problems, but have not had the time to look at it further.

 

EESignature

0 Likes
Message 20 of 22

ralfmja
Advocate
Advocate

Hi @Curtis_Waguespack ,

 

You still haven't found time to look at this ??

 

Many thanks,

regards,

ralfmj

0 Likes