Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, when I use the following iLogic code as my external rule, I got an error when I switch to other title blocks. If I delete all prompt entries from title blocks, then it works perfectly.
ThisDrawing.ResourceFileName = "D:\Inventor_Template\A4_Template.idw" ActiveSheet.ChangeSize("A4") ActiveSheet.ChangeSize(211,297) ActiveSheet.TitleBlock = "AX_H" ActiveSheet.Border = "A4_H" ThisApplication.ActiveView.Fit
I have been using this code for more than a year, recently I added prompt texts to all title blocks. After I added it, I can't use illogic code to quickly switch. It always says an error occurred on this row: ActiveSheet.TitleBlock = "AX_H"
But, manually switching titleblocks is fine. Does anyone have an idea to figure out this problem? Thanks
(To be clear, prompt texts here means, https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-708CC945-36C4-4402-AB99-4403FFAB1878)
Solved! Go to Solution.