Names article parts welded construction

Hello everyone,

I'm coming to you for a change that seems rather simple to me but I can't apply it
I would like to rename my articles from the list of welded construction by the name of my parts

then as a result with each new article it will follow the numbering +1

Attached photos

for the moment I do it manually but I would like to make a property shortcut or a concatenation to automate it with each new part

Thank you for your advice

Hello florian
A Macro button like this can be very useful :wink:

1 Like

Hello

This can be done simply with the " SmartProperties " tool from the myCADtools offer.

I made you an example video (see attached)

Here is the link to the myCADtools help if you want more information: myCADtools help

Sincerely,

5 Likes

+1 for @fmarchand's solution.

Except that I had to create a small macro to reset the counter.
image

Content of the *.BAT File:

@echo off

ECHO f | XCOPY *Emplacement du fichier*SmartCounter_Num-mecanosoude.xml *Emplacement du fichier*SmartCounter_Num-mecanosoude_OLD.xml /Y
ECHO f | XCOPY *Emplacement du fichier*SmartCounter_Num-mecanosoude.xml *Emplacement du fichier*SmartCounter_Num-mecanosoude.xml /Y

cls
echo.
	
EXIT

And the addition of the Macro button (Application Type) in Smartproperties.
image

with:
SmartCounter_Num-mecanosoude.xml => Smartproperties file (increment Num+1)
SmartCounter_Num-mecanosoude_OLD.xml => Backup of SmartCounter_Num-mecanosoude.xml (just in case).
and
SmartCounter_Num-mecanosoude-RAZ.xml => Start value at 0 and increment+1
<Value value="000" StartValue="0" step="1" />

Kind regards.

2 Likes

Hello

Normally no need to create a macro, you can use an automatic counter based on the "File name" variable for example.
This means that every time you have a different "File Name" value, the counter starts from zero.

See Help: Meter Type ''Advanced''

Bie nRegards

2 Likes

hello Mr. Marchand

A big thank you to you

I just have a small problem when activating smart Drawings the renaming no longer holds and go back to the initial description

2 Likes

Can you show me?

1 Like

Sir, good evening, I'll get back to you, it worked perfectly to do some renaming

I would now like to create part counters for identical parts in an assembly and increment their values in the properties of the parts to avoid doing this work by hand I think it is necessary to create a counter called SW file name but I stall on how to operate thank you for your feedback

1 Like

Hello

Can you tell me a little more about the request in order to fully understand?
An example

Kind regards

1 Like

Hello Florian_Racine,
You just do button must => property on the body on the soldered element in your list of soldered parts and so on...
To be continued @+.
AR.

Hello Florian,
Then erase and reload a new nomenclature.
It should do it.
@+.
AR.

Good evening
yes when using smart Properties in an assembly I would like to apply a property in the selected parts that compose it
a property that would count identical parts in this assembly.
for the increment in the properties of the parts that have been selected.

for example assembly 1 composed of 3 parts P1 mark 9 parts P2

I would like to increment the quantity property 3 In the P1 parts. and the quantity property 9 in the P2 coordinate system .

or a counter of coins with the same name.

Thank you for your help.

Hello

We can actually use an automatic multi-selection counter on the assembly so that it increments a value based on a specific property.

However, it is not possible to automatically detect identical parts. Identical in name, geometry, etc...

If you are using a SmartProperties automatic counter, your so-called "identical" files must be the same value on the property as you use in the Automatic counter.

Kind regards