Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Link a Custom Property to Part/Assy in drawing view?

Status
Not open for further replies.

brrian

Mechanical
Jan 21, 2004
164
I'm looking for a way to link a custom property in a SLDDRW (drawing) file to a custom property in the model/assembly shown in the drawing file--specifically, the Description.

My idea of an indirect way to do this is to link a custom property in the drawing to the note in the title block that references the part/assembly description. I tried creating a new custom property and putting:

$PRPSHEET:"Description"

In the Value/Expression field of that custom property... no dice. I could have it formatted wrong, or (more likely) that just doesn't work.

Any thoughts? help? comments? Can it be done? Please let me know, & thanks in advance...

Brian

 
Replies continue below

Recommended for you

click on your note in the drawing. Int he property manager click the link to property tool. A button with a hand, chain and paper. Select where you want to property to come from. I believe you want to 3rd selection "model in view specified in sheet properties". Click the down arrow and an available list of properties appears. Select the property you need to link to. Apply.
 
That note is already linked (via the way you've explained) to the "Description" field of the model in the specified view.

What I want is ANOTHER custom property in the drawing file (let's call it XXX) that is linked to that note:

XXX = value of Note

Similar I suppose to the way you can link a custom property to a dimension value.

Does that make more sense? If so, can that be done?
 
So, to clarify, you have two notes on a drawing ... one note is linked to a property of a part ... the other note you want to link to the first note. If I'm correct I have a question ... WHY?

Just link the second note to the part in the same way you linked the first note. Why complicate things by creating dependancy links which forces SW to have to "regen" twice? One to update the first note, then again to update the second.

[cheers]
 
One note is linked to a property of a part, and a PROPERTY is linked to that note. The end result is that I have a property in a drawing linked to a property in a model (the model that's in the drawing).

The reason is that I am having a program written that needs to access three things from each drawing file of a project:

-Page Number (which is a custom property "Page" in the drawing file)
-Part Description (the part in the view(s) on the drawing)
-Part "Group" (a custom property in the part on the drawing)

Having the program get the page number is easy--it's a custom property. The other two may not be so easy. If I were able to create custom properties (the whole linking thing), then the program could get those fields the same way that it gets the page number.

Does that make sense? Although clear to me, it seems like it would be confusing to read and understand... I need some visual aids?!?

Thanks,

Brian
 
"Copying & pasting" the first linked note may be an alternative for you. Then you could modify the copied note & prefix or suffix it with whatever other notations you need.

[cheers]
 
I am a bit confused. It is possible to make custom properties in the file/properties dialog. All you have to do is add teh property. Or you can modify the custom properties file in your SW install to automatically have them available.
 
OK, ignore my last post ... you replied while I was writing my afterthought.

I am not into programming, but your program (Macro, API, ?) should be able to access the same information that the drawing sheet accesses. Now that we know what you are really trying to do, maybe the programming gurus here can help you out.

Good luck.

[cheers]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor