InsertBlock Method (ISketchManager)
Obsolete. Superseded by ISketchManager::InsertBlock2.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertBlock( _
BSTR BlockName As System.String, _
DOUBLE InsertX As System.Double, _
DOUBLE InsertY As System.Double, _
DOUBLE InsertZ As System.Double, _
DOUBLE Scale As System.Double, _
DOUBLE Rotation As System.Double _
) As BlockInstance |
COM native C++ | |
---|
HRESULT InsertBlock(
const dsString& BlockName,
,
double InsertX,
,
double InsertY,
,
double InsertZ,
,
double Scale,
,
double Rotation
,
IBlockInstance** Blk
) |
C++ | |
---|
DSRESULT InsertBlock(
BSTR BlockName,
,
DOUBLE InsertX,
,
DOUBLE InsertY,
,
DOUBLE InsertZ,
,
DOUBLE Scale,
,
DOUBLE Rotation
,
dsBlockInstance** Blk
) |
Parameters
- BlockName
- Name for the Block instance
- InsertX
- x coordinate where to insert the Block instance
- InsertY
- y coordinate where to insert the Block instance
- InsertZ
- z coordinate where to insert the Block instance
- Scale
- Scale factor for each axis
- Rotation
- Angle by which to rotate the Block instance; in radians (see Remarks)
Parameters
- Blk[out] or Return Value
- Block instance
Remarks
See Also
Availability
DraftSight V1R1