...
Added customized style.css in customization.zip that overrides the background color of some style classes.
...
UI → english → application.xml
Workspace → Classic Default.xml
Adjusted Tools menu (Default Files/UI/english/application.xml):
Code Block |
---|
<menu definition_ref="" type="1" UID="ID_MnTools" name="Tools">
<menu definition_ref="ID_DIST" UID="PMI_141" name="Get Distance"/>
<menu definition_ref="ID_AREA" UID="PMI_140" name="Get Area"/>
<menu definition_ref="ID_GETXY" UID="PMI_142" name="Get Coordinate"/>
<menu definition_ref="ID_GETPROPERTIES" name="Get Properties" UID="PMI_143"/>
</menu> |
Adjusted editor toolbar (Default Files/UI/english/application.xml):
Code Block |
---|
<toolbar on_by_default="true" UID="ID_NavBarDefault">
<toolbar definition_ref="ID_DISPLAYMENU" UID="NTB_DISPLAYMENU" name="Menu"/>
<toolbar definition_ref="ID_Inquiry" UID="NBT_TbInquiry" name="Inquiry">
<toolbar definition_ref="ID_DIST" UID="TTB_106" name="Distance"/>
<toolbar definition_ref="ID_AREA" UID="TTB_107" name="Area"/>
<toolbar definition_ref="ID_GETXY" UID="TTB_109" name="Coordinates"/>
</toolbar>
</toolbar> |
Customized editing workspace to hide all UI elements expect except status bar and show editing toolbar with tools menu (Default Files/Workspace/Classic Default.xml):
...
“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:
...
Added custom CommonUIDialog command definition to definitions section (Default Files/UI/english/application.xml):
...
:
...
5. Open file for editing from S3 bucket with tile configurator feature
...
“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:
...