PointNumberFromObjID Method

Land Auto

PointNumberFromObjID Method

Given a AutoCAD object ID, PointNumberFromObjID will return the point number.

See Also | Example

Signature

RetVal = object.PointNumberFromObjID(ObjectID)

object

CogoPoints The object or objects this property applies to.

ObjectID

Long; input-only
The AutoCAD entity’s object ID. The object is must be a valid AECC_POINT.

RetVal

Long
The point number.

Remarks

The object ID must be for a valid AECC_POINT. If the object is not an AECC_POINT, then the function will return 0 which is an invalid point number.