Replaces an existing Block in the drawing with a new Block containing the 2D flattened representation of the current view's 3D solid objects and Regions.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function FlatShotByReplaceExistingBlock( _
const dsString& BlockName As System.String _
) As System.Boolean |
| C# | |
|---|
System.bool FlatShotByReplaceExistingBlock(
System.string BlockName
) |
| JavaScript | |
|---|
FlatShotByReplaceExistingBlock(
BlockName : String
) : Boolean |
| COM native C++ | |
|---|
HRESULT FlatShotByReplaceExistingBlock(
BSTR BlockName,
VARIANT_BOOL*RetVal
) |
| C++ | |
|---|
DSRESULT FlatShotByReplaceExistingBlock(
const dsString& BlockName,
bool*RetVal
) |
Parameters
- BlockName
- Name of existing Block to replace
- [out] or Return Value
- True if successful, false if not
Example
Remarks
See Also
Availability
DraftSight 2020 SP0