×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Delete custom properties

Delete custom properties

Delete custom properties

(OP)
Hello,

Is it possible to delete the custom properties of a part of assemblie without opening the part of assemblie.
For example : outside solidworks for example with VBA ?

Thanks a lot

RE: Delete custom properties

You can have full access to the custom properties from the windows environment.  Just right-click the file icon and you will find the custom properties tab.

This is only possible for "file level" custom properties.  It is not possible to access configuration specific custom properties from outside SW.

All this machinery making modern music can still be open-hearted.

RE: Delete custom properties

>>It is not possible to access configuration specific custom properties from outside SW


err, well, actually, it is, and Im doing this very thing.
Im scanning inside .sldprt and .sldasm files for new configurations.

The MS .tlb supplied only allows 'root' level access to the structured storage. There are other, more generic .tlbs out there that will tunnel down thru the storage further, but will only return the stream in a binary format. It is from there that I worked out the data involved in many of the streams.

check out the link:
www.vbbyjc.com/articles/docview.htm

This wont do all the work for you, but will get you past the 'top tier' that the MS-supplied tlb stops at


***warning**** sw04 has many changes in the storage! be forewarned!

RE: Delete custom properties

Oh, and for the location of the config related stream, check out the 'CMgrHdr' stream (for older SW files) or the
'CMgrHdr2' for newer sw files

RE: Delete custom properties

Rocheey: your link is dead

RE: Delete custom properties

damnn.. copying the link off the correct page didnt work. OK, try...

http://www.vbbyjc.com/index.htm  ;

and fish around from there.
Look for "10-16-00" and "OLE Structured Storage Component".

RE: Delete custom properties

I stand corrected.  It's possible, but ya gotta wanna and dig deep!

RE: Delete custom properties

If you use the 2nd link, delete the spaces at the end of it after your explorer opens a bad page...

-----------
Mr. Pickles

RE: Delete custom properties

I saw it demo'd at the Midwest SW User Conf last week by its creator, a nice lady from Wisconsin who does custom API for hire.  This is her pet project and it looked very useful.  I've got the ver 2.1 and I'll be using it and see what happens.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources