ajtruckle
Guest
|
Posted:
Thu Dec 16, 2004 2:38 pm Post subject:
breaking polylines |
|
|
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?
|
|
Alfred NESWADBA
Guest
|
Posted:
Thu Dec 16, 2004 3:42 pm Post subject:
Re: breaking polylines |
|
|
In article <16219183.1103189913098.JavaMail.jive@jiveforum1.autodesk.com>, nospam@address.withheld says...
| Quote: | 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?
hi, |
if you are in wcs then
dim tPtStr as String
tPtStr = replace(point(0),",",".") & "," & replace(point(1),",",".")
- alfred - |
|