Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Link SolidWorks Part custom properties & Drawing file properties 2

Status
Not open for further replies.

rkam

Mechanical
Oct 30, 2007
26
I have a part file with 10 configurations & each of the configurations have their own configuration specific custom properties.

I have a drawing template with file custom property names depicting the configuration specific custom property names of the part.

When I make drawing from part, is there a way to link or automatically update the drawing file custom property values?

I checked in the pull down of "value/text expression" of the drawing file custom properties but couldn't find anything in them to link to the part properties!
 
Replies continue below

Recommended for you

The final post in thread559-138421 has a macro solution which may need to be adapted for your needs.


[cheers]
 
Dear CorBlimeyLimey,

That was a very good tool.

But my intentions here is:
1. The drawing file properties should fill up automatically when a drawing for a part is created and avoid repition of filling same properties in 2 places (part config specific poperties and drawing file properties)
2. Have the drawing properties to be dynamic so that they update themselves whenever a change is made in the part file

I already have a drawing template with the property names defined in them.

If there are some equations/tool doing this it would be wonderful.
 
It sounds like what you want is to link your notes to the model properties, not to the drawing properties. Our drawings have no custom properties of their own. The title block and notes are automatically filled because the notes in the drawing are linked to the custom properties of the Model in view specified in sheet properties, not to the Current document or to the Model in view to which the annotation is attached. If you link your notes properly, all custom property information only needs to be entered once in the part/assembly file. They will automatically update when the custom properties of the referenced document change.
 
handleman is correct. Setup your dwg templates so that certain notes are linked to part properties. Search in Help, there are good examples there.

Chris
SolidWorks 08 0.0/PDMWorks 08
AutoCAD 06
ctopher's home (updated 10-07-07)
ctopher's blog
 
The functionally that you desire has been asked about several times on this forum with no solution or workaround presented. The macro that CBL pointed you to was what I made as a "crutch". Unfortunately it does not yield the desired associatively.

I encourage you to put in an enhancement request related to this feature in the hope that we will get it in a future version.

Eric
 
Both handleman & ctopher are correct regarding notes...

But here I want the drawing -> file -> properties -> custom -> values/text expression to be filled in automatically and be dynamic so that they reflect the property values entered in the part config specific properties.

If anyone has a linking equation/tool, it would be of great help.
 
Thanks Eric. Your reply makes sense, I tried different ways but couldn't bring in the associavity.

So does it mean there is no solution at all for this at present and we have to wait for this option in the future SW versions!!
 
Maybe I'm not understanding what you are asking about. If you want a drawing to populate with values from the part or assembly you link to:

$PRPSHEET:"PROPERTY"

If you want to link to a value from the drawing, you link to:

$PRP:"PROPERTY"

Maybe I'm too simple to see what you are asking but it seems to me that is what you want.
 
rkam,
Did you search through HELP? Do you see there what it is what you are looking for?
As with jwlynn64, maybe we don't understand what you need?
The suggestion above will get what you need, if understood correctly.

Chris
SolidWorks 08 0.0/PDMWorks 08
AutoCAD 06
ctopher's home (updated 10-07-07)
ctopher's blog
 
A SW part/assy document can have Summary and Custom (and Config Specific) Properties. Similarly, a SW drawing document (.slddrw) can have Summary and Custom Properties.

He already has the linked annotations working in the drawing template, now he wants the drawing document properties to be populated from the part properties.

[cheers]
 
I am sorry for the confusion here.

I perfectly understand the comments above, these are the links that we can provide in the notes.

If you open up a SW Drawing file, go to File->Properties->Custom, we get a table with "Property name", "Type", "Value/Text Expression" & "Evaluated Value". I want to link the "Value/Text Expression" to the Part Configuration Specific Custom Properties. Is this possible?

 
rkam ... It is currently not possible (as far as I know) other than with the non-associative macro posted above.

[cheers]
 
CBL,
Thanks for macro. That will help a lot for now.
May be dynamic linking is a little much for the asking as I realize now that it would create confusion when a drawing is associated with more than 1 part. The Macro servers my need for now.
RK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor