Thank you for your reply, I don't link the code to the network, all dimensions are there. I did not make any change before and after the upgrade (from SP0 to SP2.2).
Thanks again.
Hello All,
I'm new here and to VBA too. I wrote some codes in VBA using Excel. It works fine with SolidWorks 2007 SP0. Once I upgraded to SP2.2 my code bounced back with the Runtime Error 2147417851 (80010105).
I did check all the Reference Libraries. They are fine. My guess is I'm having a...
Yes, vba is all right with the Office. I think I found the fix by first declaring everything with "Sldworks." then I have a drop down. Thanks handleman.
Dr. Pevac, you do know that Solidworks inside out. I did try the first suggestion and it works nicely. With the second suggestion I don't know how to make the virtual center but I'll play around until I'll get it. I really appreciate your help.
Hello All,
I create the text annotation using this command thru the Excel VBA.
Set Note = Part.InsertNote(Range("L2").Value)
It works fine. Now, if I want to modify this text box, I try to use those line code but it didn't work.
boolstatus = Part.Extension.SelectByID2("DetailItem117@Sheet1"...
It's just a text added in a drawing view and it's not related to any dimension. The Front Panel here is to indicate something like the front side of the bag of potatoes chip etc...
Sorry guys, I do not ignore your questions. In my very first post, I did mention that I'm dealing with the 2D drawing and the rectangle which I refered to is a 2D rectangle on which I have to specify to my customer as "Front Panel" and on the back side as "Back Panel".
I made the design table to...
Chris,
I create an annotation with the text like "Front Panel". Every time that I change the dimension of the rectangle I have tomove the text manually to fit in the center of the rectangle. I hope you understand what I mean. Thanks.
Hello All,
I would like to make my annotation, located in the center of a rectangle, on a 2D drawing to relocate when I modify one side of the rectangle.
Any guru in VBA can give me few little hints, please. TIA.