04-27-2022
07:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
04-27-2022
07:11 PM
I don't know if that's exactly what you want to achieve, but the following code can be in an external rule and running it from an assembly copies the "Project" property to the assembly it opens.
oProject=iProperties.Value("Project", "Project") Dim Docu As AssemblyDocument = ThisApplication.Documents.Open("Paste Full document name as string", True) Dim invDesignInfo As PropertySet invDesignInfo = Docu.PropertySets.Item("Design Tracking Properties") invDesignInfo.Item("Project").Value = oProject
I hope you find it useful.