rblock.disp

Syntax

Vector Access

v = rblock.disp(p<,i>)
rblock.disp(p<,i>) = v

Get/set the rigid block displacement.

Returns:

v - rigid block displacement vector or component

Accepts:

v - rigid block displacement vector or component

Arguments:

p - rigid block pointer

i - optional vector component

Component Access

f = rblock.disp.x(p)
rblock.disp.x(p) = f

Get/set the x-component of the rigid block displacement.

Returns:f - x-component of the rigid block displacement vector
Accepts:f - x-component of the rigid block displacement vector
Arguments:p - rigid block pointer
f = rblock.disp.y(p)
rblock.disp.y(p) = f

Get/set the y-component of the rigid block displacement.

Returns:f - y-component of the rigid block displacement vector
Accepts:f - y-component of the rigid block displacement vector
Arguments:p - rigid block pointer
f = rblock.disp.z(p)
rblock.disp.z(p) = f (3D ONLY)

Get/set the z-component of the rigid block displacement.

Returns:f - z-component of the rigid block displacement vector
Accepts:f - z-component of the rigid block displacement vector
Arguments:p - rigid block pointer