Class: DocumentManager 1 COMOS. Platform Class documentation DocumentManager_dll. Programming Manual 03/2017 V10.2.

Similar documents
COMOS. Platform Class documentation RevisionMaster_dll. Class: RevisionInfo 1. Class: RevisionMaster 2. Programming Manual

Class documentation. COMOSKDictionary COMOS. Platform Class documentation COMOSKDictionary. Trademarks. General. KDictionary. Programming Manual

Readme SiVArc V14 SP1 Update 6

Team engineering via Inter Project. Engineering. TIA Portal. Team engineering via Inter Project Engineering. Basics of "Inter Project Engineering"

SIMATIC. Process Control System PCS 7 PCS 7 system documentation - Readme V8.0 SP2 (Update 1) Options for Accessing Documentation 1

MindSphere. Visual Explorer. Introduction. User roles for "Visual Explorer" Connecting "Visual Explorer" to MindSphere data. Creating Visualizations

Creating the program. TIA Portal. SIMATIC Creating the program. Loading the block library 1. Deleting program block Main [OB1]

party software COMOS Platform Third-party software Trademarks 1 Requirements for the system environment Third-party software releases Operating Manual

PD PA AP How To Configure Maxum II TimeServer Access

Class: POptions 1 COMOS. Platform Class documentation POptions_dll. Programming Manual 04/2014 A5E AA

SIMATIC. Process Control System PCS 7 VT Readme V8.2 (online) Security information 1. Overview 2. Notes on Installation 3. Notes on usage 4.

SIMATIC. S7/HMI SIMATIC Automation Tool V3.1 SP1 product information. SIMATIC Automation Tool features 1. Known problems. Product Information

Performance data abgn SCALANCE W770/W730 SIMATIC NET. Industrial Wireless LAN Performance data abgn SCALANCE W770/W730.

Performance data abgn PCIe Minicard MPCIE-R1-ABGN-U3 SIMATIC NET

SIMATIC. Process Control System PCS 7 Configuration McAfee Endpoint Security Security information 1. Preface 2.

MindSphere. MindConnect IoT Extension Getting Started. Introduction to MindSphere. Prerequisites 2. Preparations 3. MindConnect IoT Extension

Validity 1. Improvements in STEP 7 2. Improvements in WinCC 3 SIMATIC. Readme. Readme

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

Siemens Spares COMOS. Operations Inspection. Introduction 1. Working with the "Inspection" plugin 2. Working with the "Inspection diagram" plugin 3

Optional package printer driver V1.4

COMOS. Operations Inspection. Introduction 1. Working with the "Inspection" plugin 2. Working with the "Inspection diagram" plugin 3

SIMATIC Ident RFID systems MDS D423 Compact Operating Instructions

SIMATIC. Process Control System PCS 7 Advanced Process Functions Operator Manual. Preface. Security information 1. Overview 2. Material management 3

SIMATIC. Process Control System PCS 7 Trend Micro OfficeScan (V8.0; V8.0 SP1) Configuration. Using virus scanners 1.

COMOS. Operations Shutdown. Introduction 1. Milestones 2. "Shutdown management" plugin 3. "Quick edit" plugin 4. User interface reference 5

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

SIMATIC. STEP 7 PLUS TIA Portal Teamcenter Gateway. Introduction to TIA Portal Teamcenter Gateway 1. System requirements 2

COMOS. Lifecycle Project Quality Management. Introduction 1. Import 2. Attributed search 3. Check out and check in function 4. DVM document package 5

Key Panels Library SIMATIC HMI. Key Panels Library. Preface 1. Installation of Key Panels Library. Working with the Key Panels Library

S7-300 Getting Started - Commissioning a CPU 31xC: Closed-loop control

Class:ELOLib 1 COMOS. Platform Class documentation ELOLib_dll. Programming Manual. Siemens Distributor 09/2014 A5E AA

SIMATIC. Process Control System PCS 7 Configuration Symantec Endpoint Protection V14. Security information 1. Preface 2.

RF-MANAGER simulator SIMATIC. RFID-Systems RF-MANAGER simulator. Simulating projects. Compact Operating Instructions 06/2010 A5E

Getting Started - Startdrive. Startdrive SINAMICS. Introduction 1. Connecting the drive unit to the PC. Creating a project 3

Siemens Industrial SIMATIC. Process Control System PCS 7 Configuration Trend Micro OfficeScan Server XG. Security information 1.

SIMOTION. Motion Control Task Trace. Preface 1. Overview 2. Configuring 3. Working with the SIMOTION Task Profiler 4.

COMOS. Lifecycle Material Management. General information 1. Introduction 2. Definitions 3. Creating material in COMOS 4

COMOS. Lifecycle 3D Integration Operation. Publisher 1. COMOS PDMS Integration 2. Material management 3. COMOS 3D viewing 4.

Settings. Prior information notice 1. Introduction to "Settings" 2. User rights in "Settings" 3. Settings interface 4.

SIMATIC. Industrial PC Microsoft Windows 7 (USB stick) Safety instructions 1. Initial startup: Commissioning the operating system

SIMATIC. Process Control System PCS 7 Symantec Endpoint Protection 11.0 Configuration. Using virus scanners 1. Configuration 2. Commissioning Manual

ET 200S distributed I/O system 4DO DC24V/2A ST digital electronic module (6ES7132-4BD32-0AA0)

Line reactors SINAMICS. SINAMICS G120P Line reactors. Safety information 1. General. Mechanical installation 3. Electrical installation 4

DI 8x24VDC ST digital input module SIMATIC. ET 200SP DI 8x24VDC ST digital input module (6ES7131-6BF00-0BA0) Preface. Documentation guide

COMOS. Operations PQM. Introduction 1. Import 2. Attributed search 3. Check out and check in function 4. Transmittals 5. DVM document package 6

COMOS. Lifecycle 3D Integration Operation. COMOS PDMS Integration 1. Material management 2. COMOS 3D viewing 3. References 4.

SIMATIC. WinCC Readme Runtime Professional. Validity 1. Improvements in Update 6 2. Improvements in Update 3 3. Improvements in Update 2 4

General Information 1. Connection 2. User Interface 3 ATC5300. Menus 4. Automatic Transfer Controller. Remote Control Software Manual A5E

SIMATIC. SIMATIC Energy Manager V1.0 App for ios and Android. Preface. SIMATIC Energy Manager app. Establish connection to SIMATIC Energy Manager PRO

COMOS. Lifecycle 3D Integration Operation. COMOS PDMS Integration 1. Material management 2. COMOS 3D viewing 3. References 4.

MindSphere. Fleet Manager. Introduction to "Fleet Manager" 1. User interface for "Fleet Manager" 2. User rights in "Fleet Manager" 3.

SIMATIC. Process Control System PCS 7 CFC Readme V9.0 (online) Security information 1. Overview 2. Notes on Installation 3. Notes on usage 4.

Use with 0 to 70 C ambient. temperature SIMATIC. Process Control System PCS 7 Use with 0 to 70 C ambient temperature. Preface 1. Product combination 2

COMOS. Operations MRO. Introduction 1. Maintenance objects 2. "General maintenance" plugins 3. "Events" plugin 4. "Resources" plugin 5

COMOS. Automation Automation interfaces. Note on file-based data exchange 1 SPI 2. Generic Excel import 3. Process visualization via OPC client 4


SIMATIC. Industrial PC Microsoft Windows 7. Safety instructions 1. Initial startup: Commissioning the operating. system

SIMATIC. PCS 7 Process Control System SIMATIC Logon Readme V1.6 (Online) Security information 1. Overview 2. Notes on installation 3.

SIMATIC IPC Wizard for. Widescreen devices with multitouch SIMATIC. Industrial PC SIMATIC IPC Wizard for. Preface.

COMOS. Lifecycle COMOS Walkinside Getting Started. Security information 1. Which functionalities are not covered in this manual? 2

SIMATIC. Process Control System PCS 7 OS Process Control (V8.1) Preface 1. Additional documentation 2. Functions of the PCS 7 OS in process mode 3

Primary Setup Tool (PST) SIMATIC NET. Industrial Ethernet / PROFINET Primary Setup Tool (PST) Preface. Description. Software installation 2

Deckblatt. APL Operator Guide SIMATIC PCS 7. Application description June Applikationen & Tools. Answers for industry.

COMOS Material Management. Operation COMOS. Process COMOS Material Management Operation. Trademarks 1. Introduction. Definitions 3

SIMATIC. Process Control System PCS 7 Licenses and quantity structures (V8.0) Preface 1. Selecting the correct license keys 2

MindSphere. Fleet Manager. Introduction to "Fleet Manager" 1. User interface for "Fleet Manager" 2. User rights in "Fleet Manager" 3

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

COMOS Material Management. Operation COMOS. Process COMOS Material Management Operation. Trademarks. Introduction. Definitions

SITOP UPS1600 under STEP 7 V13. SITOP UPS1600 under STEP 7 V13. Introduction. Safety notes. Description. Assigning the IP address

SINEMA Remote Connect - Client SIMATIC NET. Industrial Remote Communication SINEMA Remote Connect - Client. Preface. Requirements for operation

COMOS. Operations MRO (Maintenance Repair and Overhaul) Introduction 1. Maintenance objects 2. "General maintenance" plugins 3.

COMOS. Automation COMOS Automation Interfaces SPI 1. Generic Excel import 2. Process visualization via OPC client 3.

SIMATIC. Process Control System PCS 7 OS Process Control (V8.1) Security information 1. Preface 2. Additional documentation 3

SIMATIC. WinCC Readme Runtime Professional. Validity 1. Improvements in Update 2 2. Improvements in Update 1 3

SITOP UPS1600 under STEP 7 V5. SITOP UPS1600 under STEP 7 V5. Introduction. Safety notes. Description 3. Assigning the IP address

Siemens Automation Products

SIMATIC. Process Control System PCS 7 PCS 7 Documentation (V8.1) Options for Accessing Documentation 1. Documentation for the Planning Phase 2

Setting up securityglobal FW Rulesets SIMATIC NET. Industrial Ethernet Security Setting up security. Preface. Firewall in standard mode

Basic principles 1. Configuring function diagrams based on IEC 2. Administration 3 COMOS. Automation Logical. Operating Manual 04/2015 A5E AD

Power module PM-E DC24V HF SIMATIC. ET 200S distributed I/O Power module PM-E DC24V HF (6ES7138-4CA60-0AB0) Preface. Properties.

SIMATIC. SIMATIC Logon V User management and electronic signatures 1. Hardware and Software Requirements 2. Scope of delivery 3.

Examples for SIMATIC IPC Support. Package for VxWorks SIMATIC. Industrial PC Examples for SIMATIC IPC Support Package for VxWorks

Siemens Drives & PLCs

SIMATIC. WinCC Readme Runtime Professional. Validity 1. Improvements in Update 7 2. Improvements in Update 6 3. Improvements in Update 5 4

COMOS. Automation Logical. Basic principles 1. Configuring function diagrams based on IEC 2. Code generation based on IEC

Scope and Purpose of this. Guideline. Requirements. Limitations. MindSphere. Testing. MindConnect LIB Developer. Branding.

Siemens Spares. Setting up security in STEP 7. Professional SIMATIC NET. Industrial Ethernet Security Setting up security in STEP 7 Professional

First Steps in Commissioning CPU. 31xC: Positioning with digital output SIMATIC

Portable & Direct COMOS. Operations Portable & Direct. Trademarks 1. Introduction. Portable 3. "Direct" plugin 4. User interface reference

BaseUnits (6ES7193-6BP.../3RK1908-0AP00 ) SIMATIC. ET 200SP BaseUnits. Preface. Guide to the documentation 1. Product overview 2

Siemens Controls. SAP interface COMOS. Platform SAP interface. Trademarks 1. Introduction. Technical prerequisites 3

PROFIenergy product information SIMATIC. ET 200SP PROFIenergy product information. PROFIenergy 1. Product Information 12/2015 A5E AH

Continuous Function Chart Getting. Started SIMATIC. Process Control System PCS 7 Continuous Function Chart Getting Started.

SIMATIC NET. S TeleControl MSC300_Library program block library. Block library for TCSB (V3) WDC_S7_300_... (FB92) 2 UDT_WDC_PARAM (UDT91) 3

Industrial Controls. Motor management and control devices SIMOCODE pro - Application examples. Introduction 1. Application example

SIMATIC NET. Industrial Ethernet / PROFINET Primary Setup Tool (PST) Preface. Functions 1. Software installation 2. Operation. Configuration Manual

SIMATIC. PCS 7 Licenses and configuration limits (V9.0) Security information 1. Preface 2. Selecting the correct license keys 3

Operator Station (V8.0) SIMATIC. Process Control System PCS 7 Operator Station (V8.0) Preface 1. The PCS 7 Operator Station

SIMATIC HMI. WinCC V7.4 SP1 SIMATIC HMI WinCC V7.4 Getting Started. Welcome 1. Icons 2. Creating a project. Configure communication

Transcription:

Class: DocumentManager 1 COMOS Platform Class documentation DocumentManager_dll Programming Manual 03/2017 V10.2.1 A5E39863290-AA

Legal information Warning notice system This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger. DANGER indicates that death or severe personal injury will result if proper precautions are not taken. WARNING indicates that death or severe personal injury may result if proper precautions are not taken. CAUTION indicates that minor personal injury can result if proper precautions are not taken. NOTICE indicates that property damage can result if proper precautions are not taken. If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage. Qualified Personnel The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems. Proper use of Siemens products Note the following: Trademarks WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed. All names identified by are registered trademarks of Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner. Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions. Siemens AG Division Process Industries and Drives Postfach 48 48 90026 NÜRNBERG GERMANY A5E39863290-AA P 02/2017 Subject to change Copyright Siemens AG 2016-2017. All rights reserved

Table of contents 1 Class: DocumentManager...5 1.1 DocumentManager: Function...5 Programming Manual, 03/2017 V10.2.1, A5E39863290-AA 3

Table of contents 4 Programming Manual, 03/2017 V10.2.1, A5E39863290-AA

Class: DocumentManager 1 1.1 DocumentManager: Function ExportToEMF ExportToEMF(ByVal documents As Object) As Long Transfers the reports to the export interface for "emf". When the function is executed, the "Export to EMF" user interface opens. The settings in this user interface correspond to the following settings: Context menu of a report "Export > EMF". docmgr.exporttoemf a ExportToExcel ExportToExcel(ByVal documents As Object) As Long Transfers the reports to the export interface for Excel ("xls", "xlsx"). When the function is executed, the "Report to Excel" user interface opens. The settings in this user interface correspond to the following settings: Context menu of a report "Export > Excel". docmgr.exporttoexcel a ExportToWord ExportToWord(ByVal documents As Object) As Long Transfers the reports to the export interface for Word ("doc", "docx"). When the function is executed, the "Report to Word" user interface opens. The settings in this user interface correspond to the following settings: Context menu of a report "Export > Word". docmgr.exporttoword a Programming Manual, 03/2017 V10.2.1, A5E39863290-AA 5

Class: DocumentManager 1.1 DocumentManager: Function ExportToNTR ExportToNTR(ByVal documents As Object) As Long Transfers the reports to the export interface for ROHR2 ("ntr"). When the function is executed, the "Export to ROHR2" user interface opens. docmgr.exporttontr a SaveAsDxf SaveAsDxf(ByVal documents As Object) As Long Transfers the reports to the export interface for DXF and DWG. When the function is executed, the "Export to DWG/DXF" user interface opens. The settings in this user interface correspond to the following settings: Context menu of a report "Export > DXF/DWG". docmgr.saveasdxf a PrintDocuments PrintDocuments(ByVal documents As Object) As Long Transfers the collection of random documents to the Windows printer dialog. When the function is executed, the "Print" user interface opens. The uccprintdirect parameter deactivates the printer dialog and prints the collection of documents with the default printer properties on the default printer. The Silent parameter suppresses any possible feedback windows. Collection of documents to be printed. docmgr.printdocuments a CopyAndCalcutlateDocument CopyAndCalcutlateDocument(ByVal SourceFile As String, ByVal pltdoc As IComosDDocument, Optional ByVal WithIndexUpdater As Boolean = True) As Boolean Imports a random document from the file system to COMOS. The import works without user interface. When the function is executed, the document that is to be imported is created below 6 Programming Manual, 03/2017 V10.2.1, A5E39863290-AA

Class: DocumentManager 1.1 DocumentManager: Function the owner without an additional prompt. In the example below, the owner is the object set in the "Object A:" field of the object debugger. SourceFile Path and file name of the document to be imported. pltdoc COMOS object of the COMOS document to be created. Required properties: See example below. WithIndexUpdater True: Updates the document index after the import Object set in the "Object A:" field of the object debugger Set Document1 = a.documents.createnew Document1.Name = "MeinExcel" & Now() Document1.DocumentType = Project.DocumentTypes.Item("Excel") ' Copy File Set DocMgr = CreateObject("ComosDocumentManager.DocumentManager") Call DocMgr.CopyAndCalcutlateDocument("C:\Temp\Test.xls", Document1) ExportToPDF ExportToPDF(ByVal documents As Object) As Long Transfers the reports to the export interface for intelligent PDF export. When the function is executed, the "PDF export" user interface opens. The settings in this user interface correspond to the following settings: Context menu of a report "Export > PDF". docmgr.exporttopdf a PrintToRevisionPrinter PrintToRevisionPrinter(ByVal documents As Object) As Long Transfers the reports to the revision printer. When the function is executed, the "Print with revision printer" user interface opens. The settings in this user interface correspond to the following settings: COMOS menu "Documents > Print with revision printer". Select a report and then "Execute". docmgr.printtorevisionprinter a Programming Manual, 03/2017 V10.2.1, A5E39863290-AA 7

Class: DocumentManager 1.1 DocumentManager: Function 8 Programming Manual, 03/2017 V10.2.1, A5E39863290-AA