API Reference > geometry-core > Solid > Box > createDgnBox createDgnBox MethodStatic Create a new box from vector and size daa. createDgnBox(baseOrigin: Point3d, vectorX: Vector3d, vectorY: Vector3d, topOrigin: Point3d, baseX: number, baseY: number, topX: number, topY: number, capped: boolean): undefined | Box Parameter Type Description baseOrigin Point3d Origin of base rectangle vectorX Vector3d Direction for base rectangle vectorY Vector3d Direction for base rectangle topOrigin Point3d origin of top rectangle baseX number size factor for base rectangle (multiplies vectorX) baseY number size factor for base rectangle (multiplies vectorY) topX number size factor for top rectangle (multiplies vectorX) topY number size factor for top rectangle (multiplies vectorY) capped boolean true to define top and bottom closure caps Returns - undefined | Box Defined in solid/Box.ts Line 93 Last Updated: 11 June, 2024