







JsPropertiesExtractor | Send comments on this topic. |
AddCone Method | |
See Also Example |
![]() |
vdWebLibrary Namespace > vdrawObj Class : AddCone Method |
- insertionPoint
- Center of the cone base e as an array of [x,y,z]
- BaseRadius
- Radius of the cone base.
- TopRadius
- Radius of the top cone face.
- height
- Height of the cone
- numSegmants
- Segment number controling how smooth the cone will be.
- 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 AddCone( insertionPoint : Object, BaseRadius : double, TopRadius : double, height : double, numSegmants : int, drawit : boolean, entities : Object ) : Object; |
Parameters
- insertionPoint
- Center of the cone base e as an array of [x,y,z]
- BaseRadius
- Radius of the cone base.
- TopRadius
- Radius of the top cone face.
- height
- Height of the cone
- numSegmants
- Segment number controling how smooth the cone will be.
- 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.AddCone([0,0,0], 2, 1, 3, 15, true); |