Creates a new Point object.
NOTE: The CreatePoint method should not be confused with either the CreatePoints method, which is used to create a new Points collection object, or the AddPointEntity method, which is used to create a point that is visible on the screen.
Syntax
objectVariable = Library.CreatePoint (X, Y, Z)
Where:
objectVariable is a variable representing a Point object.
X, Y, and Z are double-precision variables representing the x, y, and z coordinates of the point.
CreatePoint method example
Private Sub GetCornerExample()
' This example creates a point using the CreatePoint method.
Dim icadDoc As CADopia.Document
Dim myPoint As CADopia.Point
Set icadDoc = ActiveDocument
Set myPoint = Library.CreatePoint(4, 2)
MsgBox "Point created at 4,2."
End Sub
Comments