010-68421378
sales@cogitosoft.com
Categories
AddFlow  AmCharts JavaScript Stock Chart AmCharts 4: Charts Aspose.Total for Java Altova SchemaAgent Altova DatabaseSpy Altova MobileTogether Altova UModel  Altova MapForce Altova StyleVision Server Altova MapForce Server Altova Authentic Aspose.Total for .NET Altova RaptorXML Server ComponentOne Ultimate Chart FX for SharePoint Chart FX CodeCharge Studio ComponentOne Enterprise combit Report Server Combit List & Label 22 Controls for Visual C++ MFC Chart Pro for Visual C ++ MFC DbVisualizer version 12.1 DemoCharge DXperience Subscription .NET DevExpress Universal Subscription Essential Studio for ASP.NET MVC FusionCharts Suite XT FusionCharts for Flex  FusionExport V2.0 GrapeCity TX Text Control .NET for WPF GrapeCity Spread Studio Highcharts Gantt Highcharts 10.0 版 HelpNDoc Infragistics Ultimate  ImageKit9 ActiveX ImageKit.NET JetBrains--Fleet JetBrains-DataSpell JetBrains--DataGrip jQuery EasyUI jChart FX Plus Nevron Vision for .NET OPC DA .NET Server Toolkit  OSS ASN.1/C Oxygen XML Author  OSS 4G NAS/C, C++ Encoder Decoder Library OSS ASN.1 Tools for C with 4G S1/X2 OSS ASN.1/C# OSS ASN.1/JAVA OSS ASN.1/C++ OPC HDA .NET Server Toolkit OPC DA .Net Client Development Component PowerBuilder redgate NET Developer Bundle Report Control for Visual C++ MFC  Altova StyleVision Sencha Test Stimulsoft Reports.PHP Stimulsoft Reports.JS Stimulsoft Reports.Java Stimulsoft Reports. Ultimate Stimulsoft Reports.Wpf Stimulsoft Reports.Silverlight SPC Control Chart Tools for .Net SlickEdit Source Insight Software Verify .Net Coverage Validator Toolkit Pro for VisualC++MFC TeeChart .NET Telerik DevCraft Complete Altova XMLSpy Zend Server

Guthrie CADSoftTools CADEditorX

CADEditorX is an ActiveX component for adding CAD features to the Web page or to the application under development in any development environment supporting ActiveX and COM technology, for example C#, Visual C++, Delphi, VB, JavaScript etc. It enables viewing, editing, converting, printing and measuring DWGDXFSVGHPGLPDFSTEPIGESSTL and other CAD files. An easy-to-use API and numerous examples allow fast integration of CADEditorX to the final application.

CADEditorX scope of use:

  • database systems
  • monitoring and remote control programs
  • CNC machines
  • CAD applications development
  • data export to CAD formats
  • document management systems and highly specialized products

Main Features

  • Viewing files:
    - vector formats: DWG, DXF, PDF, HPGL, SVG, CGM etc.
    - 3D models: STEP, IGES, STL, OBJ etc.
    - raster formats: BMP, PNG, JPG, ICO, TIFF etc.
  • Editing 2D files: work with entity properties, layers, blocks, dimension and text styles, support of SHX fonts, support of XRefs etc.
  • Measuring in 2D and 3D modes as well as saving measurement results to TXT
  • Saving to DWG, DXF, PDF, SVG, CGM, PLT, STL, OBJ etc.
  • Batch conversion to DWG, DXF, PDF, SVG, PLT, CGM, BPM and other formats
  • Adding markups and commentaries to the file in the Redline mode
  • The Compare files tool for finding differences between two file revisions.
  • Multipage printing of large format files.
  • Sending a group of files to different output devices with Batch print
  • Easy-to-use API containing a single function and a single event

Demo Examples

The SDK includes demo examples presented as executable files and the source code in popular programming languages: C#, Delphi, VB.NET, HTML, VC++, VBA etc.

C# demo application

 

 

C# Demo

VBA Demo

Delphi Demo

To learn instructions, commands and system variables it is especially convenient to use the XML IDE application. In this application you will find a lot of XML instruction examples and what is more you can immediately see the result of their execution.

 

The How to section of the CADEditorX help system contains ready solutions with the code examples showing how to handle the most important operations.

The most important functions that can be implemented with the help of CAD XML API are described in this section.

?How to Create and Process XML

There are two ways allowing creating and processing XML format.

XML as simple string

XML can be created as a simple string with the help of any programming language This is the most simple way that can be recommended for initial investigation and for many projects where there is no need to handle complicated XML files.

A simple way to work with CAD XML API:

1. Look at the example XML files and How to help section.

2. Create XML strings on the basis of demo examples to implement the required features.

3. You can either load XML files from HDD or add all these XML texts as string constants directly to the application source code.

We recommend to use the Format() function (which is present in all popular programming languages) to insert data to XML strings.

C# example for calling line:

 

        string command =

            @"

             

               

              ";

  string result = CADEditorX.ProcessXML(command);

XML obtained with the help of the OnProcess callback function can be also parsed using the common functions used to parse strings in your programming language.

C# example for the OnProcess callback:

 

string result = CADEditorX.ProcessXML("");

 

XML Parser

There are many XML parsers that are suggested for all popular development languages. Microsoft Windows has the DOM technology for handling XML, which is very powerful but not very fast. There are a lot of simple and fast XML parsers that are suggested as opensource for many programming languages.

It is recommended to use XML parser to implement complicated tasks with the help of CAD XML API.

 

How to reach functional which is implemented in CADEditorX / ABViewer via XML

These instruments work via the command line that can be used directly in the corresponding panel of the user interface.

The command instruction is used to call the functional via the CAD XML Interface.

Supported commands are described in the User Reference.

Example showing how to start drawing a line:



   
 

 

You can find examples of the most important command calls in the Commands section of the XML editor:

clip0074

 

Quick Navigation;

© Copyright 2000-2023  COGITO SOFTWARE CO.,LTD. All rights reserved