How do I put the values of a part family in variables/parameters?

Hi all

I'm new to the forum and I hope it's still as active as ever.

I'm a new user of SolidWorks but before I was on Catia so there is little change for me.

With SW 2015, I created a fully configured part as well as a family of parts associated with my product.

As stated in my question, I'd like to make the connection between the values of the part family and the parameters in my file.

Because I would like, once the user has chosen his configuration thanks to the family, the values of this configuration go into my settings so that he can still modify them afterwards.

Thank you for your answer,

Hello

You right-click on the box at the top left crossing  a and 1 the box with the green triangle, then cell format then tab protection and uncheck locked. Now if you change the dimensions in the 3D, the part family is updated. On the other hand, when the checked part family is created, " allow the part to be updated........  »

May the force be with you.

Hello OBI WAN,

Thank you for your answer!

But I'm having a hard time expressing myself because in truth I'd like to do the opposite: once I've selected a configuration in my room family, I'd like the values of that configuration to be saved in the existing settings.

And not through the settings, modify a configuration.

If I understand correctly, you would like your 3D part to create a new configuration line in your excel? At this point, you just have to select your configuration to add to your room family after doing

 Right-click on your family -> edit in a new window you normally have a pop-up with two boxes where you can select configurations or settings to add.

In PC, the window that opens with the first opening of your family room.

 


fenetre_famille.png

Hello

If I understand correctly, you want to create a part that is automatically added to the part family. For that there is Configuration Publisher which does it very well.

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

I put a part in demos, it has to be placed in an assembly.

PS I'm in SW2016.

may the force be with you.

 

 


xxxx_-_bride_bavette_ok.sldprt

Hello

As an aside, in the part family (Excel) each row developed below the value (results) row becomes a new configuration.

Have a good weekend

1 Like

Hi all

Thank you for all your answers.

I may not understand what you mean, but I think that does not answer my question. 

In fact I have a part that is totally configurable, let's say a tube. In addition , thanks to a family of parts, I allow the user to change the dimensions (e.g. the diameter and the length). But once he has chosen the configuration he wants, I would still like to give him the possibility to change the dimensions as he wants with the settings.
The problem is that with the part family my parameters become useless because once the dimensions are chosen, the dimensions are no longer configurable (nor modifiable, but this problem has been solved by Obi Wan).
So I would have liked to know if it was possible to put the values of the chosen configuration in my settings so that it would be possible to modify the values afterwards without going through a configuration again.

I hope I'm clearer :)

Have a nice day

For an excel in a file, there are several settings options:

including the ability to prohibit modifications (blocking of dimensions, functions, or properties)

(generally this is used 99% for library pieces)

 

In your case, you should rather put allow modifications,

The dimensions in the excel will only update if you re-open the excel after editing.

 

That's why, if you want to retrieve the values in properties (at the config),

You will have to create a property (at the config) with a "coded" link on the desired dimensions.

 

(enable the config,

right-click on the annotations folder "Show all dimensions",

then properties file to the config,

create the property by typing its text,

then to integrate the code of a dimension click on the dimensions in the 3D)

 

A coded property looks like this:

$PROPRIETE@Description

= Connection Ø cote@@config@esquisse@nomfichier" mm

and solved it gives

= Ø18 mm connection

 

 

Warning: disadvantage with this method, once a dimension of a config is modified, and is almost impossible to make it go back to the original way,

because opening the Excel updates with the current value.

(on the other hand, you can put in the Excel below, with empty lines, a copy of the configs that you can re-copy-paste in the line of the active config)

1 Like

Otherwise, there is also the method of "creating a library function" (if you know how to create this kind of thing)

(thanks to a part family of parts by excel, always)

And to allow or not the modification of certain chosen odds...

 

Then you have to create a new room,

Drag the "library function",

put the necessary references (outline, point,...)

choose the config,

then click on the "modify dimension" box (I don't know anymore) and that's it...

 

1 Like