Get Custom Properties (Solidworks)
Get Custom Properties (Solidworks)
(OP)
Hi,
There are tonns of macros and small programs out there for custom properties but I cannot get out of them what I want. All I am looking to do is have a part or maybe and assembly open, then run the macro and a msgbox will appear giving me the property that I specify in the macro. There is one macro in the API Help but it loops through all the properties and gives you all of them in the debug Window. I would just like to specify which property i want to see.
Any body know this ? Thanks.
There are tonns of macros and small programs out there for custom properties but I cannot get out of them what I want. All I am looking to do is have a part or maybe and assembly open, then run the macro and a msgbox will appear giving me the property that I specify in the macro. There is one macro in the API Help but it loops through all the properties and gives you all of them in the debug Window. I would just like to specify which property i want to see.
Any body know this ? Thanks.






RE: Get Custom Properties (Solidworks)
RE: Get Custom Properties (Solidworks)
CODE
MsgBox Application.SldWorks.ActiveDoc.Extension.CustomPropertyManager("").Get("Description")
End Sub
-handleman, CSWP (The new, easy test)
RE: Get Custom Properties (Solidworks)
RE: Get Custom Properties (Solidworks)
RE: Get Custom Properties (Solidworks)
RE: Get Custom Properties (Solidworks)
Matt Lorono
CAD Engineer/ECN Analyst
Silicon Valley, CA
Lorono's SolidWorks Resources
Co-moderator of Solidworks Yahoo! Group
and Mechnical.Engineering Yahoo! Group
RE: Get Custom Properties (Solidworks)
-handleman, CSWP (The new, easy test)
RE: Get Custom Properties (Solidworks)
This may have something to do with my next API project. I've seen the demo of 2009 and it looks nice
Thanks
Tobin Sparks
www.nov.com
RE: Get Custom Properties (Solidworks)
You're being too modest. It will probably take SolidWorks 3 or 4 service packs worth of debugging before they're on par with your RigidCustomProperties.
Joe
SW Office 2008 SP4.0
P4 3.0Ghz 3GB
ATI FireGL X1