Versions Compared

Key

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

...

Code Block
...
(load "setvars.lsp")
(initEnv)

2. Open file for editing from S3 bucket with customized style

https://app.kudo.graebert.com/editor?file=demodemo2.dwg&auth=demo2&userId=demouser

Added customized style.css in customization.zip that overrides background color of some style classes.

...

3. Open file for editing from S3 bucket with customized UI

https://app.kudo.graebert.com/editor?file=demodemo3.dwg&auth=demo3&userId=demouser

“Default Files” in customization.zip package contains:

...

4. Open file for editing from S3 bucket with custom feature

...

https://app.kudo.graebert.com/editor?file=demo4.dwg&auth=demo4&userId=demouser

Added custom tx module loaded on startup.

“Default Files” in customization.zip package contains:

Support → CommonUIDialog.tx
Support ->startup.rx

UI → english → application.xml

tx module is build from CommonUIDialog Kudo Server Sample (TODO: not in yet, available in 1.115). 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:

Code Block
CommonUIDialog.tx

Adjusted editor toolbar by adding new button with the custom CommonUIDialog command at the end (Default Files/UI/english/application.xml):

Code Block
<toolbar on_by_default="true" UID="ID_NavBarDefault">
	...
	<toolbar definition_ref="ID_COMMONUIDIALOG" UID="NTB_COMMONUIDIALOG" name="CommonUIDialog"/>
    <toolbar definition_ref="" name=""/>
</toolbar>

Added custom CommonUIDialog command definition to definitions section (Default Files/UI/english/application.xml):

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>