|
monitoring with api
hi all,
i would like to know if there is a way using api or any other way to modify custom properties of a part if i use a specific feature, what i want is when i use hole wizard (tapped ones) the custom property "process" changes to "hole". but i dont want to run a macro after i finished the part, i want solidworks to monitor the actions i do and if i use holy wizard the property is changed.i know how to use api, i just need the monitoring code or the functions name, i don't want this to make solidworks slow though.
check out our whitepaper library.
you would want to make this as an addin. to "monitor" actions, you need to use object events. this requires early binding and dimensioning objects using the "withevents" keyword. then you can keep track of features as they are created and deleted and then act accordingly.
an article about early binding:
do you have an up to date method of creating an addin from a macro in vb 2008 express? i've tried to follow your old one, but vb6 is just not the same.
i will try that.. thanks.. :d
unless something has changed, you cannot create add-ins with vb express.
-handleman, cswp (the new, easy test) |
|