Block fix definitions

Hans Lammerts
edited June 2020 in LISP Codes

Hi, While doing analysis on rebar i could be having a gross series of blocks definitions on an equal amount of layers. What is a good way to set the properties of these elements within the block "byblock" (layer 0, color "byblock" transparancy "byblock") I am a longtime user of GileCAD's fixblock routine but prefer to have 'normal way' if possible. The reason for using "byblock" as default above "bylayer" is to maximize visibility so the user can specify color and transparency on selection of objects.

Thanks upfront

http://gilecad.azurewebsites.net/LISP/Edit_bloc_3.5.zip

Comments

  • Knut Hohenberg
    edited June 2020

    If 'normal way' is to be understood as 'built-in functionality', then there is none I know of.
    However, if you are just looking for a more direct way to achieve what you want, you might try the attached - rather primitive - code (but beware, I did not test it thoroughly).