Skip to content →

AutoCAD numbering in project

In order to number any object, or simply track which material was in which position during inventory counting, you can use the YS command in Sayım.fas Lisp command package.

Usage of YS command

Download the Sayım.fas file, drop in the AutoCAD project drawing window. Write YS, then enter.

  • Give a layer name or continue by pressing enter to use the active layer (Layer. Default: active layer)
  • Give a prefix (On eki yaziniz) or continue by pressing enter to use nothing (Default: none)
  • Give a starting number (Baslangic sayisi) or continue with 1 by pressing enter (Default: 1)
  • Give a text height or select two points (the length of the line will be the height), or continue by pressing enter to 10. (Default: 10)
  • Select the points you want to add the numbering text. It will add 1 to the last number.
  • Important note: If you left the command by pressing ESC, the number will be saved in the memory. The command will continue from the last number in the memory when you activate it. You should just press ENTER when you finish numbering instead of ESC, so that the command will again ask for the starting number next time.

Download the SAYIM.fas file

The Sayım.fas file includes 4 commands. All of them first ask for layer, and ask for prefix, text height or circle height, starting or finishing number according to the command before putting the points.

  • YS command puts number text with a prefix starting from the starting number and adds 1
  • SY command asks for the finishing number, then puts number text starting from 1 up to the given finishing number.
  • CS command asks for the circle radius, then just puts circles at the given points.
  • PN command activates YS and CS commands simultaneously; puts the number text, and puts a circle around it.

PS: AutoCAD LT does not support lisp commands.

Published in AutoCAD AutoLISP General

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *