snap to object, but don't create relation

Is there a way to create sketches snapping to out of context objects AND not have the sketch NOT add a relation?

Say I have a large assembly. I am trying to design parts for that assembly. To do this right now, I create sketches that are created snapping to other objects in the assembly so the items will fit together.

But then to have the part live on it's own, to be used in other assemblies, I have to manually delete all of the sketch relations, then replace them with dimensions inside the single part.

Is there a way to avoid the delete step? Like snap to object, but don't create a relation?

SolidworksSketching
Answers 12
JS
JS 2021-04-09 Best Answer

 

The answer is using ...

"Isolate"

SL
SL 2021-04-09

I thought the attached images would put things into context. Designing mounting points in a reel cabinet for a trailer.

comment imagecomment imagecomment imagecomment image
DP
DP 2021-04-09

No, but a macro could be written.

Here is a quick Macro that I just recorded and edited to turn it on/off.  Or, alternatively, you could have 2 macros.  1 for turning it off, 1 for turning it on.

SL
SL 2021-04-09

Thank you Dan. I think that is the key. Now I have to figure out how to set up a hotkey to change that back and fourth.

Can that switch be set to a hotkey?

JS
JS 2021-04-09

  wrote:

Right.  Doesn't look like he wants anything parametric, according to his description.

Too a point, but not the wrong part...  I've had nightmares with this issue, making a mistake and picking a part behind a part and when that part gets replaced, moved or deleted, it'll turn your Feature Tree into a Forest Fire.  

DP
DP 2021-04-09

Right.  Doesn't look like he wants anything parametric, according to his description.

JS
JS 2021-04-09

 - Definitely will work, but at the same time will eliminate any Parametric possibilities  

DP
DP 2021-04-09

Alternatively, you could set the part to not allow external references.

Then, inside your 3D sketch, run convert entities and convert all the edges from the part that you need.

Then open the sketch and fix all the converted items and change them to construction geometry.  Now you can snap to them all you want without creating a reference back to the part.

DP
DP 2021-04-09

You could check "snap to model geometry" and uncheck "automatic relations".

But it is a system setting, so it would be all the time.:

comment imagecomment image
JS
JS 2021-04-09

Does setting the part to not allow external references still allow it to snap to the external part? I don't know as I haven't tried it.

JS
JS 2021-04-09

Select the two parts in the feature tree that you want to be in context with and then right click and select Isolate.

The only issue designing this way is if you need to delete a part or do a total makeover, then the part in context will fail.  I would suggest using a Master Part/Skeleton Sketch Part for that design process, it will take away a lot of Assembly Modeling pain..  

SL
SL 2021-04-09

Isolate? bit more context?

Is this an option in the sketch command?

I do need to "snap" to parts other than the one being worked on. But I don't want the snap to be perpetual