- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good morning...
I've borrowed and modified two routines that I found online. Where possible I kept the original author's name intact for credit where credit is due. They are attached to this post.
The first is mav.lsp by Lee Mac. This one takes the attribute values (with exceptions) from one block and transfers them to a different block with the same attribute tags. This works like a charm, as you would expect from one of Lee's programs.
The second (atts.lsp) is one I compiled myself from some code I found, and I can't remember the source,... my apologies and thanks to the original author. This one looks at a block for two specific attribute tags, and concatenates the values into a string, separated by a hyphen.
What I would like to do is combine these two, so that the "Mav" portion copies (hidden) attributes from the top symbol in the image below, and places them into the second symbol. The attribute containing the HX - 250 would be the exception l would include in Lee's code. For that portion, I would like to use the code from "Atts", to grab the two attributes visible in the top symbol, concatenate them and populate the HX-250. Notice that, right now, in the atts program I am only grabbing the values and alerting them... this was just to see if I could do it. If I had to, I could keep these separate and do this in two steps, but it would be so nice to be able to do this with one step.
Any ideas on how to combine these? Again, I WILL give credit where it is due. Any help would be appreciated.
Chris Benner
Inventor Tube & Pipe, Vault Professional
Cad Tips Tricks & Workarounds | Twitter | LinkedIn
Autodesk University Classes:
Going With The Flow with Inventor Tube and Pipe | Increasing The Volume with Inventor Tube and Pipe | Power of the Autodesk Community | Getting to Know You | Inventor Styles & Standards |Managing Properties with Vault Professional | Vault Configuration | Vault - What is it & Why Do I Need It? | A Little Less Talk - Tube & Pipe Demo | Change Orders & Revisions - Vault, Inventor & AutoCAD | Authoring & Publishing Custom Content
Solved! Go to Solution.