I'm not sure if what I want to do is possible, but maybe one of you can tell me.
What I want to do:
I want to have a form that the user can fill out with all the parts for a surface finish symbol and have it inserted into a specific location in the sheet format.
I have made the form and it works great, but it will only insert the symbol in the bottom left corner of the drawing no matter what x,y coordinates I use. Also, I know that to insert a surface finish symbol in a sheet format I need to first insert a note and put the surface finish symbol inside of it. However, the InsertNote function in solidworks API requires a string input and the InsertSurfaceFinishSymbol3 returns an object.
What I have so far:
I can insert a note in the correct location of the sheet format and I can insert the surface finish symbol with the inputs from the user into the bottom left corner of the sheet.
Is there some way to combine this where I can insert the surface finish symbol into the sheet format that the location I want? If not, is there a way to insert it into the sheet in the location I want? No matter what coordinates I use, it's always in the same spot.
My code is attached. I am using SolidWorks 2007.
Thanks in advance,
Tara