How to transform the CADEditorX activeX to viewver ?

Discuss and ask questions about CADEditorX and XML API.

Moderators: SDS, support, admin

Post Reply
xavier
Posts: 27
Joined: 04 Dec 2012, 14:58

How to transform the CADEditorX activeX to viewver ?

Post by xavier » 15 Sep 2016, 15: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

support
Posts: 3253
Joined: 30 Mar 2005, 11:36
Contact:

Re: How to transform the CADEditorX activeX to viewver ?

Post by support » 15 Sep 2016, 19: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

Post Reply