Click or drag to resize
CTInterfaceScriptButtonArgsDocType Property
Type of the document for which the menuitem is set.

DocType is defined in assembly SolidWorks.Interop.swconst.dll.

C#
enum swDocumentTypes_e
{
   swDocNONE = 0,      /// NONE document
   swDocPART = 1,      /// PART document
   swDocASSEMBLY = 2,  /// ASSEMBLY document
   swDocDRAWING = 3,   /// DRAWING document
   swDocSDM = 4        /// SDM document
};

Namespace: ATR.CT.CTInterface
Assembly: CTInterface (in CTInterface.dll)
Syntax
public long DocType { get; }

Property Value

Type: Int64
See Also