If your running 2009, why not right click on the sheet tab at the bottom and choose copy. Paste this into the new drawing. It will prompt a dialog box asking you to choose before or after the existing tabs.
Usually this is caused by an OLE interaction with Excel and SolidWorks, another windows oddity. If you see this message, go to your task manager and see if the excel process is running. If it is then terminate the process.
Give that one a try.
Thanks.
I pulled a bounding box macro from some of the fine folks here. Does he anybody have a macro that will annotate the bounding box length, height and width of the box with dimensional annotations?
Thanks.
1) RealView turned on is most likely the culprit on your colleagues machine. Realview overides colors assigned to the part faces
2) It shows up fine on the first sheet because that was saved with your drawing template. If the sheetformat was saved out then the link to the format was lost and...
This seems really trival but I'm trying to change the value of a dimension that has been selected and rebuild the part.
Here is snap shot of the code where I prompt the user to select a dimension. In the code I can retrieve the current value, but no I'm struggling with changing that value...
I created a macro that searches the tree for a particular item and suppresses it. What I would like to do in my macro is query whether the feature is suppressed or not, then suppress or unsuppress the flat pattern based on the state of the previous feature.
I should mention I would like the...
I'm trying to switch to a predefined view in a part before the body of the macro executes. Here is the start of the macro.
Sub main()
Set swApp = Application.SldWorks
Set Part = swApp.ActiveDoc
Set SelMgr = Part.SelectionManager
boolstatus = Part.Extension.SelectByID2("Sketch2", "SKETCH"...
Hi All,
I have a macro that reads a custom property from a part and then runs a routine on it to acquire another value. This value then needs to get set as another custom property. I have what I think works the first time if the custom property does not exits. It fails to rewrite the custom...
I'm in need of macro that will query a custom property then fire up an worksheet in excel. The macro would then lookup that value and return another value in that same row and assign it to another custom property. I've found many macros but they all seem to do the reverse. Toolworks is a good...