breaking polylines

Discussion in 'AutoCAD' started by ajtruckle, Dec 16, 2004.

  1. ajtruckle

    ajtruckle Guest

    There is quite abit about this on the messages, but i am abit stuck. I found this:

    finally, use sendcommand to send the following statement:
    (command "_.break" (handent <<handle>>) "f" <<point>> @ "")


    Now, if I have an AcadObject (call it ent) and I have a point, call it breakPnt, how do I put those into a string as above to pass to SendCommand?

    I don't know how to do the handent <<handle>> and <<point>> bits in building the string.

    In lisp I did:

    (command "break" e "f" pt pt)

    But VBA?
     
    ajtruckle, Dec 16, 2004
    #1
  2. hi,

    if you are in wcs then

    dim tPtStr as String
    tPtStr = replace(point(0),",",".") & "," & replace(point(1),",",".")

    - alfred -
     
    Alfred NESWADBA, Dec 16, 2004
    #2
  3. ajtruckle

    ajtruckle Guest

    Is it possible for you to build this as sample code for me? The whole string...? I have seen your other posts to me related to this.

    Andrew
     
    ajtruckle, Dec 20, 2004
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.