Beginner help - I don't understand assembly locks

It's been a few months since I've had to deal with SW.

I place a component in an assembly. It comes in fixed. So I float it, and try to mate it to my basic datum planes. The first mate always comes in as a lock. I can't switch it to coincident or anything else. It's stuck on lock. All the other choices are greyed out.

It seems like in the past, I'd accept it and add more mates, then come back and delete the lock constraint. But this time, the second one I add is also a lock. When I keep adding constraints, it gets to a point where it tells me there's a conflict and asks me what I want to do, so I choose to overconstrain it. Then I go back and delete the locks.

This can't be right. What is happening?

What is the lock constraint even supposed to do? I get the impression that it locks the component in whatever position it happens to be in at the time, but... in what direction? Because if it was in all directions, it would be overconstrained after the second mate.

Also, how do I get the planes to be visible?

SolidworksAssemblies
Comments 18
KH
KH 2021-04-08

Oh, I should have been able to figure that one out! Thanks, Dan.

KC
KC 2021-04-08

Hello,

When you insert a component into an assembly, if you click the green check, it's inserted at the assembly origin and it's fixed.

If you just click in the graphics area to place it, it's not fixed.

What you call a "lock" is called "Fix" and this mate fixes the selection item where it is and the item will no longer move. Since a fixed item is fully constrained just by the Fix, adding further mates to item will overdefine the assembly if the other component in the mate is also immovable, such as a primary plane.

Please upload your files to reduce the guesswork involved in replying:

Kevin 

KC
KC 2021-04-08

Kevin Hansen wrote:

Oh, I just figured it out.

 

When starting the mate process, I right-clicked on the component I wanted to mate (because I learned that in SW, you usually select the thing first, and then the command), so when the Mate properties dialog shows up, the Mate Selections are populated with the component. You can't mate a component with coincident or tangent or whatever, only a surface/plane.

 

So I need to just lick the Mate button on the top, rather than right-clicking a component. 

Hello again,

The selections you make for mating govern what type of mates are permissible.

In SW Help, there's a list of possible mates per the selected entities.

Kevin

JM
JM 2021-04-08

At some point I recommend that you Attach your assembly here to see how the pros would have constrained the components.

KH
KH 2021-04-08

When i was talking about the "lock" I meant this:

KH
KH 2021-04-08

Kevin Chandler wrote:

When you insert a component into an assembly, if you click the green check, it's inserted at the assembly origin and it's fixed.

If you just click in the graphics area to place it, it's not fixed.

 

Thanks. I'm not sure I understood it quite like that.

JP
JP 2021-04-08

Licking mates can sometimes have unsatisfactory results.... I prefer licking glass windows

KH
KH 2021-04-08

Thanks, but it's not the specific constraints I'm worried about, but how to get to them. I couldn't get past the lock.

The top circled item being in the Mate Selections box, causes the bottom circled item, the lock.

KH
KH 2021-04-08

Bad luck - your answer about licking locks is lacking.

KC
KC 2021-04-08

Kevin Hansen wrote:

When i was talking about the "lock" I meant this:

Yes, sorry, I had relations on the brain with Fix.

KC
KC 2021-04-08

Kevin Hansen wrote:

Kevin Chandler wrote:

 

 

When you insert a component into an assembly, if you click the green check, it's inserted at the assembly origin and it's fixed.

If you just click in the graphics area to place it, it's not fixed.

 

Thanks. I'm not sure I understood it quite like that.

Another gaff, I was remembering incorrectly that when you click in the graphics area, the first part would not be fixed, but whether the green check mark is clicked or not, the first part is fixed.

This applies to parts after the first part has been added: green check is fixed, click in the graphics area and the item is floated.

Kevin

DP
DP 2021-04-08

Kevin Chandler wrote:

Hello,

 

...

If you just click in the graphics area to place it, it's not fixed.

...

Not entirely true Kevin.

You can place the first component into an assembly and it will always be fixed no matter your selection.

If you click the green check without clicking in the graphics area at all, then the part's origin and planes will line up with the assembly's origin and planes and it will become fixed.

However, if you click in the graphics area, then the part will become fixed wherever you place it.

But with respect to the "Lock" mate, Kevin (the other Kevin), yes, Solidworks will give you a context based on what you have selected.

If you select 2 components from the tree (not planes, edges, surfaces....I mean components), then the only mate available will be the lock mate.   If, however, you select a plane from one component and a plane from another component, then Solidworks will make available coincident, parallel, Lock, distance and angle.  Which are all possible with 2 planes.

KC
KC 2021-04-08

Kevin Hansen wrote:

Thanks, but it's not the specific constraints I'm worried about, but how to get to them. I couldn't get past the lock.

 

The top circled item being in the Mate Selections box, causes the bottom circled item, the lock.

 

At the top of most (if not all property managers), in the upper right is a help button linked to the help page for the current command:

Click it for Mate to read about the various mate types.

Kevin

EDIT: And upload you files.

KC
KC 2021-04-08

Dan Pihlaja wrote:

Kevin Chandler wrote:

 

Hello,

 

...

If you just click in the graphics area to place it, it's not fixed.

...

 

Not entirely true Kevin.

 

Hi ‌,

Yeah, the addled brain surfaced again...

KH
KH 2021-04-08

I found how to turn plane display on and off - it's in the settings.

But I have a new question. My drawings show the origin for every part. At least I think that's what it's called. Where is the option to turn that off?

DP
DP 2021-04-08

Kevin Hansen wrote:

I found how to turn plane display on and off - it's in the settings.

 

But I have a new question. My drawings show the origin for every part. At least I think that's what it's called. Where is the option to turn that off?

 

GS
GS 2021-04-08

Kevin Hansen wrote:

Thanks, but it's not the specific constraints I'm worried about, but how to get to them. I couldn't get past the lock.

 

The top circled item being in the Mate Selections box, causes the bottom circled item, the lock.

 

It sounds like you have this figured out, but you got that because you had selected the component from the tree.  In your first post here you said "When starting the mate process, I right-clicked on the component I wanted to mate (because I learned that in SW, you usually select the thing first, and then the command)."  That's still true for this situation, but you should have selected a face, edge, etc from the component before activating the Mate command.  By selecting the whole Part there's no way for the software to know what face, edge, plane, etc of the Part you want to use for the Mate.  Lock is the only possible Mate when the entire Part is selected.

KH
KH 2021-04-08

Oh, I just figured it out.

When starting the mate process, I right-clicked on the component I wanted to mate (because I learned that in SW, you usually select the thing first, and then the command), so when the Mate properties dialog shows up, the Mate Selections are populated with the component. You can't mate a component with coincident or tangent or whatever, only a surface/plane.

So I need to just lick the Mate button on the top, rather than right-clicking a component.