BasicWireframePackage (no NLS) Methods

This page discusses:

Direction.Vector()

Signature

Direction.Vector(): Vector

Returned value

Vector

Sample

let d (Direction)
let v (Vector)
set d = direction(10mm,20mm,30mm)
set v = d.Vector()

GSMPointCoord.GetReferencePointMode()

Signature

GSMPointCoord.GetReferencePointMode(isReferencePointExplicit: Boolean)

Inputs

Name Input/Output Required? Type Comment
isReferencePointExplicit Out Boolean -

Point.coord()

Point.coord(integer)

Signature

Point.coord(rank: Integer, optionalAxisSystem: AxisSystem]): LENGTH

Inputs

Name Input/Output Required? Type Comment
rank In Yes Integer -
optionalAxisSystem InYes AxisSystem -

Returned value

LENGTH

Sample

let x (LENGTH)
let y (LENGTH)
let z (LENGTH)
set x = PartBody\Point.1.coord(1)
set y = PartBody\Point.1.coord(2)
set z = PartBody\Point.1.coord(3)
x = 5*x
set PartBody\Point.3 = point(x,y,z)

Point.coord(LENGTH)

Signature

Point.coord(x: LENGTH, y: LENGTH, z: LENGTH, optionalAxisSystem: AxisSystem])

Inputs

Name Input/Output Required? Type Comment
x Out Yes LENGTH -
y Out Yes LENGTH -
z Out Yes LENGTH -
optionalAxisSystem InYes AxisSystem -

Sample

let x (LENGTH)
let y (LENGTH)
let z (LENGTH)
PartBody\Point.1.coord(x, y, z)
y = 5*y
set PartBody\Point.2 = point(x,y,z)