Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to link up the value of filepropertysets from assembly to all other referenced documents. And at the same time, avoiding reference document that is ipart or library files. Some of my sub assemblies and parts are done with model states.
Is there a way to do it?
My code looks like this, but it is not working. is there anything that i have missed out.
Sub Main() Dim oDoc As AssemblyDocument = ThisDoc.Document Dim oRefDocs As DocumentsEnumerator = oDoc.AllReferencedDocuments Dim oRefDoc As Document For Each oRefDoc In oRefDocs oRefDoc.FilePropertySets.Item(3).Item("Project").Value = iProperties.Value("Project", "Project") Next End Sub
Please advise.
Solved! Go to Solution.