Message 1 of 18

Not applicable
12-05-2018
11:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to write a rule which will create a new sheet with the right Titleblock.
I couldn't manage to find a way to apply the TitleBlock because it has Prompted Entry.
I really need them, and I found in this example that we should be able to manage the Prompted Entry when applying a TitleBlock with iLogic : http://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-389C7661-CA66-437B-95A4-28F2A11A7A57
Here my simplified code :
'Create new sheet NewSheet = oSheets.Add(DrawingSheetSizeEnum.kADrawingSheetSize,PageOrientationTypeEnum.kLandscapePageOrientation,NewSheetName) 'Add border NewSheet.AddBorder("Custom border") 'Add TitleBlock ' 1st : create the array for Prompted Entry sPromptStrings = New String(){"TEST"} ' 2nd : add the TitleBlock NewSheet.AddTitleBlock("Custom TitleBlock", ,sPromptStrings)
Here is the documentation of an Inventor Sheet with the AddTitleBlock method : http://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-7BCBBA98-FFBE-45CD-AEEE-00FFD9AC4AEA
What did I miss?
Thanks,
Math
Note: I use Inventor 2012
Solved! Go to Solution.