wiebe Posted September 16, 2023 Share Posted September 16, 2023 I'm working on a new LSP but I can't seem to get this to work Get the next error message ( bad argument type: lselsetp nil ; error: bad argument type: VLA-OBJECT <Entity name: 20eac6f0410> What's wrong with it! Would like to expand it with a table on the drawing overview per width with the total m1 calculate-area.lsp Sampel.dwg Quote Link to comment Share on other sites More sharing options...
Steven P Posted September 16, 2023 Share Posted September 16, 2023 I reckon that vlax-invoke-method requires a VLA-Object, and you are sending it an Entity, you'll want to use "vlax-ename->vla-object" to convert line1 and line2 to vla-objects - internet should help you out with the syntax for each Quote Link to comment Share on other sites More sharing options...
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.