Custom Properties

Is there a way to enger custom properties to parts without opening the files in SolidWorks? Does someone have vb code for this?
Thanks
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Go to msdn.microsoft.com and find the "dsofile" control. This control gives access to a file's custom properties without opening the file in application. Once the control is installed, add a reference to it in the VB project. Only works for general properties, not configuration-specific properties.
Fitzgerald wrote:

the
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
just be careful with dsofile - I have seen some cases where it doesn't always release references to the file - especially when used with .NET.

Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.