InsertDgn Method (ISketchManager)
Inserts a DGN image.
.NET Syntax
COM native C++ | |
---|
HRESULT InsertDgn(
const dsString& PathName,
,
const dsString& ModelName,
,
dsDgnConversionUnitType_e ConversionUnit,
double InsertX,
,
double InsertY,
,
double InsertZ,
,
double Scale,
,
double Rotation
,
IDgnReference** Dgn
) |
C++ | |
---|
DSRESULT InsertDgn(
BSTR PathName,
,
BSTR ModelName,
,
dsDgnConversionUnitType_e ConversionUnit,
DOUBLE InsertX,
,
DOUBLE InsertY,
,
DOUBLE InsertZ,
,
DOUBLE Scale,
,
DOUBLE Rotation
,
dsDgnReference** Dgn
) |
Parameters
- PathName
- Path and file name of the DGN image to insert
- ModelName
- Model name
- ConversionUnit
- Conversion unit as defined in dsDgnConversionUnitType_e
- InsertX
- x coordinate where to insert the DGN image
- InsertY
- y coordinate where to insert the DGN image
- InsertZ
- z coordinate where to insert the DGN image
- Scale
- Scale factor for each axis
- Rotation
- Angle by which to rotate the DGN image
Parameters
- Dgn[out] or Return Value
- IDgnReference
Example
See Also
Availability
DraftSight 2020 SP0