generate blocks and change block / layer and the block entities layer name

generate blocks and change block / layer and the block entities layer name

E.S.7.9
Advocate Advocate
523 Views
3 Replies
Message 1 of 4

generate blocks and change block / layer and the block entities layer name

E.S.7.9
Advocate
Advocate

hi everybody

 

i should create too many different blocks with the same objects , i need a lisp which can help me for gain time.
Simply what i want to do is make a block ,i wanna give the same block and layer name at the same time , after that i will copy that block how many time i need and edit each blocks for to change block and layer names

 

it would be nice if block entities layernames are changing at the same time and the same name with edit block and layer names

 

if it is not to crazy wish , can anybody tell me the quick way for to do this or share similar lisp , please

 

thank you so much (sorry for my englis) 🙂

0 Likes
524 Views
3 Replies
Replies (3)
Message 2 of 4

scot-65
Advisor
Advisor
How many is "too many"?

Perhaps investigate the following commands:

GROUP

COPYCLIP / PASTEBLOCK (an un-blocked group of objects)

Perhaps also look into Dynamic Blocks with multiple visible states
and a lookup table to switch visibilities.

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Message 3 of 4

Baker_ADG
Advocate
Advocate

Bump this topic. I would also like a lisp that generates a block with the name of each layer. A line that is 1.5 long, that is bylayer. I want to use in the legend. 

Jon Baker | Land Development & Infrastructure Design Manager
Alignment Design Group | Denver | Colorado
Civil 3D 2025 | Windows 11
0 Likes
Message 4 of 4

Sea-Haven
Mentor
Mentor

Do you mean something like this

SeaHaven_0-1630631288801.png

Why a block ? Its easy to get a layer and make a line and label, can then make into a block if you want,  the only question is how do you decide which layers ? If same most time do once and save in a dwg then just insert into current dwg.

0 Likes