Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 status bar and show editing toolbar with tools menu (Default Files/Workspace/Classic Default.xml):

...

Module

Feature Description

InsertImageCommand

Insert an image into a drawing.
Command name: “ _INSERTIMAGE”

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.
Command name : "_DRAWINGSUMMARY"

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.
Command name : "_COMMONUIDIALOG"

...

Code Block
<definitions>
	...
	<definition smallIconName="https://andrea-test-partner-customization.s3.eu-central-1.amazonaws.com/icons/next_warning.svg" description="Shows the CommonUIDialog:  COMMONUIDIALOG" iconName="" command="^C^C_COMMONUIDIALOG" iconRecource="" id="ID_COMMONUIDIALOG" name="CommonUIDialog"/>
</definitions>

5. Open file for editing from S3 bucket with tile configurator feature

https://app.kudo.graebert.com/editor?apitoken=d72201b3-bed6-4bb1-8fc0-0e08bb966665

Added TileConfigurator.tx module loaded on startup.

“Default Files” in customization.zip package contains:

Support →

  • TileConfigurator.tx

  • startup.rx

UI → english → application.xml

Adjusted Tools menu (Default Files/UI/english/application.xml):

Code Block
<menu definition_ref="" type="2" UID="PM_0006" name="Default Menu">
	 <menu definition_ref="ID_FLOOR_PLAN" UID="PMI_387" name="Floor Plan Dialog"/>
     <menu definition_ref="ID_PATTERN_UI" UID="PMI_388" name="Pattern UI Dialog"/>
	 <menu definition_ref="ID_VANITIES" UID="PMI_389" name="Vanities Dialog"/>
     <menu definition_ref="ID_TILE_CALCULATOR" UID="PMI_390" name="Tile Calculator Dialog"/>
</menu>

Adjusted editor toolbar (Default Files/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.
Command name: “ _VANITIESUI”

PATTERNUI

This command draws tiles pattern.
Command name : "_PATTERNUI"

FLOORLAYOUTWIDGET

This command draws rectangle or polygon for floor
Command name : "_FLOORLAYOUTWIDGET"

TILECALCULATE

This command help to calculate tiles for floor
Command name : "_TILECALCULATE"

Added the module to startup.rx to have it loaded when drawing is opened:

Code Block
TileConfigurator.tx