010-68421378
sales@cogitosoft.com
Your location:Home>News Center >Industry News

CADEditorX:VectorGraphics Processing Control | Viewing,Editing, Converting, Printing and Measuring DWG, DXF, SVG… andother CAD files

latest update:2018/06/26 Views:1053
CADEditorX:VectorGraphics Processing Control | Viewing,Editing, Converting, Printing and Measuring DWG, DXF, SVG andoth...

CADEditorXVectorGraphics Processing Control | Viewing,Editing, Converting, Printing and Measuring DWG, DXF, SVG… andother CAD files

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

CADEditorXscope 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

  •  
  •  
  •  
  •  
  •  
  •  

MainFeatures

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

  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

DemoExamples

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

 

 

C# Demo

VBA Demo

Delphi Demo

Tolearn instructions, commands and system variables it is especiallyconvenient to use the XMLIDE application.In this application you will find a lot of XML instruction examplesand what is more you can immediately see the result of theirexecution.

 

The Howto sectionof the CADEditorX help system contains ready solutions with the codeexamples showing how to handle the most important operations.

Themost important functions that can be implemented with the help of CADXML API are described in this section.

?Howto Create and Process XML

Thereare two ways allowing creating and processing XML format.

XMLas simple string

XMLcan be created as a simple string with the help of any programminglanguage This is the most simple way that can be recommended forinitial investigation and for many projects where there is no need tohandle complicated XML files.

Asimple way to work with CAD XML API:

1.Look at the example XML files and Howto helpsection.

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

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

Werecommend to use the Format() function(which is present in all popular programming languages) to insertdata to XML strings.

C# example for calling line:

 

        string command =

            @"

             

               

              ";

  string result = CADEditorX.ProcessXML(command);

XMLobtained with the help of the OnProcess callbackfunction can be also parsed using the common functions used to parsestrings in your programming language.

C# example for the OnProcess callback:

 

string result = CADEditorX.ProcessXML("");

 

XMLParser

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

Itis recommended to use XML parser to implement complicated tasks withthe help of CAD XML API.

 

Howto reach functional which is implemented in CADEditorX / ABViewer viaXML

Theseinstruments work via the command line that can be used directly inthe corresponding panel of the user interface.

The command instructionis used to call the functional via the CADXML Interface.

Supportedcommands are described in the User Reference.

Exampleshowing how to start drawing a line:



   
 

 

Youcan find examples of the most important command calls inthe Commands sectionof the XML editor:

 

Next:Direct Oracle Access:Direct Oracle Access:Help You to Make a Seamless Integration Between the Development Tool and Database System
Prev:TeamViewer:RemoteControl Application | Remote Connection, Remote Assistance, RemoteUpdate

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