Notice

Starting from December 24, 2025, forum support will be discontinued and the forum will be switched to "Read-only" mode. You can leave your questions, comments, and suggestions in the "Discussion" section on the pages of the corresponding plugins. You can also send ideas for new plugins by email or in the support chat on Telegram. In 2026, the forum will be completely removed from the website

TOPIC:

Ошибка 19 Dec 2024 17:05 #2891

  • Topic Author
  • Uglurk
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 12
  • Thanks: 0
Добрый день!

При попытке скопировать блок с аргументом "#V.98" появляется ошибка:

System.ArgumentOutOfRangeException: Значение StartIndex не может быть меньше нуля.
Имя параметра: startIndex
в System.String.Remove(Int32 startIndex, Int32 count)
в mpTxtNumCopy.StringNumberIncrementer.CutNumberFromString(String& textToChange, Int32& insertIndex)
в mpTxtNumCopy.StringNumberIncrementer.Start()

Если точку в аргументе убрать, ошибки нет. Если поменять на запятую, ошибки нет.
Блок:

File Attachment:

File Name: 1.dwg
File Size:36 KB
Attachments:

Ошибка 20 Dec 2024 13:05 #2892

  • Modis's Avatar
  • Modis
  • Offline
  • Administrator
  • Administrator
  • Super Users
  • Posts: 1448
  • Thanks: 188
Переписал алгоритм определения и обработки чисел. Обновитесь, попробуйте

Ошибка 20 Dec 2024 13:56 #2893

  • Topic Author
  • Uglurk
  • Offline
  • New Member
  • New Member
  • Registered
  • Posts: 12
  • Thanks: 0
Спасибо! Заработало!
  • Page:
  • 1
Moderators: Modis