Property Form

Hello

 

In the ownership form, when it is a sheet metal part, is it possible to have the thickness field filled  in directly?

In fact, what is the syntax for this property?

 

When I enter it by hand by the properties of the file, I have: "Epaisseur@Part. SLDPRT"

Is there a way to call the name of the room here?

 

1 Like

Hello

 

See this link:

https://forum.solidworks.com/message/414851

 

In English it would be:

"Thickness@Sheet-Metal1"

 

So see what the function whose thickness you want is called:

"Folded base Epaisseur@tole 1" or "Epaisseur@Tolerie1" or other

1 Like

I may have misunderstood the question but in File/Properties you can retrieve it (see image).

 

If it's really a sheet metal part!


screenshot448.jpg
1 Like

See these tutorials

 

http://www.lynkoa.com/tutos/3d/editeur-de-formulaire-solidworks

http://www.lynkoa.com/tutos/3d/solidworks-le-formulaire-de-proprietes

 

@+.........................

1 Like

Or to get the exact name, you can go to Summary of the site of the welded parts (by right-clicking on the folder or on the body from the shaft):

 

http://www.lynkoa.com/sites/default/files/questions/04/06/2014/capture.jpg

1 Like

@Lucas: 1- the "epaisseur@Tolerie 1" parameter doesn't show  me anything. (I hadn't tested in English but nothing either)

               2- In the parameters of the welded parts list, there is the name of the part in the thickness ref. That's what I can't put in the car for all my parts.

 

 

@Benoit LF:  yes this is the setting I want to retrieve in the property form rather than going through the property table.

 

@Gt22: Thank you, you had already told me about them in a previous question. But I didn't see any ref to the sheet metal thickness.

 

 

Well and now while testing your solutions, SW just crashed....

"2- In the parameters of the welded parts list, there is the name of the part in the thickness ref. That's what I can't put in the car for all my parts. "

 

Indeed, if you want it automatically for all rooms, it will probably be by a macro!

 

I don't know if you already know the VBA, to add this custom property, you have to use:

 

http://help.solidworks.com/2012/English/api/sldworksapi/add_custom_property_example_vb.htm

 

To get started in VBA, you can watch my tutorial which is commented for each line:

http://www.lynkoa.com/tutos/3d/macro-enregistrer-sous-avec-solidworks

 

Otherwise, it can also be done with a utility like BatchConverter or Integration which are paid:

http://www.lynkoa.com/store/fr/tools-et-macros/utilitaires/utilitaire-batchconverter-1.html

http://www.lynkoa.com/store/fr/tools-et-macros/utilitaires/utilitaire-integration-1.html

 

1 Like

And "Sheet Metal 1" is the function you want the thickness of?

Does it work if you create a custom property or a "Thick" function related to "epaisseur@Tolerie 1" to be able to use it in your form?

1 Like

@Lucas: Sorry, but your solution works, you had to restart sw for it to take it into account.

Which I hadn't done in my tests before.

 

So the syntax: "Epaisseur@Tôlerie 1"

 

Thank you.

 

 

edit: + the update of the welded parts. for the parameter to appear.

 

1 Like