[CloneComponents] Renamed a component based on its lengths

Hello

I just discovered clonecomponents and I saw a lot of properties available for renaming components but I couldn't find anything to rename it in terms of the length of a tube that you insert.

I couldn't find anything in the help too.

Thank you for your help.

 

Kind regards

 

HALLUIN Florian

Hello

Here is the link to the tutorial on CloneComponents, I think it will help :)

http://www.lynkoa.com/tutos/utilitaires-clonecomponents

Hello

I didn't find anything either and I'm afraid it' s not possible automatically!

Otherwise, a macro could do the trick, but you need to know VBA programming.

This help is helpful but didn't help me solve my problem...

I managed to put a length in the name of the component by putting the length property of my component in "value of a property" (see attachment) but the problem is that this length corresponds to the base length of the component and not to the one you enter...


I don't know the VBA so I can't lean towards this option


1.png

See this link

http://www.lynkoa.com/forum/3d/propriete-nom-de-configuration

just use the name of the config

http://help.solidworks.com/2012/French/SolidWorks/sldworks/HIDD_NEW_ADD_CONFIG.htm

@+

1 Like

gt22 I only have one configuration and I don't think you can name a configuration according to a dimension.

The problem comes, I think, from the fact that CloneComponents names the part before I enter the length of my tube.