Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I'm struggling with re-writing the same program that I solved already...(lost file), but as I remember last time I had all my PromptedStrings given in array.
here is my iLogic code:
SyntaxEditor Code Snippet
If ThisApplication.ActiveDocument.DocumentType = DocumentTypeEnum.kDrawingDocumentObject Then Dim oDoc = ThisApplication.ActiveDocument Dim oSheet = oDoc.ActiveSheet Dim oProdBlock As TitleBlockDefinition = oDoc.TitleBlockDefinitions.Item("PRODUCTION") Dim oTitleBlock As TitleBlock If oSheet.TitleBlock Is Nothing Then oTitleBlock = oSheet.AddTitleBlock(oProdBlock) End If End If
I have "PRODUCTION" in My Title Blocks, no title block is activated while Rule is started.
I still receive the e "E_INVALIDARG"
What do I do wrong?
-------------------------
Tomasz Malinowski
Tomasz Malinowski
Solved! Go to Solution.