Editing a parametric block via the API

Hello,

I´m trying to automate a task where I have to insert a Block and then edit attributes and the parameters contained in that block. I know how to insert a block and edit the attributes but I can´t find how to edit the parameters.

Does anyone know how to edit parameters in a block via VBA/Lisp or .Net?
I hope you can help me!

With kind regards,
Robert

Comments

  • There is a BRX C++ API for it provided by AcConstraints3d.h, but as I recall, that API is also available via .NET ...
    for LIPS it is not possible (yet ?).
    hope this will help ?
    many greetings !
  • Hello Torsten,
    Thank you for pointing me in that direction, I´ll go check that out!
    With kind regards
    Robert
  • By parameters are you talking about a dynamic block ? If so just look at www.lee-mac.com dynamic block properties.
  • @ALANH
    Thanks for the reply, but no not a dynamic block that is an Autocad Specific thing, Bricscad uses Parametric block. They have the same function but work differently (something to do with copywrite or something like that). So any Autocad API won't help here sadly.
  • By chance another topic from 2019 was bumped up and contained what I was looking for.
    Just posing it here I anybody else has this problem.

    https://forum.bricsys.com/discussion/35199/get-or-set-constraints-with-visual-lisp-vba#latest