P1 (AP1) Class

P1 to P1000 is reserved as Subassembly Points. AP1 to AP1000 are available to represent auxiliary points.

Function Name Description Comments
X Get a point's horizontal position, relative to the Origin Point of Subassembly. Example:

P1.X

  • If Subassembly Side is Right and P1 is on the right of Origin, then P1.X is Positive.
  • If Subassembly Side is Left and P1 is on the left of Origin, then P1.X is Positive.
Y Get a point's vertical position, relative to the Origin Point of Subassembly.  
Offset Get a point's offset position, relative to the baseline. If the subassembly is attached to an offset baseline, then the offset value is relative to the offset baseline.
Elevation Get a point's elevation relative to 0.0.  
DistanceTo("point") Get the distance to another point. Example:

P1.DistanceTo("P2") or P1.DistanceTo(L1.StartPoint)

SlopeTo("point") Get the slope to another point. Example:

P1.SlopeTo("P2") or P1.SlopeTo(L1.StartPoint)

IsValid Determine whether a target is assigned and is valid to use.  
DistanceToSurface(surface target) Get the vertical distance to a surface target. Example:

P1.DistanceToSurface(ExistingSurface)>0.

  • If P1 is above the surface, a positive value is returned.
  • If P1 is below the surface, a negative value is returned.