Sorry, you have been blocked
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.
What can I do to resolve this?
You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.
Cloudflare Ray ID: 7c81e0dfe9297816 • Your IP: Click to reveal 138.199.34.31 • Performance & security by Cloudflare
Общие инструкции по использованию
First, create a block for the sheet-title (command _Block). You can create a few blocks — for the title page, for the rest of the drawings and just to the sheet number. It does not matter what you call these blocks.
Add the block attribute (_Attdef command). It is important that the attribute was a name “PageNo” (or SheetNo or Page or Sheet or specify a different attribute name in settings). This attribute should not be a constant.
Additionally, you can also add two more attribute: PageCount and Title. Attribute PageCount (or SheetCount or Pages or From) can be a constant then total number of sheets to be wrote. Title (or Name or SheetName or SheetTitle or DrawingName) — is the name of this drawing for the table of contents.
Arrange blocks on each sheet. Place the sheets in order. If you arrange drawings directly in the model, then keep in mind that the program will number them, focusing on the block insertion point downwards. For blocks with the same Y coordinate of the insertion point numbering will go from left to right.
Give the name of each sheet, by editing the attribute «Title» or just give distinct names to sheet bookmarks (to Layout).
Call the command PNo. First, the program will look for the blocks on the layout in the paper-space. If it do not find – program will look at the model.
Next, the program will record the number to each block. If layout contain several blocks with the sheet number attribute, the number is written in only one block.
Then the program will record the total number of sheets. If you are using Autodesk® AutoCAD® layouts program will write total number of layouts, even if some of them do not have the title block. If the search is in model space, the program will simply recalculate how many blocks found.
At finish table of contents will be copied to the clipboard. You can insert a table of contents into the text field just by pressing CTRL+V. Or switch to another program such as Word or Excel and paste the contents back.
Next, the program will try to insert a table of contents into the AutoCAD table. By default, the program looks for a table titled «Table of Contents». If the table is not found, the program will ask you to select the table.
Follow the messages on the console. There may be program messages.
Settings
Program settings are available in the normal settings dialog AutoCAD (_Options command) at last tab «A>V>C> PageNo». This window can be called by clicking the small arrow in the bottom corner of the ribbon panel «A>V>C> PNo». There you can change the names of the desired attributes. To return to the default name, leave the field empty settings. You can select a number greater than 1 for the first page.
In the settings window there is a button for calling the insertion settings dialog in the table. The PNo command stores its own settings for Paste To Table. They may differ from the settings of the PTT command. Some settings affect the behavior of the PNo command
- Title — the command will insert “Table of contents” string in first row of table.
- Headers — the command will insert column headers “Page” and “Name” in start row of table of contents.
- Show dialog — if the option is enabled, the Table Select dialog will be displayed. Default off.
You can also adjust the output messages of the program, see the plug-in version and call window enter the activation code.
Electrical

Поэтому с точки зрения параметров Autocad Electrical в пространстве модели значения: лист, чертеж, раздел, подраздел происходит для одного блока WD_M.
Имеется возможность работать с папками в диспетчере проектов, в том числе создавать вложенные папки, что вполне может быть использовано для организации сложной структуры проектов
Счетчик листов (Страница 1 из 3)
Здравствуйте!
Подскажите как сделать счетчик листов? Сделал штамп динамическим блоком и сейчас ломаю голову над полями — Лист Листов.
#2 Ответ от pasha_sevkav 13 января 2009г. 14:57:56
- На форуме с 30 июня 2007г.
- Сообщений: 240
- Спасибо: 5
Re: Счетчик листов
#3 Ответ от Александр 13 января 2009г. 19:37:28
- На форуме с 12 сентября 2008г.
- Сообщений: 68
- Спасибо: 0
Re: Счетчик листов
Спасибо за ссылку, почерпнул от туда пару интересных идей.
Но все же проблема счетчика листов там реализована не в полном объеме, хотелось бы чтобы это работало не в подшивке а просто в чертеже. И поле листов неплохо еслиб само заполнялось..Думаю тут надо придумать нечто с переменной ctab.
Господа подскажите!
Заранее благодарен
#4 Ответ от Makson 14 января 2009г. 08:53:10
- На форуме с 16 апреля 2008г.
- Сообщений: 73
- Спасибо: 0
Re: Счетчик листов
> Александр
(2009-01-13 19:37:28
Я в свое время делал счетчик листов без динамический блоков. Просто кнопкой вызывал лисп и он все штампы в лайуатах намеровал простой ставкой тескта.
#5 Ответ от Александр 14 января 2009г. 09:35:11
- На форуме с 12 сентября 2008г.
- Сообщений: 68
- Спасибо: 0
Re: Счетчик листов
Да я блок то не ради одного счетчика сделал. А в лиспе прямо скажем не Ас.. Недавно ломал голову над тем как сделать чтобы атрибут ссылался на название листа — в результате долгих и мучительных родов родил — $(getvar,ctab).
Теперь вот озадачен счетчиком.
#6 Ответ от Makson 14 января 2009г. 16:51:12
- На форуме с 16 апреля 2008г.
- Сообщений: 73
- Спасибо: 0
Re: Счетчик листов
> Александр
Перешли мне твой файл с блоком, что-нибудь сделаю.
email skorpion1983собачкаmail.ru
#7 Ответ от Александр 15 января 2009г. 09:23:03
- На форуме с 12 сентября 2008г.
- Сообщений: 68
- Спасибо: 0
Re: Счетчик листов
#8 Ответ от happy 26 января 2009г. 14:10:44
- На форуме с 26 января 2009г.
- Сообщений: 1
- Спасибо: 0
Re: Счетчик листов
#9 Ответ от Александр 28 января 2009г. 10:54:45
- На форуме с 12 сентября 2008г.
- Сообщений: 68
- Спасибо: 0
Re: Счетчик листов
Да там все теже Лиспы. Хотелось бы полем осуществить сие.
#10 Ответ от Compositum 28 января 2009г. 16:32:44
- На форуме с 5 апреля 2005г.
- Сообщений: 185
- Спасибо: 1
Re: Счетчик листов
На мой взгляд данный вопрос решать нужно так: поставить обработчик события на создание/удаление листа. Дабы каждый раз при этом происходило программное обновление поля, содержащего общее количество листов. Обработчики событий в API автокада реализованы нормально, так что сделать это — не проблема.
Т.о. если вы добавите или удалите лист — это сразу же будет отображено в полях всех штампов. имхо удобно и правильно.
#11 Ответ от kp 28 января 2009г. 16:39:52
- На форуме с 17 марта 2005г.
- Сообщений: 254
- Спасибо: 0
Re: Счетчик листов
> Александр
Подшивка рулит! Как сделать поле с количество листов, см. тут https://www.caduser.ru/forum/topic40745.html
#12 Ответ от Александр 28 января 2009г. 19:41:07
- На форуме с 12 сентября 2008г.
- Сообщений: 68
- Спасибо: 0
Re: Счетчик листов
> compositum
Да. идея не плохая, надо попытатся (просто никогда раньше не использовал эту возможность но наслышан)
> kp
Подшивки это конечно хорошо, и я к этому иду, но нумерация листов в подшивке все равно будет осуществляться относительно ВСЕХ листов в подшивке, как быть в таком случае если в подшивку у меня обьеденены несколько альбомов? Нумерация ведь в каждом из них своя.
#13 Ответ от Compositum 28 января 2009г. 21:54:13
- На форуме с 5 апреля 2005г.
- Сообщений: 185
- Спасибо: 1
Re: Счетчик листов
2 Александр
Суть приведенного ниже кода такова, что при создании нового листа или же при удалении/перемещении текущего листа, или же при копировании существующего листа — происходит автоматическое (динамическое) пересохранение значения количества листов, имеющихся в файле в переменную Useri1.
Переменными пользоваться надеюсь умеете? =) Это всего лишь демострационный вариант. Сохранять не обязательно в переменную, можете хранить в чем угодно.
код тестировал в AutoCAD 2009: