So basically the functionality I’m looking for is to be able to use a single block instance, for example, a “generic” door.
So kindof have one block with layers for open/closed, hinge side left right/ various jamb thicknesses, windows/no window panels etc.
So then somehow code the state of each door and put the string in the instance name?
Then the script would read the name, decode it, and set the layers accordingly.
Is this at all possible? Can you toggle layer visibility inside linked blocks via script?