







JsPropertiesExtractor | Send comments on this topic. |
AddBox Method | |
See Also Example |
![]() |
vdWebLibrary Namespace > vdrawObj Class : AddBox Method |
- insertionPoint
- The insertion point of the box as an array of [x,y,z]
- length
- The length of the box
- width
- The width of the box
- height
- The height of the box
- rotation
- The rotation of the box in radians around the Z axis and relative to insertion point
- drawit
- Defines if the vdPolyline object will be drawn.
- entities
- The entities collection where the polyline will be added. This can be the entities of layout or a block.
JScript | |
---|---|
public function AddBox( insertionPoint : Object, length : double, width : double, height : double, rotation : double, drawit : boolean, entities : Object ) : Object; |
Parameters
- insertionPoint
- The insertion point of the box as an array of [x,y,z]
- length
- The length of the box
- width
- The width of the box
- height
- The height of the box
- rotation
- The rotation of the box in radians around the Z axis and relative to insertion point
- drawit
- Defines if the vdPolyline object will be drawn.
- entities
- The entities collection where the polyline will be added. This can be the entities of layout or a block.
Return Value
A vdPolyface objectC# | ![]() |
---|---|
vdcanvas.AddBox([-2, -2, 0], 6, 3, 10, vdgeo.HALF_PI / 2.0, true); |