InsertExternalReferenceWithReferenceType Method (ISketchManager)
Inserts an external reference to a Block instance with the specified reference type.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function InsertExternalReferenceWithReferenceType( _
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, _
dsExternalReferenceType_e RefType As dsExternalReferenceType_e _
) As BlockInstance |
COM native C++ | |
---|
HRESULT InsertExternalReferenceWithReferenceType(
const dsString& PathName,
,
double InsertX,
,
double InsertY,
,
double InsertZ,
,
double Scale,
,
double Rotation,
,
dsExternalReferenceType_e RefType
IBlockInstance** BInst
) |
C++ | |
---|
DSRESULT InsertExternalReferenceWithReferenceType(
BSTR PathName,
,
DOUBLE InsertX,
,
DOUBLE InsertY,
,
DOUBLE InsertZ,
,
DOUBLE Scale,
,
DOUBLE Rotation,
,
dsExternalReferenceType_e RefType
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)
- RefType
- Reference type as defined by dsExternalReferenceType_e
Parameters
- BInst[out] or Return Value
- Block instance
Remarks
See Also
Availability
DraftSight 2024 SP4