Hide Table of Contents
dsCommandOptionString_e Enumeration

Command options for strings.

.NET Syntax

Visual Basic (Declaration) 
Public Enum dsCommandOptionString_e 
   Inherits System.Enum
C# 
public enum dsCommandOptionString_e : System.Enum 
JavaScript 
dsCommandOptionString_e : String
COM native C++ 
enum dsCommandOptionString_e
C++ 
enum dsCommandOptionString_e

Members

MemberDescription
dsCommandOptionString_CountObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetActCmd1 = Names of commands in use, both active and transparent (read only)
dsCommandOptionString_GetActComp2 = Name of reference being edited (read only)
dsCommandOptionString_GetActDictObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetActDimStyl4 = Name of current dimension style (read only)
dsCommandOptionString_GetActTab5 = Name of current tab
dsCommandOptionString_GetActUsrObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetInfOSObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetLstPrmpt8 = Last string echoed at the command prompt (read only)
dsCommandOptionString_GetLstSvNmObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetNmActCS10 = Name of current coordinate system for the active Viewport in the current space; empty string is returned if custom coordinate system (CCS) is not named (read only)
dsCommandOptionString_GetNmActPrflObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetNmAutoSvFlObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetNmPrdctObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetNmPrgmObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetNmPrnStyl

15 = PrintStyle table types (read only):

  • STB, then default is ByLayer
  • CTB, then default is ByColor
dsCommandOptionString_GetPlatformObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetPthDSObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_GetPthDWG18 = Drive and folder of active drawing (read only)
dsCommandOptionString_GetUsrStrn119 = User- or application-defined string
dsCommandOptionString_GetUsrStrn220 = User- or application-defined string
dsCommandOptionString_GetUsrStrn321 = User- or application-defined string
dsCommandOptionString_GetUsrStrn422 = User- or application-defined string
dsCommandOptionString_GetUsrStrn523 = User- or application-defined string
dsCommandOptionString_Lgcy_PKSERObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_LgcyCANNOSCALE25 = Current annotation scale; only named scales in the drawing's named scales can be specified (see Remarks)
dsCommandOptionString_LgcyPROJECTNAME26 = Project name for current drawing (see Remarks)
dsCommandOptionString_LgcySHPNAMEObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetActBlkNm28 = Default Block name for INSERT
dsCommandOptionString_SetActLay29 = Tools > Options > Drafting Styles > Active Drafting Styles > Layer
dsCommandOptionString_SetActLStyl

30 = Tools > Options > Drafting Styles > Active Drafting Styles > Line Font > Line Style

dsCommandOptionString_SetActMnuObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetActTblStyl32 = Tools > Options > Drafting Styles > Active Drafting Styles > Table
dsCommandOptionString_SetActTxtStyl33 = Tools > Options > Drafting Styles > Active Drafting Styles > Text > Style
dsCommandOptionString_SetAltBgFntObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetAltFntObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetAltShpObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetAutoSvPthObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetBrwsrURLObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetCCSBase37 = Active named CCS
dsCommandOptionString_SetDictFNm

Obsolete. Superseded by dsApplicationOptionString_e.

dsCommandOptionString_SetDmArwBlk

39 = Tools > Options > Drafting Styles > Dimension > Arrows > Start arrow and End arrow:

  • _ARCHTICK = Architectural tick
  • _BOXBLANK = Box
  • _BOXFILLED = Box filled
  • _CLOSED = Closed
  • _CLOSEDBLANK = Closed blank
  • _DATUMBLANK = Datum triangle
  • _DATUMFILLED = Datum triangle filled
  • _DOT = Dot
  • _DOTBLANK = Dot blank
  • _DOTSMALL = Dot small
  • empty string = Closed filled
  • _INTEGRAL = Integral
  • _NONE = None
  • _OBLIQUE = Oblique
  • _OPEN = Open
  • _OPEN30 = Open 30
  • _OPEN90 = Right angle
  • _ORIGIN = Origin indicator
  • _ORIGIN2 = Origin indicator 2
  • _SMALL = Dot small blank
dsCommandOptionString_SetDmArwBlk1

40 = Tools > Options > Drafting Styles > Dimension > Arrows > Start arrow:

  • _ARCHTICK = Architectural tick
  • _BOXBLANK = Box
  • _BOXFILLED = Box filled
  • _CLOSED = Closed
  • _CLOSEDBLANK = Closed blank
  • _DATUMBLANK = Datum triangle
  • _DATUMFILLED = Datum triangle filled
  • _DOT = Dot
  • _DOTBLANK = Dot blank
  • _DOTSMALL = Dot small
  • empty string = Closed filled
  • _INTEGRAL = Integral
  • _NONE = None
  • _OBLIQUE = Oblique
  • _OPEN = Open
  • _OPEN30 = Open 30
  • _OPEN90 = Right angle
  • _ORIGIN = Origin indicator
  • _ORIGIN2 = Origin indicator 2
  • _SMALL = Dot small blank
dsCommandOptionString_SetDmArwBlk2

41 = Tools > Options > Drafting Styles > Dimension > Arrows > End arrow:

  • _ARCHTICK = Architectural tick
  • _BOXBLANK = Box
  • _BOXFILLED = Box filled
  • _CLOSED = Closed
  • _CLOSEDBLANK = Closed blank
  • _DATUMBLANK = Datum triangle
  • _DATUMFILLED = Datum triangle filled
  • _DOT = Dot
  • _DOTBLANK = Dot blank
  • _DOTSMALL = Dot small
  • empty string = Closed filled
  • _INTEGRAL = Integral
  • _NONE = None
  • _OBLIQUE = Oblique
  • _OPEN = Open
  • _OPEN30 = Open 30
  • _OPEN90 = Right angle
  • _ORIGIN = Origin indicator
  • _ORIGIN2 = Origin indicator 2
  • _SMALL = Dot small blank
dsCommandOptionString_SetDmLdrBlk

42 = Tools > Options > Drafting Styles > Dimension > Arrows > Leader arrow:

  • _ARCHTICK = Architectural tick
  • _BOXBLANK = Box
  • _BOXFILLED = Box filled
  • _CLOSED = Closed
  • _CLOSEDBLANK = Closed blank
  • _DATUMBLANK = Datum triangle
  • _DATUMFILLED = Datum triangle filled
  • _DOT = Dot
  • _DOTBLANK = Dot blank
  • _DOTSMALL = Dot small
  • empty string = Closed filled
  • _INTEGRAL = Integral
  • _NONE = None
  • _OBLIQUE = Oblique
  • _OPEN = Open
  • _OPEN30 = Open 30
  • _OPEN90 = Right angle
  • _ORIGIN = Origin indicator
  • _ORIGIN2 = Origin indicator 2
  • _SMALL = Dot small blank
dsCommandOptionString_SetDmTxtStyl43 = Tools > Options > Drafting Styles > Dimension > Text > Text settings > Style
dsCommandOptionString_SetFntMpFNmObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetHistFNm45 = Log file name (read only)
dsCommandOptionString_SetHtchPtrn46 = Draw > Hatch/Fill > Pattern > Pattern
dsCommandOptionString_SetHyprLnkBase47 = Path for all relative hyperlinks in a drawing
dsCommandOptionString_SetLDmPrfxSfx48 = Tools > Options > Drafting Styles > Dimension > Linear Dimension > Prefix and Suffix
dsCommandOptionString_SetLogPthObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetNoteStyl50 = Tools > Options > Drafting Styles > Text > Style
dsCommandOptionString_SetPGdSpcAngObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetPrmptTxtObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetPSProLogObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetPthTempObsolete. Superseded by dsApplicationOptionString_e.
dsCommandOptionString_SetShtCSNm55 = Name of the CCS that defines the orthographic CCS settings in sheet space
dsCommandOptionString_SetTDmPrfxSfx56 = Tools > Options > Drafting Styles > Dimension > Dual Dimension > Prefix and Suffix
dsCommandOptionString_Undefined0 = Undefined

Remarks

The string Lgcy in a command option indicates that setting the command option has no effect in DraftSight; however, the value is stored in the DWG file.

In most instances, user-interface command option equivalents are the strings following dsCommandOptionString_; for example, typing GetActCmd in the command prompt is equivalent to using dsCommandOptionString_GetActCmd in code.

See Also



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   dsCommandOptionString_e Enumeration
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2024 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.