RepCad Posted April 23, 2018 Share Posted April 23, 2018 hi all, how can i use Boundary command in vba after Getpoint inside a polyline?? i use lisp code : (setq Point (getpoint)) (command "boundary" point "") and i write same code in vba, but it does not work : Pnt = ThisDrawing.Utility.GetPoint(, "Enter a point: ") ThisDrawing.SendCommand "._boundary" & Pnt & vbCr Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 23, 2018 Share Posted April 23, 2018 What does help say about addboundary ? May get around problem also try Bpoly. Quote Link to comment Share on other sites More sharing options...
smuthuc Posted July 14, 2018 Share Posted July 14, 2018 :)This will help you Public Sub Draw_Bpoly() Dim p As Variant p = ThisDrawing.Utility.GetPoint(, "First the Point:") ThisDrawing.SetVariable "osmode", 0 ThisDrawing.SendCommand "_.-boundary" & vbCr & "_A" & vbCr & "_I" & vbCr & "_N" & vbCr & vbCr & vbCr & p(0) & "," & p(1) & vbCr & vbCr End Sub enjoy..... 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.