biw01
Automotive
- Dec 31, 2011
- 152
Hello friends,
I am trying to retrieve the note associated with the custom symbol using the GetArbitraryNoteTitle() API.
My sample code is as mentioned below
Dim draftingCustomSymbolBuilder1 As Annotations.DraftingCustomSymbolBuilder
draftingCustomSymbolBuilder1 = objPart.Annotations.CustomSymbols.CreateDraftingCustomSymbolBuilder(objCustSymb)
draftingCustomSymbolBuilder1.SmashSymbol = True
[highlight #FCE94F]NoteText = draftingCustomSymbolBuilder1.GetArbitraryNoteTitle(0)[/highlight]
Dim nXObject1 As NXObject
nXObject1 = draftingCustomSymbolBuilder1.Commit()
draftingCustomSymbolBuilder1.Destroy()
The highlighted line throws an error, kindly help where am i going wrong.
Regards,
Amitabh
I am trying to retrieve the note associated with the custom symbol using the GetArbitraryNoteTitle() API.
My sample code is as mentioned below
Dim draftingCustomSymbolBuilder1 As Annotations.DraftingCustomSymbolBuilder
draftingCustomSymbolBuilder1 = objPart.Annotations.CustomSymbols.CreateDraftingCustomSymbolBuilder(objCustSymb)
draftingCustomSymbolBuilder1.SmashSymbol = True
[highlight #FCE94F]NoteText = draftingCustomSymbolBuilder1.GetArbitraryNoteTitle(0)[/highlight]
Dim nXObject1 As NXObject
nXObject1 = draftingCustomSymbolBuilder1.Commit()
draftingCustomSymbolBuilder1.Destroy()
The highlighted line throws an error, kindly help where am i going wrong.
Regards,
Amitabh