I got the following auto-increment numbering macro from a previous post to this forum:
*^c^c_text;J;MC;\;;$M=$(+,$(getvar,USERI1),1);setvar;USERI1;$M=$(+,$(getvar,USERI1),1);
Anyone know if it is possible to have a similar auto-increment macro for hexadecimal numbers.
Much appreciated in advance for any suggestions.
Hello
Welcome to the Autodesk/AutoCAD Forums !
I am not a specialist of the LT Macros & Diesel, so my answer (as far as I know) will be : it'impossible !?
But I am ready to learn ...
My idea : I will prepare with Notepad or Excel all the hexa numbers, I need ...
Then inside a MText with copy/paste, I will get a lot of hexa numbers
then Explode the MText, then move/use that you need ...
Patrice BRAUD
Hi Pendean, sorry for the delay in replying. I carry out no addition or any other calculation with the hexadecimal numbers. We mark up our products on a dwg using the hexadecimal number system rather than the decimal number system. The products are marked up sequentially but the starting number could be any number and also we use three digits. For example, we might have 000, 001, 002,..., 009, 00A, 00B,...
^c^c_text;J;MC;\;;000;_text;J;MC;\;;001;_text;J;MC;\;;002;_text;J;MC;\;;003;_text;J;MC;\;;004;_text;J;MC;\;;005;_text;J;MC;\;;006;_text;J;MC;\;;007;_text;J;MC;\;;008;_text;J;MC;\;;009;_text;J;MC;\;;00A;_text;J;MC;\;;00B;_text;J;MC;\;;00C;_text;J;MC;\;;00D;_text;J;MC;\;;00E;_text;J;MC;\;;00F;_text;J;MC;\;;010;_text;J;MC;\;;011;
This might be easier to read/capture... .