Description
Sets the current workspace.
Visual Basic
Public static Function SetCurrentWorkspace( workspacename As string ) As bool
C#
public static bool SetCurrentWorkspace( string workspacename );
Parameters
Parameters | Description |
---|---|
workspaceName | The name of a workspace to make current. |
Returns
True if successful, false if not. Possible errors: The workspace name is not found.
Remarks
The workspace name search is not case-sensitive.
Links
Application Class, Autodesk.AutoCAD.ApplicationServices Namespace