InsertExternalReference Method (ISketchManager)
Inserts an external reference to a Block instance.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertExternalReference( _
BSTR PathName 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 InsertExternalReference(
const dsString& PathName,
,
double InsertX,
,
double InsertY,
,
double InsertZ,
,
double Scale,
,
double Rotation
,
IBlockInstance** BInst
) |
C++ | |
---|
DSRESULT InsertExternalReference(
BSTR PathName,
,
DOUBLE InsertX,
,
DOUBLE InsertY,
,
DOUBLE InsertZ,
,
DOUBLE Scale,
,
DOUBLE Rotation
,
dsBlockInstance** BInst
) |
Parameters
- PathName
- Path and file name of the external reference to insert
- InsertX
- x coordinate where to insert the external reference
- InsertY
- y coordinate where to insert the external reference
- InsertZ
- z coordinate where to insert the external reference
- Scale
- Scale factor for each axis
- Rotation
- Angle by which to rotate the external reference; in radians (see Remarks)
Parameters
- BInst[out] or Return Value
- External reference to a Block instance
Example
Remarks
See Also
Availability
DraftSight V1R1