Set up automatic numbering of polyline endpoints

Roman
Employer

[no-member:pro]Roman[/no-member:pro]Roman

1 projects
Closed
Project parameters
Type of cooperationPeriodic employment
Prepaymentwithout prepayment
Payment methodsCash, Bank transfer, Electronic money
Acceptance of requestsclosed
Project description
Autocad 2014 task: you need to configure automatic numbering of endpoints of polylines according to the given conditions:
(1) each polyline has 2 end points. The numbers on these points should be the same.
(2) each number shall be located on the polyline itself, 5-10 mm from the end thereof.
(3) each number shall be a maximum of 3 characters (1-999).
(4) the numbering order shall be the colour of the polylines. (For example, all purple are numbered first, then blue, then red, then orange, then green)
(5) each number should be editable
(6) The numbers in each room must be black and the number must be taken in a rectangular frame with yellow casting. (to make it read normally on the printed diagram)
Project author: Roman