Jump to content

LSP Lines with intersections width / length of the area


wiebe

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...