Ivan N Posted 15 hours ago Posted 15 hours ago Hello, With the help of AI I am trying to make a .lsp script that insert specific block on every vertex of a polyline and orient two "arrows" to the previous and next vertex. I try with different AI models and always I end up with error in Autocad (I use Autocad 2022) Error: "ActiveX Server returned the error: unknown name: "DYNAMICBLOCKPROPERTIES". AI say that the block is not really a dynamic block, which I dont get, how block can be not really dynamic. I am attaching both block and .lsp script. I hope someone will give me some advice what is wrong with the block or with .lsp script. BlockInsert.lsp block.dwg Quote
mhy3sx Posted 9 hours ago Posted 9 hours ago Did you try this ? https://www.cadtutor.net/forum/topic/76319-add-block-onto-polyline-vertices/ Quote
GLAVCVS Posted 6 hours ago Posted 6 hours ago Maybe it's just that property doesn't exist on the specified object. Quote
BIGAL Posted 2 hours ago Posted 2 hours ago (edited) For a client did draw arrows I used a entmake pline so have control over the arrow sizes length and width. Its a case of setting the start as 0.0 and a length and an end arrow width. Yes matching angle of a pline and same layer. Can you provide more information about how the arrows are to be shown at each vertice, length and width plus direction. Edited 2 hours ago by BIGAL Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.