Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Properties linked & = to properties on different model

Status
Not open for further replies.

Standing

Mechanical
Jan 14, 2002
1,578
Do you know how I can have a property on a drawing file named Assy1.slddrw linked to a property on part1.sldprt?
The main goal here is removing the inserted assembly on sheets 3 thru 7 just to control the drawing number and revision. Here are the properties that are being controlled. $PRPSHEET:"SW-File Name” and $PRP:"Revision".
When I have the assembly view on all sheets, the time it takes to go from sheet 4 to sheet 7 is several minutes. After I deleted the assembly view on sheets 3 thru 7 and put in a placeholder, it only took a few seconds to go from sheet 4 to sheet 7.
Bradley
 
Replies continue below

Recommended for you

If the property is stored in a single external excel file maybe both files reference the same cells.
 
You should change the "Use custom property values from model shown in" to "Drawing View of part1" in Sheet Setup- window.
 
linqur,
Your idea is what I was doing. I am trying to get a small file that would give me properties for part number and revision. Which would be the same as the model on the first sheet, which requires an assembly to build the BOM. I wanted to link the properties of the assembly and part, without manually changing both locations. So that went someone changes the revision on the Assembly the revision of the part changes automatically withou having to open the part and manually changing that property. Bradley
 
OK, now I understood it. Don't have any ideas except having some database to hold revision information.

BR
Linqur
 
You could do this either with VBA or with an add-in dll.
However, one issue which needs to be addressed is indicating to the program which assemblies this property linking applies to (I am assuming that you won't want to do this with ALL the assemblies you create). What I would do is have the user enter the custom properties using a VBA form and have a check box in the form with "Update part properties", so that when the checkbox is selected the code would update the part properties in addition to the assembly properties. You will also need some way to tell the program which part file in the assembly is to be updated. The two obvious ways are to make the part file name the same as the assembly file name or to have that part file as the first one in the assembly. You could definitely modify the custom properties routine which is on the SWX model library to do this.
 
Stoker,
Thanks, I will look into your idea. Bradley
 
Bradley

Please refer to thread559-34979 in which I explain the method I use. The custom properties that I am refering in that trhead are created in the part end presented in the drawing. The part (or the assembly)is the master of the product information. The drawing is only "cosmetic" for the prodution line. If I change something not directly related to features, for example the surface treatment, the information (including the revison information) change is made in the part file. The drawing is simply printed and automatically reflects the update.
How do I create/change coustom properties? I have a VBA in an Excel sheet that can read/write the custom properties. In the lines I have the properties (part number, part name, surface treatment, revision number, cost, weigth,....) and in columns I have the configurations of the part/assembly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor