Modify Mass Unit Systems

Hello

 

Is there a technique or tool to modify the system of unity of parts and mass assembly?

More clearly I would like to change a certain quantity of parts and assemblies from "MMGS" (mm, gram, second) to "Customized" (mm, Kilogtramme, second)

 

Thank you in advance for your help

 

Hello, it's possible with a macro, but you need knowledge of VB programming, otherwise the Axemble utilities can do it, such as BatchConverter or Integration. But they are paying.
1 Like
http://www.lynkoa.com/groupes/publications/liste-des-utilitaires-mycadtools

A solution take over your bill of materials via Excel

and add columns that will allow you to convert the required data

and nothing prevents you from taking this nomenclature and posting it on your plan or on a free sheet

@+ ;-))

You can also do this by clicking on the units at the bottom of Solidworks and then change the units as you want

1 Like

@neroz

if it does so by changing the units of the document

it will change all the units not some as requested

@+ ;-))

As @PL says, I have a macro that I run via the INTEGRATION utility.

1 Like

I admit that I would be interested in a macro start that saves me from having to do x clicks to change a unit.

I had tried to do it by recording the macro but it doesn't take the choices. As a result, the macro displays the unit choice table and that's it.

@GT22, amha, it's not a problem of nomenclature but of displaying value in a plan, typically mass of the part called via a custom prop.

@Neroz: Julien said "edit... en masse" (to translate that he has a whole file of them) so it's a macro that is needed. Otherwise, yes, for 2-3 rooms it's the right way.

3 Likes

Hello

 

I found a VBA macro (no need for the paid Integration software).

It will probably have to be adapted a little depending on the need :

 

Useful instructions in VBA :

http://help.solidworks.com/2011/English/api/swconst/dp_units.htm

Several macros that do similar things:

https://forum.solidworks.com/servlet/JiveServlet/download/2007-43134-218923-67280/Set+Custom+Units.zip

https://forum.solidworks.com/servlet/JiveServlet/download/239701-72263/UnitSys1.swp.zip

 

Links that speak of it:

https://forum.solidworks.com/message/116545#116545

https://forum.solidworks.com/message/95642#95642

https://forum.solidworks.com/thread/46302

 

2 Likes