Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Just trying to add an existing symbol to a drawing sheet. I know i'm not formating the point correctly and i get a position error. How can i get the point location of two intersecting lines in my border to hard code the location?
Error:
Error on Line 18 : Argument not specified for parameter 'Position' of 'Public Function Add(SketchedSymbolDefinition As Object, Position As Inventor.Point2d, [Rotation As Double = 0.0], [Scale As Double = 1.0], [PromptStrings As Object]) As Inventor.SketchedSymbol'.
Error on Line 18 : End of statement expected.
DimoApp As Inventor.Application=ThisApplication
DimthisIDW As DrawingDocument=oApp.ActiveDocument
oSheet=thisIDW.ActiveSheet
DimoSymDef As SketchedSymbolDefinition
oSymDef=thisIDW.SketchedSymbolDefinitions.Item("APPROVAL STAMP")myPoint=ThisApplication.TransientGeometry.CreatePoint2d(1, 6)
oSheet.SketchedSymbols.Add(oSymDef) ,myPoint
Thanks
Solved! Go to Solution.