General Program Information
Basics - Box
box - A function that takes in the inputs of two points to create a 3D rectangular object. These points serve to specify the length, width, and height of the object. This is found at the end of a line of AutoCAD code.
box(p1,p2) :=
- concat("_box",sp,point(p1<0>),sp,point(p2<0>))
boxA - A function that takes in the inputs of two points to create a 3D rectangular object. These points serve to specify the length, width, and height of the object.This is found at the beginning or middle of a line of AutoCAD code.
boxA(p1,p2) :=
- concat("_box",sp,point(p1<0>),sp,point(p2<0>),sp)
Example
p1 =
- x = 1
- y = 1
- z = 1
p2 =
- x = 3
- y = 3
- z = 3
box(p1,p2) = _box 1,1,1 3,3,3,
Unknown macro: {float}