Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom properties driven from Design Table

Status
Not open for further replies.

JoeMoss

Mechanical
Mar 8, 2006
37
I am having some problems getting my custom properties to load from my DT. When I set up my DT, I use $prp@OrderNumber, but when it load to the custom properties it goes into Configuration Specific, but not the standard Custom Properties.

I have not intentially setup any configuration in this model, but I am using Weldments, which appears to default to an "As Welded" and "As Machined" configs. My DT has Default <As Machined>. It errors out if I try to change it to Default <As Welded>.

Any ideas?
Thanks
Joe
 
Replies continue below

Recommended for you

You cannot set custom properties in the Custom tab from a design table.

I do not use design tables with weldments because of some stability problems I ran into awhile back.

SA
 
SW Help said:
Creating a Design Table
To create a design table, you define the names of the configurations you want to create, you specify the parameters you want to control, and you assign values for each parameter.[/b]

The whole purpose of a DT is to give an easy, "one-stop" place to control configs & their parameters (Configuration Specific properties). The "Custom Properties" apply "across the board" to all configs ... so the "one-stop" place for that is the File > Properties dialogue box.


[cheers]
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091
 
I am using the DT as a portal to outside data. Maybe thats wrong, I am not sure. But what I am doing is importing data through a VB interface, dumping it into the DT (where there is some logic/equations going on) and driving the model.

If that locks me into configs, that fine, I will just work around it and always set it to the active config.

Thanks
joe
 
If you're already familiar with VB/VBA you can just write a macro to take the value from config-specific OrderNumber from the <As Machined> config and drop it in the overall OrderNumber.
 
If you do what handleman suggests, you will also have to delete the "Config Specific" property, because they take precedence over the "Custom Properties".

[cheers]
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091
 
JoeMoss,

To expand on handleman's suggestion. While you cannot directly populate the Custom tab from a design table using SolidWorks built in functionality. If you really want to control it from the design table, you can do it indirectly by putting a macro in the design table so that it will populate the Custom tab. I would put it in the worksheet's before close event.

SA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor