Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I have setup a simple rule to extract parts of the a drawing filename and populate iProperty fields with these values which then drives the title block. I can get the iproperties to populate as i want but the title block wont update until I open the iProperties window and then close it. Is there a way to get the title block to update with these new values without having to open and close the iproperties window?
Here is the code.
SyntaxEditor Code Snippet
'Populate iProperties from filename iProperties.Value("Summary", "Title") = (Right(ThisDoc.FileName(False),13)) iProperties.Value("Project", "Project") = (Left(ThisDoc.FileName(False), 4)) iProperties.Value("Custom", "DRAWING NO") = (Left(ThisDoc.FileName(False), 12)) iProperties.Value("Custom", "SYSTEM") = (Mid(ThisDoc.FileName(False),6,10))
Thank in advance
Nigel
Solved! Go to Solution.