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
Except that I had to create a small macro to reset the counter.
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.
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" />
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.
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
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.
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 .
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.