...
“Default Files” in customization.zip package contains:
Support →
|
UI → english → application.xml
tx modules are built fromKudo Server Sample. Each sample module have different functions which will help to understand the custom module workflow
Module | Feature Description |
---|---|
InsertImageCommand | Insert an image into a drawing. |
DrawingSummary | To parse drawing content and create a summary of e.g. all layers in a drawing and their basic properties. Write it to a csv file. |
CommonUIDialog | The sample lists all block references of the current layout that have attributes in a dropdown. Select a reference from the dropdown to show the attributes of a reference. Press “Zoom to block” to zoom to the reference currently selected. |
Added the module to startup.rx to have it loaded when drawing is opened:
...
“Default Files” in customization.zip package contains:
Support →
|
UI → english → application.xml
...
Code Block |
---|
<toolbar on_by_default="true" UID="ID_NavBarDefault"> <toolbar definition_ref="ID_FLOOR_PLAN" UID="NTB_FLOOR_PLAN" name="Floor Plan Dialog"/> <toolbar definition_ref="ID_PATTERN_UI" UID="NTB_PATTERN_UI" name="Pattern UI Dialog"/> <toolbar definition_ref="ID_VANITIES" UID="NTB_VANITIES" name="Vanities Dialog"/> <toolbar definition_ref="ID_TILE_CALCULATOR" UID="NTB_TILE_CALCULATOR" name="Tile Calculator Dialog"/> </toolbar> |
TileConfigurator module commands | Description |
---|---|
VANITIESUI | This command inserts a vanity over pattern. |
PATTERNUI | This command draws tiles pattern. |
FLOORLAYOUTWIDGET | This command draws a rectangle or a polygon for floor. |
TILECALCULATE | This command calculates tiles for floor. |
Added the module to startup.rx to have it loaded when drawing is opened:
Code Block |
---|
TileConfigurator.tx |
6. Block Collection feature with API call feature
BlockCollection will display the dwg’s in preview widget which can be attached to current drawing. It can be attached by simply Drag&Drop on insert button.
Drawings are categorized in various folders, upon changing the category, all the .dwg’s in that folder will be loaded. Files will be available on cloud storage, its URL can be changed in Kudo server.
There is additional file bundle.min.js in BlockCollection project folder. Its a JavaScript file containing functionalities for block operations, it will be loaded at web browser.
It needs to put in Kudo server path for example:
C:\Program Files\Graebert GmbH\ARES Kudo Server\Kudo\Resources\docroot\www-editor\<id>\js
Similarly in case of Linux path will be something like :
/opt/graebert-gmbh/Xenon-Editor/Resources/docroot/35497.f1c3d48.7265ad4.79a0955.bba2a0d.21e35bf/js
Added BlockCollection.tx module loaded on startup.
“Default Files” in customization.zip package contains:
Support →
|
Block collections command | Description |
---|---|
BLOCKCOLLECTION | This command will display various drawings in storage, which can be attached as block in current drawing Command name : "_BLOCKCOLLECTION" |