Create part list from dynamic block

Create part list from dynamic block

Anonymous
Not applicable
4,010 Views
15 Replies
Message 1 of 16

Create part list from dynamic block

Anonymous
Not applicable

I need help with creating a part list when using dynamic blocks.

We already have lots of dyn. blocks existing I'd like to still use in the future, but whenever I create a part list, all parts from my dynamic block would show up in there.

 

Is there a way to avoid that?

Or any other ideas to work with dyn. blocks and and having the chance to get an bom created automatically? (Currently we have a 2D BOM line within our blocks we attach to the border/existing 2D BOM).

 

Thanks.

0 Likes
4,011 Views
15 Replies
Replies (15)
Message 2 of 16

leothebuilder
Advisor
Advisor

You can add attributes to your dynamic blocks for all the parts that exist in that block, and use

data extraction to extract this information into an autocad table or excel sheet, and can include the quantities.

0 Likes
Message 3 of 16

Anonymous
Not applicable

I feared that answer would come. 🙂

I've never worked with attributes, do you know a good video or page where I can get a good instruction for that?

 

Thanks!

0 Likes
Message 4 of 16

leothebuilder
Advisor
Advisor

Post a drawing of some of your blocks and parts and we'll try and help you with the attributes.

Knowing what you want to achieve will make it easier to give pertinent suggestions.

If proprietary blocks, just strip what you can. Include your BOM list.

It's not as difficult as it sounds.

0 Likes
Message 5 of 16

leothebuilder
Advisor
Advisor

follow this link:

 

https://www.youtube.com/watch?v=jefJns5kxBw

 

Plenty others on YouTube

0 Likes
Message 6 of 16

Anonymous
Not applicable

Attached are now my "old" and "new" versions.

The data "Nipple" is how we used to do it: Having a dynamic block , explode it and move the BOM line to the other BOM lines.

"Part list" is how I'd like to use it. But when I insert the dynamic block "test block bom" all 'Visibility states' appear in the BOM. So I have to explode it, that only the selected item shows up in the BOM.

0 Likes
Message 7 of 16

leothebuilder
Advisor
Advisor

Ok...not too hard once you get the hang of this:

I used one of your blocks and created the attributes via the ATTDEF command.

You will notice at all the attributes have been set to "invisible" except the "mark" which needs to remain visible so you can edit this.

The others also have been set to "constant" with their default values entered and fixed.

This assumes that these values will, such as part number will remain constant and there is no need to edit these.

 

From there I have used data extraction to extract all the attribute information into an Autocad table using the DX command and first creating a Data Extraction template called TEST EXTRACT.dxe. You will need to add all your other blocks with attributes to this extraction template. Once you have finished your drawing you simply right click this table and from the drop down menu select "Update Table Data Links". Do the same if you add or delete blocks/parts and the table will update. 

Attached are a test cad file, data extract template and a pdf showing how to run the data extraction.

 

0 Likes
Message 8 of 16

leothebuilder
Advisor
Advisor

Looks like the forum does not allow .dxe files so if you feel you need this send me a private message with your email and I will send.

0 Likes
Message 9 of 16

pendean
Community Legend
Community Legend
ZIP then post.
Message 10 of 16

Anonymous
Not applicable

Thanks for trying to help me, but I think I didn't make clear enough, that the most important part of that is to have a parts list at the end.

By using your way I wouldn't have a parts list, right?

I find it's a pretty smart way to connect the mark balloons on the part with the mark in the BOM, to change orders of the marks in BOM, etc.

 

So at the end I want to insert a part from a dynamic block, same time the line should come up in the BOM and the balloon I'd add to my part would be linked with that line in the BOM.

So by changing/deleting the part the BOM would get updated automatically.

 

Any other idea how to solve that problem? 🙂

0 Likes
Message 11 of 16

leothebuilder
Advisor
Advisor

Thanks

0 Likes
Message 12 of 16

leothebuilder
Advisor
Advisor

In that case you can place the "mark" attribute in a balloon and change to constant.

In the Block Editor, select the "mark" attribute and in the properties palette change to "constant" and add a value.

After closing the block editor, make sure you run the ATTSYNC command. Use the ATTSYNC command everytime you change an attribute for the changes to take effect.

 

0 Likes
Message 13 of 16

Anonymous
Not applicable

I really appreciate your help!

 

I found a solution to use my dyn. blocks and can have a part list (I saved a block in a block. With exploding them it only shows me the selected part in my BOM and I still have a block in the drawing).

 

Now I run in a new problem- I created a custom parts list (see attached 'CUSTOM') and it worked out good, except my item# doesn't show up in the drawing (see 'parts list test'). 

What am I doing wrong?

0 Likes
Message 14 of 16

leothebuilder
Advisor
Advisor

The objects in your parts list test drawing only contain proxy entities.

No dynamic blocks to be found.

Even the BOM list is a proxy entity so not much for anyone to suggest a solution.

0 Likes
Message 15 of 16

tiongann2012
Community Visitor
Community Visitor

If still available, send me the data extraction template.

thanks!

0 Likes
Message 16 of 16

christopherNKU7E
Explorer
Explorer

Can you explain how you figured it out? I am looking for the same thing you are/were. I have a dynamic block that i want the parts list to reference. When i pull the dynamic block from my library, it doesnt load in the part reference with it. I also have an issue to have the length automatically generate. @Anonymous 

0 Likes