Добавить объекты в блок

Вызов функции Add2Block / Remove
Версия 1.1
Загрузить AddObjectsToBlockV1-1.lsp

Описание программы

The program is built around my AddObjectsToBlock subfunction, which may be used separately if necessary.
The code demonstrates how to call this subfunction with the correct arguments, and, at the same time provides what is hopefully a
very useful program.

The subfunction incorporates all objects contained in a supplied SelectionSet into the block definition of the specified block.
Positions of the new objects in the block definition are determined relative to the supplied reference insert.

Following modification of the block definition, the active viewport will be regenerated to display changes throughout all inserts.

Program will work in all UCS/Views.

A Remove program is also included to enable the user to remove objects from block definitions.

Пример работы

Add2Block.gif

Instructions for Running

Please refer to How to Run an AutoLISP Program.