wiebe Posted September 16, 2023 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
Steven P Posted September 16, 2023 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
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.