Coordinates Property

IntelliCAD 11.1 Object Library
Coordinates Property
See Also 
LWPolyline Object : Coordinates Property

Description

Sets or returns a Points collection, containing the coordinates.

Property type

Read-write property

Syntax

Visual Basic
Public Property Coordinates As Points

Example

Private Sub CoordinatesExample()

' This example adds a point entity to and returns the coordinates.

     Dim icadDoc As IntelliCAD.Document

     Dim myPoint As IntelliCAD.Point

     Dim myPtEnt As IntelliCAD.PointEntity

     Set icadDoc = ActiveDocument

     Set myPoint = Library.CreatePoint(4, 2)

     Set myPtEnt = icadDoc.ModelSpace.AddPointEntity(myPoint)

     myPtEnt.Update

     MsgBox "x = " & myPtEnt.Coordinates(0).x & Chr(13) & "y = " & myPtEnt.Coordinates(0).y & Chr(13) & "z = " & myPtEnt.Coordinates(0).z

End Sub

See Also

© 2022 IntelliCAD Technology Consortium. All Rights Reserved.