General Program Information

Basics - Unions

Unions work to select objects and points and join them together.

unionA - a function that appears at the beginning or the middle of a line of AutoCAD code which takes in two points as inputs. These points serve to select separate objects in AutoCAD and then joins the selected objects together to form a single object.
unionA(p1,p2) :=

  • concat("_union",sp,point(p1<0>),sp,point(p2<0>),sp,sp)

unionB - a function that appears at the beginning or middle of a line of AutoCAD code which takes in four points as inputs. These points serve to select separate objects in AutoCAD and then joins the selected objects together to form a single object.
unionB(p1,p2,p3,p4) :=

  • concat("_union",sp,point(p1<0>),sp,point(p2<0>),sp,point(p3<0>),sp,point(p4<0>),sp,sp)

unionC - a function that appears at the end of a line AutoCAD code which takes in two points as inputs. These points serve to select two separate objects in AutoCAD and then joins the selected objects together to form a single object.
unionC(p1,p2) :=

  • concat("_union",sp,point(p1<0>),sp,point(p2<0>),sp)

unionall - a function that appears at the beginning or middle of a line of AutoCAD code which selects all of the objects on a page and joins them together to form a single object.
unionall :=

  • concat("_union",sp,"all",sp,sp)

unionallA - a function that appears at the end of a line of AutoCAD code which selects all of the objects on a page and joins them together to form a single object.
unionallA :=

  • concat("_union",sp,"all",sp)
  • No labels