Automating Description field between part and drawing.
Automating Description field between part and drawing.
(OP)
Is there a simple way to have the Description field in the part Save dialog box, automatically populate the Description field in the Drawing created from that part?
I noticed that using the Description field automatically creates the field in the Custom Property table but does not work the other way around.
I did check previous posts and FAQs but couldn't find anything. Also, at the moment, the search feature is down.
Thanks in advance.
I noticed that using the Description field automatically creates the field in the Custom Property table but does not work the other way around.
I did check previous posts and FAQs but couldn't find anything. Also, at the moment, the search feature is down.
Thanks in advance.






RE: Automating Description field between part and drawing.
Exit the note. RMB, select edit sheet. Save template. Save sheet format.
Jeff Mirisola, CSWP
CAD Administrator
SW '07 SP2.0, Dell M90, Intel 2 Duo Core, 2GB RAM, nVidia 2500M
http://designsmarter.typepad.com/jeffs_blog
RE: Automating Description field between part and drawing.
RE: Automating Description field between part and drawing.
I want the ability to show descriptions in the feature managers as well as pull these descriptions into PDMWorks.
RE: Automating Description field between part and drawing.
This macro will allow you to copy custom properties from one document to another. Copy the Description custom property from your part to your drawing (and any others you want to be consistent).
RE: Automating Description field between part and drawing.
If someone can write a macro that auto-assigns the Description from the part to the drawing (or assembly) upon Make Drawing from Part or Make Assembly from Part, it would be appreciated.
RE: Automating Description field between part and drawing.
Did you really mean this? Do you want the part desription copied to the assembly description, or did you mean to say "Make Drawing from Assembly"?
If so, I really don't think you're going to be all that happy with a macro. Ideally it should be a little bitty add-in. The macro version would have to be run once during the SW session prior to creating any new drawings. The reason is that it has to be run in order to start watching the user's actions and monitoring for events. You can, however, add parameter switches to the SW shortcut on your desktop to force it to run a macro on launch.
Also, there is no event for "Make drawing from part" or assembly. That's not really what you want anyway. What if the user creates a new drawing by choosing File->New? What needs to happen is that when a new drawing view is created (any new view), the macro will catch that and check the drawing's custom properties for existence of the "Description" property and whether or not it is filled out. If no data exists, the macro copies it from the referenced part or assembly.
Maybe someone here will write that macro for you for free, but I sort of doubt it. The motivation is minimal. There are requests for macros here all the time. Personally, I've written quite a few and posted them. However, the task has to meet some combination of these criteria:
1. The challenge is interesting, leading me to investigation of a new area of SW.
2. It's a macro that I perceive could be useful to multiple people.
3. It's a relatively simple modification of one I've already written.
It also helps when it's not a direct request by a poster for someone else to do all the work for him/her.
RE: Automating Description field between part and drawing.
Thanks for the posts.....
RE: Automating Description field between part and drawing.
I think you'll find these guidelines apply to just about any forum in which there are less-experienced people asking questions to more-experienced people.
RE: Automating Description field between part and drawing.
Have you tried the macro I suggested? From your initial response to my post I believe you have, but I wanted to make sure.
I don't think it's an overly cumbersome process to run a macro to do what you want (if I've correctly interpreted what you want to do, this method accomplishes it exactly). It may not be the most elegant, automated method but it meets the following criteria:
1) It works
2) It's quick
3) It's free
In this particular instance, you can have all three.....
RE: Automating Description field between part and drawing.
http:/
http:
This are not "automatic" but they are on-the-fly.
Matt
CAD Engineer/ECN Analyst
Silicon Valley, CA
http://sw.fcsuper.com/index.php
RE: Automating Description field between part and drawing.
The macro would insure the two desc's values are the same at the time when the drawing is saved. This is automatic, but it still isn't real time, which is what I'm sensing you feel you need. Let us know.
Matt
CAD Engineer/ECN Analyst
Silicon Valley, CA
http://sw.fcsuper.com/index.php
RE: Automating Description field between part and drawing.
It's not that I need one way or the other....I'm just trying to make things easy for users and to eliminate redundancies. If I had access to this macro, I would offer it to my users as an alternative to cutting and pasting.
Thanks
Stopped by your site.....great resource.