Hey ppl,
What kind of Ilogic rule would i need to add file name of .dwg in inventor to iproperties > part number?
Thanks!
Solved! Go to Solution.
Solved by jddickson. Go to Solution.
I’m not 100 percent sure what you are asking for. If you want a custom iProperty that has the same name as your dwg or model file name you can us the code below.
iProperties.Value("Custom", "PROPERTY NAME") = iProperties.Value("Project", "Part Number")
Where is says PROPERTY NAME just fill in your custom property name.
I hope this helps.
i want the propery name to automatically be the file name. The filenames change dynamically through other rules and vault when we do a copy design.
I think this is what you need but i'm still not sure
Hope this helps
Doc_Name = ThisDoc.FileName PartNumber = iProperties.Value("Project", "Part Number") iProperties.Value("Custom", "PROPERTY NAME") = "" & Doc_Name & "-" & PartNumber & ""
this works! Thank you all for your help.