Hi, I'm sure this is very simple, I just can't find any reference to this. I'm looking to apply a rule that export file from .iam to .idw.
in this part of code (this part of code replace a file after exporting another)
doc = ThisDoc.Document
Dim oFD As FileDescriptor
oFD = doc.ReferencedFileDescriptors(1).DocumentDescriptor.ReferencedFileDescriptor
oFD.ReplaceReference("C:\Users\Mattia\Desktop" & "\" & Parameter("MaterialCode") & ".ipt")
doc.Update()
i need, instead of "C:\Users\Mattia\Desktop",to have also its subfolder, and i don't know how to do that.
Sorry for my bad english!
Thanks!
If you want to add a subfolder to an address, you simply add a "\foldername". Is that what you're asking? So if the folder you want as target is on the desktop, the path would read "C:\Users\Mattia\Desktop\foldername"
hi, no it isn't. i need to add all subfolder in the "rule search path"...i need that the rule find all my .iam in the folder's sub-folder, than convert them in .idw
I have six-hundreds files in six-hundreds folder, i need that the rule convert all of them automatically
Thanks