OffsetEntityByDistance Method (ISketchManager)
Copies the specified entity to a location at the specified distance.
.NET Syntax
COM native C++ | |
---|
HRESULT OffsetEntityByDistance(
dsObject* Obj,
,
bool DeleteSourceEntity,
,
double Distance,
,
bool Bothsides,
,
dsMathPoint* OneSidePoint,
,
dsOffsetType_e OffsetType
VARIANT* OffsetEntitiesArray
) |
C++ | |
---|
DSRESULT OffsetEntityByDistance(
IDispatch* Obj,
,
VARIANT_BOOL DeleteSourceEntity,
,
DOUBLE Distance,
,
VARIANT_BOOL Bothsides,
,
IMathPoint* OneSidePoint,
,
dsOffsetType_e OffsetType
VARIANT* OffsetEntitiesArray
) |
Parameters
- Obj
- Source entity to offset
- DeleteSourceEntity
- True to delete the Obj after offset, false to not
- Distance
- Distance by which to offset Obj
- Bothsides
- True to offset on both sides of Obj, false to not
- OneSidePoint
- MathPoint on the side of Obj from which to offset; valid only if Bothsides is false
- OffsetType
- Type of offset as defined in dsOffsetType_e
Parameters
- OffsetEntitiesArray[out] or Return Value
- Entity
Remarks
See Also
Availability
DraftSight 2021 SP0