×
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

Properties linked & = to properties on different model

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.

Bradley

RE: Properties linked & = to properties on different model

If the property is stored in a single external excel file maybe both files reference the same cells.

RE: Properties linked & = to properties on different model

You should change the "Use custom property values from model shown in" to "Drawing View of part1"  in Sheet Setup- window.

RE: Properties linked & = to properties on different model

(OP)
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

RE: Properties linked & = to properties on different model

OK, now I understood it. Don't have any ideas except having some database to hold revision information.

BR
Linqur

RE: Properties linked & = to properties on different model

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.

RE: Properties linked & = to properties on different model

(OP)
Stoker,
Thanks, I will look into your idea.

Bradley

RE: Properties linked & = to properties on different model

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

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