Author Topic: Diesel. Info at tabs  (Read 1657 times)

0 Members and 1 Guest are viewing this topic.

supertxull

  • Mosquito
  • Posts: 1
Diesel. Info at tabs
« on: October 03, 2018, 04:57:21 PM »
Hello, I take this thread to introduce myself and ask you a question:
I need to obtain the tab number. There are 2 number formats (0001 and 0001.2) and the text tabs could be "A_N+1_0001.0_A" or "A_N+1_0001_A" for example.
I just used the following code and I obtain an error message

Code: [Select]
$(IF,$(=,$(SUBSTR,$(GETVAR,CTAB),$(-,$(STRLEN,$(GETVAR,CTAB)),3),1),.),$(SUBSTR,$(GETVAR,CTAB),$(-,$(STRLEN,$(GETVAR,CTAB)),7),6),$(SUBSTR,$(GETVAR,CTAB),$(-,$(STRLEN,$(GETVAR,CTAB)),5),4))
żAnybody can help me?
Thanks, and sorry for my english :whistling:

ronjonp

  • Needs a day job
  • Posts: 7531
Re: Diesel. Info at tabs
« Reply #1 on: October 03, 2018, 05:43:29 PM »

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC