Autodesk.AutoCAD.DatabaseServices Namespace > BlockReference Class > BlockReference Methods > ConvertToStaticBlock Method > ConvertToStaticBlock(string) Method
BlockReference.ConvertToStaticBlock(string) Method
Description

 

Converts the dynamic block instance to a legacy (non-dynamic) block.

Visual Basic
Public virtual Function ConvertToStaticBlock(
    newBlockName As string
) As void
C#
public virtual void ConvertToStaticBlock(
    string newBlockName
);
Parameters
Parameters 
Description 
string newBlockName 
Input the name of the new block definition 
Notes

When successful, the dynamic block properties are frozen at their current values and the reference ceases to be a dynamic block. A new block is defined with the name newBlockName, which must not already exist in the drawing and must satisfy all of the naming restrictions of normal block references.

Links
   Comments?