Share

Editor.InitCommandVersion Method

Description

This function sets a variable in the current document establishing the version requested for the next command to be run. The return value is the old version prior to being set. Calling this method will no argument will initialize the value to 0, which indicates that no version has been established.

Visual Basic

Public Function InitCommandVersion(
    nVersion As Integer
) As Integer

C#

public int InitCommandVersion(
    int nVersion
);

Parameters

Parameters Description
int nVersion The new version variable to set

Links

Editor Class, Autodesk.AutoCAD.EditorInput Namespace

Was this information helpful?