Imports ZwSoft.ZwCAD.Runtime
Imports ZwSoft.ZwCAD.ApplicationServices
Imports ZwSoft.ZwCAD.DatabaseServices
Imports ZwSoft.ZwCAD.EditorInput
Imports ZwSoft.ZwCAD.Geometry
Public Class ZwcadApps
<CommandMethod("CreateAlignD")> _
Public Sub CreateAlignD()
Dim ZcDoc As Document = Application.DocumentManager.MdiActiveDocument
Dim ZcDB As Database = ZcDoc.Database
Dim ZcEd As Editor = ZcDoc.Editor
Dim peo1 As New PromptPointOptions(vbLf & "Specify first extension line origin:")
Dim per1 As PromptPointResult = ZcEd.GetPoint(peo1)
If per1.Status <> PromptStatus.OK Then
Return
End If
Dim pt1 As Point3d = per1.Value
Dim peo2 As New PromptPointOptions(vbLf &
Imports ZwSoft.ZwCAD.ApplicationServices
Imports ZwSoft.ZwCAD.DatabaseServices
Imports ZwSoft.ZwCAD.EditorInput
Imports ZwSoft.ZwCAD.Geometry
Public Class ZwcadApps
<CommandMethod("CreateAlignD")> _
Public Sub CreateAlignD()
Dim ZcDoc As Document = Application.DocumentManager.MdiActiveDocument
Dim ZcDB As Database = ZcDoc.Database
Dim ZcEd As Editor = ZcDoc.Editor
Dim peo1 As New PromptPointOptions(vbLf & "Specify first extension line origin:")
Dim per1 As PromptPointResult = ZcEd.GetPoint(peo1)
If per1.Status <> PromptStatus.OK Then
Return
End If
Dim pt1 As Point3d = per1.Value
Dim peo2 As New PromptPointOptions(vbLf &