Properties linked & = to properties on different model
Properties linked & = to properties on different model
(OP)
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.
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






RE: Properties linked & = to properties on different model
RE: Properties linked & = to properties on different model
RE: Properties linked & = to properties on different model
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
RE: Properties linked & = to properties on different model
BR
Linqur
RE: Properties linked & = to properties on different model
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.
RE: Properties linked & = to properties on different model
Thanks, I will look into your idea.
Bradley
RE: Properties linked & = to properties on different model
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