So.... @Moshe-A
I just found a new "problem".
One of your last changes was, that if there is a dynamic block, the LISP looks for the parameter "Laenge" and "Hoehe" to get the bounding box. That's all good an still works really nice with my big plans.
But i got a problem with my A3/A4 plans.
Now the problem is the following: I have a block for A4 frame which has a block property table to set the current planstatus.
I think that this sets the block to a dynamic block. But this block is static, so it doesn't change widht/hight and it doesn't have the parameters.
So when using mpsetup i always get this error:
"Linear Parameter "Laenge" is not found in block "*U12". Can not find bounding box in Layout1 layout."
I assume it works like this: If lisp finds dynamic block in layout -> lisp looks for paramaters and take them as bounding box. But as i don't have parameters in this block it doesn't work.
I know that i could work around by just adding invisible parameters to the blocks, but that's not really nice.
Any idea of how to fix this?
Maybe something like that:
-> If LISP finds dynamic block
-> LISP looks if this block has parameters "Laenge" and "Hoehe"
-> Parameters found -> LISP taking them as bounding box (just as it works right now)
-> Parameters not found -> LISP takes bounding box from normal polylines
I attached you my block where i have the problems.
Thank you in advance for your help 🙂