Thanks John george for the macros. Im not great at writing code.but you have to atart sometime.lol... is there any sites or guides you would recommend?
Get yourself familiar with any programming language like VB, .Net, C, C++ and then you can start making your programs/macro and test them.
If you looking for a book, check here: SolidWorks API - Programming & Automation
If you looking for video tutorials, check here: Video Tutorials for the SolidWorks API
If you looking for examples/website for macro example, then the forum itself is full of tons of examples. SW API help files are awesome too.
Some of the other sites to look at are:
I am trying tutorials and working thru Luke Malpass books. It just takes time..
.. i think you helped me about 7 years ago and pointed me towards bp1 and from there i have been using Luke's BP2 ever since. It is a great job.!
Did you try to use Task Scheduler? you can update an entire folder.
I would recommend that the custom properties should be driven from either the Assembly or Part file rather then from the drawing file, that way if you use the part or assembly in another project the pertinent information stays with the part or assembly, rather then trying to fill it manually in the drawing again and again.
Do you use Custom Property Tab Builder?
I totally agree with you that custom properties should be driven from the part/assembly file.
The situation is i started in new company and i am inserting custom properties in all the parts/assemblies. My boss wants to have fields in the drawing stating who did the drawing and who design design it. Who design it is possible because each part/assemblies has "Drawnby" in it with name. So does that can be applied into the drawing with date.
But in the drawing custom properties also has the field "drawnby" with a different name. Usually one of the junior student.. so i needed a macro to copy the drawing"drawnby" to a new custom property "drawningby" in the part/assembly...
That the long answer to that..lol.
I will try the task scheduler this week. That for suggustion.
In our Macro Library we have two macros that might be of interest:
- Copy drawing custom properties to part or assembly
- Copy part or assembly custom properties to drawing custom properties
These require a free membership at my web site before you can download them.
Thanks Keith for having a look.. i will download them and have a play around. But will me i just messing about to see if i change this that will happen and in most cases it just beeaks the macro.lol.