Creating and Modifying BUBBLEWorx Mark Bubble Styles (Marks.dwg)

Issue:

The Styles list on the BOM, MML, and WELD palettes only offers the bubble shapes that ship with BUBBLEWorx, and none of them match your company standard. You want a different shape, a different number of text lines, or your own set of bubbles shared across the team.

Mark bubble styles are not built into the plugin. They are ordinary AutoCAD blocks stored in a support drawing called Marks.dwg, so you can edit the ones we ship and add your own.

Looking to customise the bubbles on the TAG palette instead? Those come from a different drawing — see the companion article, Creating and Modifying BUBBLEWorx Tag Bubble Styles.


Causes:

  • The Styles list is rebuilt every time the palette loads by reading the block definitions out of Marks.dwg. Nothing is hard-coded in BUBBLEWorx.
  • Only blocks whose names follow a specific convention appear in the list. A block named any other way is skipped silently, which is why a newly drawn bubble often does not show up.
  • BUBBLEWorx will not function without a valid style drawing to select blocks from.


Solution:

Marks.dwg supplies the bubble styles for three palettes:

PaletteStyle drawing
BOMMarks.dwg
MMLMarks.dwg
WELDMarks.dwg

The file is installed to:

C:\ProgramData\ECE Design\BUBBLEWorx\Support\Marks.dwg

A metric version, MarksMetric.dwg, is installed alongside it. It is not selected automatically — point the setting at it if you want to use it.

The drawing also contains a NOTES block in model space listing these rules, and a row of sample bubbles with their block names captioned underneath. That is the quickest reference while you work.

Before you start

Work on a copy. Editing the installed file directly means a Worx Plugins reinstall or upgrade can overwrite your work.

  1. Copy Marks.dwg to a folder of your own. A network folder is a good choice, so everyone on the team draws from the same set of bubbles.
  2. In CAD, open Worx Settings and go to the BUBBLEWorx section.
  3. Under Style Drawings, set the Mark Drawing Location to your copy.

Step 1 — Name the block correctly

This is what decides whether your bubble appears in the Styles list at all.

A mark style block name is made of four parts separated by a lowercase xx:

MARKxx<LINES>xx<POSITION>xx<NAME>
PartMeaning
MARKThe family. Always MARK in this drawing
LINESTwo digits — how many lines of text the bubble holds, e.g. 01
POSITIONTwo digits — where the bubble sorts in the Styles list, e.g. 0108
NAMEA short shape name shown in the list, e.g. Bubble, Square, Hexagon

These are the eight blocks that ship in Marks.dwg:

Block nameShape
MARKxx01xx01xxBubbleCircle
MARKxx01xx02xxSquareSquare
MARKxx01xx03xxTriangleTriangle
MARKxx01xx04xxHexagonHexagon, flat top
MARKxx01xx05xxHexagonUpHexagon, point up
MARKxx01xx06xxRectangleRectangle
MARKxx01xx07xxOvalOval
MARKxx01xx08xxOvalOval, wider

Rules to follow exactly:

  • The separator is lowercase xx. XX will not work.
  • There must be exactly four parts. Three or five parts will not appear in the list.
  • Do not use xx anywhere else in the name — it will be read as another separator.
  • The block name must be unique across all blocks in the drawing.
  • POSITION controls the sort order of the list. Give each block its own number, and pick an unused one for anything you add so it lands where you want it.

The palette shows each entry as POSITION : LINES : NAME, under a header row reading ITEM : LINES : DESCRIPTION. So MARKxx01xx04xxHexagon is listed as 04 : 01 : Hexagon.

Step 2 — Draw the bubble geometry

Draw the outline centred on the block origin (0,0). The leader attaches to the block's base point, so the geometry's position relative to the origin decides where the leader lands.

The safest approach is to copy a shipped block and modify it rather than build one from scratch:

  1. Open Marks.dwg.
  2. Pick the sample bubble closest to what you want.
  3. Copy it, rename the copy following Step 1, then edit the geometry.

All shipped geometry sits on layer 0 so it inherits the layer and colour you set on the palette. Keep new geometry on layer 0 too.

Step 3 — Add the attribute

The mark number inside the bubble comes from a single block attribute:

FieldValue
Tag#
Prompt#
Default#

Requirements for the attribute:

  • It must be a Multiple line attribute. A Single line attribute causes bubble insertion to fail with an "Attribute must be a Multiple Line Attribute" message.
  • Justify it Middle Center, so the number stays centred in the shape as it grows.
  • Turn on Lock position in block.
  • The shipped bubbles use the Verdana text style at height 0.125. Match that for a consistent look.

Step 4 — Create the preview image

The palette shows a thumbnail of each bubble taken from the block's stored preview icon. A block with no preview icon shows a placeholder image and a message asking you to run BLOCKICON.

With Marks.dwg open, run:

BLOCKICON

Press Enter to accept all blocks. This generates preview icons for every block in the drawing.

Step 5 — Save and refresh

  1. Save and close Marks.dwg. BUBBLEWorx reads the file directly and cannot read it reliably while it is open for editing.
  2. Back in your working drawing, click Refresh above the Styles list on the BOM, MML, or WELD palette.
  3. Your new bubble should now appear in the list.


Notes:

  • Your change will not show up in a drawing you have already bubbled. Once a bubble block of a given name exists in a drawing, that drawing keeps its own copy and Marks.dwg is not read again. To see a changed block, test in a new drawing, redefine the block in the existing drawing, or give the modified bubble a new name.
  • Keep Marks.dwg closed while working in CAD. If it is open for editing, the Styles list can come back empty with an "MLEADER Block Styles are Unavailable" message.
  • Do not delete the Standard multileader style from Marks.dwg. Every bubble style is cloned from it, and bubble creation fails without it.
  • Do not rename or move Marks.dwg without updating the setting. BUBBLEWorx will not function without a valid drawing to select blocks from.
  • Bubble size comes from the Scale settings, not from the block. Draw the block at a sensible unit size and use the Scale settings on each palette to size it on the sheet.
  • Share the drawing on the network if more than one designer needs the same bubbles. Everyone simply points the Mark Drawing Location setting at the same file.
  • Back up your copy before a Worx Plugins upgrade if you kept it in the ProgramData folder.


Versions: 

Applies to BUBBLEWorx for AutoCAD, AutoCAD Plant 3D, CADWorx Plant, and BricsCAD.