"Large" multibody part vs Assembly with lots of Virtual component

User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

"Large" multibody part vs Assembly with lots of Virtual component

Unread post by zwei »

I had been working on some ECAD/PCBA file recently.
As I would like to have the PCBA file as only one single file (to ease file management), I was wondering what is the performance difference when it come to large multibody vs assembly with lots of virtual component?

Eg: Multibody part file with 500+ bodies Vs Assembly file with 500+ virtual component?
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
User avatar
jcapriotti
Posts: 1869
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 30
Location: The south
x 1214
x 1999

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by jcapriotti »

Both have their pros and cons.
  • Assembly - Longer to load, virtual components are extracted to a temp folder on your hard drive and its treated like any assembly. Typically fairly fast once loaded and you get all of the benefits of an assembly if you need it, like dynamic motion, flexible assys, etc.
  • Multibody - Faster file loading as no external references to load. No long rebuilds as there are no features. Multibody performance is not as good as assembly performance when it comes to some graphics functions like hiding/showing bodies/components.
I use multibody for small static assemblies of purchased components. PCBs should fit that category but I've had big slow downs with large multibody parts in the thousands of bodies. You'll have to try it and compare.
Jason
User avatar
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by mattpeneguy »

Sooo, about those large assemblies with lots of virtual components...Say ya want to change something, ya make a pack 'n go of that asm...You may not get all those virtual components in the new assembly. Anyone else experience that? Have they fixed it and if they have, what release?
User avatar
jcapriotti
Posts: 1869
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 30
Location: The south
x 1214
x 1999

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by jcapriotti »

If everything is virtual, why use Pack n go? Just "save as" right?
Jason
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by zwei »

mattpeneguy wrote: Tue Mar 23, 2021 4:24 pm Sooo, about those large assemblies with lots of virtual components...Say ya want to change something, ya make a pack 'n go of that asm...You may not get all those virtual components in the new assembly. Anyone else experience that? Have they fixed it and if they have, what release?
Pack and go and Virtual Component is another can of worm, thanks for reminding, I do not have any info whether they had fix it or not but I do face the same exact issue in SWX2018...
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
User avatar
Glenn Schroeder
Posts: 1522
Joined: Mon Mar 08, 2021 11:43 am
Answers: 23
Location: southeast Texas
x 1759
x 2132

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by Glenn Schroeder »

mattpeneguy wrote: Tue Mar 23, 2021 4:24 pm Sooo, about those large assemblies with lots of virtual components...Say ya want to change something, ya make a pack 'n go of that asm...You may not get all those virtual components in the new assembly. Anyone else experience that? Have they fixed it and if they have, what release?
I also had trouble with virtual components getting lost in Pack and Go, so I quit using them. I don't know if it has been fixed because I haven't tried in several years.
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
User avatar
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by mattpeneguy »

jcapriotti wrote: Tue Mar 23, 2021 4:31 pm If everything is virtual, why use Pack n go? Just "save as" right?
@jcapriotti,
I get ya and maybe you're right, but the OP said, "lots of virtual parts". I interpreted that as a mix of virtual and non-virtual. In that case the right tool for the job is Pack 'n Go, but it is/was broken.

If I'm wrong a word of caution here is still warranted, because the amount of lost work thinking that the software does what it should can cost you A LOT of time...As it did me...Gotta remember, even if the OP meant "all virtual components", others will read this thread.
User avatar
jcapriotti
Posts: 1869
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 30
Location: The south
x 1214
x 1999

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by jcapriotti »

@mattpeneguy I get it, guess I'm used to our use cases for virtual components. They would be rarely copied along with the data set.

With that said, I did test this with 2021 sp2 on a small assembly and had no issues....all virtual components were there.
Jason
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by zwei »

I am indeed using mix of virtual and non-virtual.

I dig around and there is suppose to be a few SPR open for it and I am not sure it had been solved yet,
SPR 1018568: Systems - Pack and Go: Some virtual components in Pack and Go are losing file references (suppressed).

The issue is pretty "random", sometimes it works, sometimes it won't.

I will stick with multibody part for now

Matt is right, software not doing what it suppose to is a pain.
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
User avatar
jcapriotti
Posts: 1869
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 30
Location: The south
x 1214
x 1999

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by jcapriotti »

Zhen-Wei Tee wrote: Wed Mar 24, 2021 9:13 am
I dig around and there is suppose to be a few SPR open for it and I am not sure it had been solved yet,
SPR 1018568: Systems - Pack and Go: Some virtual components in Pack and Go are losing file references (suppressed).
Not that it helps, but it shows fixed in 2021 sp3 which is in EV right now.
Jason
User avatar
zwei
Posts: 701
Joined: Mon Mar 15, 2021 9:17 pm
Answers: 18
Location: Malaysia
x 185
x 600

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by zwei »

jcapriotti wrote: Wed Mar 24, 2021 9:45 am
Zhen-Wei Tee wrote: Wed Mar 24, 2021 9:13 am
I dig around and there is suppose to be a few SPR open for it and I am not sure it had been solved yet,
SPR 1018568: Systems - Pack and Go: Some virtual components in Pack and Go are losing file references (suppressed).
Not that it helps, but it shows fixed in 2021 sp3 which is in EV right now.
Glad to know that!
Too bad we wont be receiving 2021 anytime soon (maybe couple of months later).
Will definitely want to try it out on one of my assembly with virtual part which everyone else are having problem with the pack and go export except me... :D
Far too many items in the world are designed, constructed and foisted upon us with no understanding-or even care-for how we will use them.
User avatar
HerrTick
Posts: 207
Joined: Fri Mar 19, 2021 10:41 am
Answers: 1
x 32
x 307

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by HerrTick »

I prefer multi-body for PCBs so nothing gets lost. Most of the geometry is simple enough that even large PCBs don't cause too much trouble.

I have yet to work at a place that maintained a component library well enough to make good use of PCB Exchange interoperability. (Some "heavy-hitters" on that list, I might add.)
User avatar
jcapriotti
Posts: 1869
Joined: Wed Mar 10, 2021 6:39 pm
Answers: 30
Location: The south
x 1214
x 1999

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by jcapriotti »

HerrTick wrote: Wed Mar 24, 2021 11:46 am I prefer multi-body for PCBs so nothing gets lost. Most of the geometry is simple enough that even large PCBs don't cause too much trouble.

I have yet to work at a place that maintained a component library well enough to make good use of PCB Exchange interoperability. (Some "heavy-hitters" on that list, I might add.)
I've some fairly large PCBs with too many bodies. I still prefer it to virtual component assemblies due to load time. We need more body manipulation/selection tools to cleanup these kinds of models. Often we don't need to show the tiny components like surface mount resistors, etc.
Jason
User avatar
mattpeneguy
Posts: 1386
Joined: Tue Mar 09, 2021 11:14 am
Answers: 4
x 2489
x 1899

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by mattpeneguy »

jcapriotti wrote: Wed Mar 24, 2021 12:41 pm
HerrTick wrote: Wed Mar 24, 2021 11:46 am I prefer multi-body for PCBs so nothing gets lost. Most of the geometry is simple enough that even large PCBs don't cause too much trouble.

I have yet to work at a place that maintained a component library well enough to make good use of PCB Exchange interoperability. (Some "heavy-hitters" on that list, I might add.)
I've some fairly large PCBs with too many bodies. I still prefer it to virtual component assemblies due to load time. We need more body manipulation/selection tools to cleanup these kinds of models. Often we don't need to show the tiny components like surface mount resistors, etc.
I was hopeful that Defeature would work for things like this...nope, didn't work for me when I tried it...
User avatar
mbiasotti
Posts: 32
Joined: Tue Mar 23, 2021 1:57 am
Answers: 0
Location: San Jose, CA
x 41
Contact:

Re: "Large" multibody part vs Assembly with lots of Virtual component

Unread post by mbiasotti »

My 2 Cents is that there would have to be a pretty good reason someone is building a 500+ body part - and I wouldn't accept it or get them to change their methodology. If it is a EE board, then my first feature in the import would an Extrude to combine all the components to either make one body or parametrically (feature) obliterate them to make the import board easier to work with.

I've recently dealt with this issue with motor controller boards coming into SW from Altium via STEP resulting in 1500 - 2000 surface bodies (corrupt non-manifold bodies). One thing I can tell you is that you want to try and keep your Surface bodies to a low number because you have to realize that being non-manifold, SW by default renders both sides of the face resulting in 2X or more the faces SW needs to render in the Scenegraph.
Post Reply