Construct Point at Object Origin    

Constructs a point at an object’s local origin.

 

Input Arguments

 

0

Collection Object Name

Object Name

The object used as the source for the origin.

1

Point Name

Resultant Point Name

The name for the resulting point.

 

Return Arguments

 

2

Vector

Vector Representation

The vector representation of the resulting point.

3

Double

X Value

The X coordinate of the resulting point.

4

Double

Y Value

The Y coordinate of the resulting point.

5

Double

Z Value

The Z coordinate of the resulting point.

 

Returned Status

 

SUCCESS

The point was created successfully.

FAILURE

The specified object was not found.

 

Remarks

Each object has an internal local origin. For example, a circle’s local origin is at its center, while a line’s local origin is at one end. Depending on the object type, this “origin” can be used as a type of cardinal point for the object.

If the specified point already exists, it will automatically be sequenced to prevent duplicate point names.