×
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

changing custom config. specific

changing custom config. specific

changing custom config. specific

(OP)
Hello ,

Is it possible to change the custom config. specific of a part WITHOUT opening the part?

for example with VBA

greetings mike

RE: changing custom config. specific

As far as I know, NO!

The only way I know to change doc. properties without opening the file it's using DSOfile (a M$ dll). But this can change only the doc. summary properties and the custom properties. Not the configuration specific (sad, isn't it?)

Regards

RE: changing custom config. specific

You can access the config specific using SolidWorks Explorer which would lead me to believe that you can get to it through the API.  We populate our models custom props using the API.  I will post the calls for Config specific if I find any.

BBJT CSWP

RE: changing custom config. specific

I agree with you BBJT. But I think the big issue here is not access the properties, but do it without opening the file. This is very usefull specialy when you need to create or modify a property in a group of docs. Opening each doc. and change the properties is time consuming and it's easy to have errors. Another way is to have an API that can automate the opening of each file and act on the properties, but that is also time consuming for the computer (I have this method for AutoCad because it doesn't work with DSOfile).

Regards

RE: changing custom config. specific

Using explorer, right mouse click on the SolidWorks part file, click Properties.  Click the Custom tab. Pick the property you want to change and in the Value text box change it.  Then click the Modify button and OK. Now open the model in SolidWorks to see if it changed.  You will not be able to get to custom properties if an application like SolidWorks has the file open. I hope this is what you are asking about. Good luck.

Bradley

RE: changing custom config. specific

(OP)
thans a lot guys !!

i will try the possibility

Greetings mike !!!

RE: changing custom config. specific

If you want to change custom properties using a Basic program you will want to get the dsofile app from the Microsoft web site.  You will need this in order for your routine to get access to the file properties without opening the file.

http://support.microsoft.com/default.aspx?scid=KB;en-us;q224351

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