Welcome
Expand Getting StartedGetting Started
Expand SOLIDWORKS API HelpSOLIDWORKS API Help
Collapse SOLIDWORKS PDM Professional API HelpSOLIDWORKS PDM Professional API Help
Welcome
Release Notes
Getting Started
Expand Stand-alone ApplicationsStand-alone Applications
Expand Add-in ApplicationsAdd-in Applications
Collapse EPDM.Interop.epdm NamespaceEPDM.Interop.epdm Namespace
Overview
Expand InterfacesInterfaces
Collapse EnumerationsEnumerations
CreateMenuFlags
EdmAddAddInFlags
EdmAddCallbackMsgID
EdmAddFileDlgFlag
EdmAddFlag
EdmAddInFileInfoFlags
EdmBatchAddFlag
EdmBatchAddFolderFlag
EdmBatchCreateFolderFlag
EdmBatchFlags
EdmBomColumnType
EdmBomFlag
EdmBomInsertRowOption
EdmBomSetVarOption
EdmBomVersionType
EdmBrowseFlag
EdmBrowseForFolderFlag
EdmButtonState
EdmCardControlType
EdmCardFlag
EdmCardType
EdmCardViewFlag
EdmCardViewUpdateType
EdmChangeStateFileListFlag
EdmClientType
EdmCmdNodeProp
EdmCmdType
EdmColType
EdmCopyFlag
EdmCreateListExFlags
EdmCreateReferenceFlags
EdmCreateVaultFlag
EdmCreateVaultViewFlag
EdmDataPropertyType
EdmDataType
EdmDefaultValueType
EdmDefValComp
EdmFileType
EdmFindUserProp
EdmFolderHistoryFlag
EdmFolderInfoFlag
EdmGetCmdFlags
EdmGetConfirmReason
EdmGetFileListFlag
EdmGetFlag
EdmGetMenuInfoFlags
EdmGetMsgFlag
EdmGetOpError
EdmGetOpMsg
EdmGetOpReply
EdmGetPermFlag
EdmGetVarDataFlag
EdmGroupDataFlags
EdmHistoryType
EdmIncRevFlags
EdmInstallFileFlags
EdmItemGenerationFlags
EdmItemLinkType
EdmLanguage
EdmLaunchSearchFlags
EdmLibVer
EdmLicenseType
EdmListFileFlags
EdmListFolderFlags
EdmListRetFileFlag
EdmLockFlag
EdmMBoxResult
EdmMBoxType
EdmMenuFlags
EdmMenuStrType
EdmMsgType
EdmObjectType
EdmProgressType
EdmRawRefFlags
EdmRefFlags
EdmRefItemProperty
EdmRefItemType
EdmRefreshFlag
EdmRefType
EdmRepaintType
EdmResolveAction
EdmResolveReason
EdmRevComponentFlags
EdmRightFlags
EdmSearchToken
EdmStateFlags
EdmSysPerm
EdmSysRightFlags
EdmTaskFlag
EdmTaskStatus
EdmTransitionRightFlags
EdmTransitionType
EdmUnlockBuildTreeFlags
EdmUnlockEvent
EdmUnlockEventMsg
EdmUnlockFileListFlag
EdmUnlockFlag
EdmUnlockOpMsg
EdmUnlockOpReply
EdmUnlockStatusFlag
EdmUserDataExFlag
EdmUserDataFlags
EdmUserPictureFlag
EdmUtility
EdmVariableFlags
EdmVariableType
EdmVarOp
EdmVaultType
Expand StructuresStructures
Expand EPDM.Interop.EPDMResultCode NamespaceEPDM.Interop.EPDMResultCode Namespace
Expand FeatureWorks API HelpFeatureWorks API Help
Expand SOLIDWORKS Costing API HelpSOLIDWORKS Costing API Help
Expand SOLIDWORKS Document Manager API HelpSOLIDWORKS Document Manager API Help
Expand SOLIDWORKS Routing API HelpSOLIDWORKS Routing API Help
Expand SOLIDWORKS Simulation API HelpSOLIDWORKS Simulation API Help
Expand SOLIDWORKS Sustainability API HelpSOLIDWORKS Sustainability API Help
Expand SOLIDWORKS Toolbox API HelpSOLIDWORKS Toolbox API Help
Expand SOLIDWORKS Utilities API HelpSOLIDWORKS Utilities API Help
Expand eDrawings API HelpeDrawings API Help
Hide Table of Contents
EdmAddFlag Enumeration

Options for adding a file to a folder used in calls to IEdmFolder5::AddFile. Bitmask.

Syntax

Visual Basic (Declaration) 
Public Enum EdmAddFlag 
   Inherits System.Enum
C# 
public enum EdmAddFlag : System.Enum 
C++/CLI 
public enum class EdmAddFlag : public System.Enum 

Members

MemberDescription
EdmAdd_DeleteSource64 = Delete the source file once it has been added to the vault
EdmAdd_DontAddCorrupt2 = Refuse to add corrupt files; IEdmFolder5::AddFile returns the error code E_EDM_INVALID_FILE
EdmAdd_ForceGenerateSerialNumbers128 = Force regeneration of serial numbers when values already exist; if this flag is not set, SOLIDWORKS PDM Professional will only generate values that are missing in the file
EdmAdd_GetInterface256 = Return the file interface; only works with IEdmBatchAdd
EdmAdd_KeepExistingSerialNumbers4 = Do not replace existing serial numbers with new ones; SOLIDWORKS PDM Professional still creates serial numbers for empty fields; if this flag is not set, SOLIDWORKS PDM Professional writes over existing serial numbers with new ones
EdmAdd_Refresh1 = Make all file listings in Windows Explorer and Open/Save As dialog boxes refresh so that the new file is displayed
EdmAdd_Simple0 = Add the file
EdmAdd_UniqueVarClearDuplicate16 = Clear duplicated unique constrained variables instead of failing
EdmAdd_UniqueVarDelayCheck32 = Delay the unique variable check until the next check-in

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:   EdmAddFlag 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) 2018 SP04

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.