InsertShape Method (ISketchManager)
Inserts a shape.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertShape( _
BSTR Name As System.String, _
DOUBLE PositionX As System.Double, _
DOUBLE PositionY As System.Double, _
DOUBLE PositionZ As System.Double, _
DOUBLE Height As System.Double, _
DOUBLE Rotation As System.Double _
) As Shape |
COM native C++ | |
---|
HRESULT InsertShape(
const dsString& Name,
,
double PositionX,
,
double PositionY,
,
double PositionZ,
,
double Height,
,
double Rotation
,
IShape** Shape
) |
C++ | |
---|
DSRESULT InsertShape(
BSTR Name,
,
DOUBLE PositionX,
,
DOUBLE PositionY,
,
DOUBLE PositionZ,
,
DOUBLE Height,
,
DOUBLE Rotation
,
dsShape** Shape
) |
Parameters
- Name
- Name of the shape to insert (see Remarks)
- PositionX
- x coordinate of the point where to insert the shape
- PositionY
- y coordinate of the point where to insert the shape
- PositionZ
- z coordinate of the point where to insert the shape
- Height
- Height of the shape
- Rotation
- Angle by which to rotate the shape
Parameters
- Shape[out] or Return Value
- Shape
Example
Remarks
See Also
Availability
DraftSight V1R4.0