How to transform the CADEditorX activeX to viewver ?

Discuss and ask questions about CADEditorX and XML API.

Moderators: admin, support, SDS

How to transform the CADEditorX activeX to viewver ?

Postby xavier » 15 Sep 2016, 13:53

Hello

I would like to transform CADEditorX to viewver.

The goal is that:
- The user has to use my interface (my buttons, my menus).
- The user can not change directly the dxf by the mouse and keyboard

How to do ?

best regards

xavier
xavier
 
Posts: 27
Joined: 04 Dec 2012, 11:58

Re: How to transform the CADEditorX activeX to viewver ?

Postby support » 15 Sep 2016, 17:54

Hello Xavier,

To transform CADEditorX into a viewer with custom buttons/menus, please do the following:

1) Hide the standard UI elements (toolbars, panels. etc.) using a HideAllInterface command:

Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<cadsofttools version="2">
  <command text="HideAllInterface"/>
</cadsofttools>

2) Switch to the Viewer mode to prevent the drawings from being modified by user:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2">
  <command text="Viewer"/>
</cadsofttools>


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
support
 
Posts: 2754
Joined: 30 Mar 2005, 08:36


Return to CADEditorX

Who is online

Users browsing this forum: No registered users and 3 guests