Change log


spatix v025.003 (2025-03-18, techsupport till 2026-05-31)


  • New feature: Implement support for RGB+T colors where T stands for Transparency for vector and raster geometries — new SpatixColor paradigm
  • New Color Picker GUI which allows either to pick up the indexed color or to pick up truly RGB color + alpha channel (by now, alpha channel has a reverse meaning to transparency)
  • Support for RGB colors and transparency in spx2dwg and spx2dgn tools
  • Manageability of WMS layers, Raster-refs and Embedded rasters transparency
  • Transparency processing for the warped WMS raster tiles
  • Element Information tool to show RGB-T/Indexed color values
  • New option for "File › Save As" file type to be saved in the old Spatix 2024 file format — this is to save SPX file in backwards-compatible format (relevant only to the one certain case: when RGB-T -filled Ellipses exits in modern SPX-file, which would cause old Spatix versions to crash)
  • New feature: Brightness, Saturation and Contrast properties are now supported for Raster references, WMS Layers or Embedded raster elements
  • Contrast: controls the distinction of grades of luminance in the image: -100% — everything is faded to average luminance which is gray (50% of each R G B channel, does not depend on image itself); 0% — original pixels remain intact; +200% — all colors in the image are made "distinct" to the most
  • Saturation: controls "colorimetry" of the image: -100% — all pixels fade to the black-and-white (preserving the average energy); 0% — original pixel values remain intact; +200% — each of R G B channels shall stand the most in terms of colors vividness
  • Brightness: controls the "energy" or absolute luminance of the image: 0% — all pixels fade to black (0 energy); 100% — original image luminance remains, pixels are not altered; 200% — all colors burn out to the max value in each R G B component (max energy)
  • New feature: Improvements into the Element Information dialog
  • Show color attribute values as "By Layer" in case appropriate flag is set for the element
  • Show actual color as fancy icons for the color- relevant attributes
  • Click on some vertex coordinates attribute of the element shall highlight the point location in the views
  • New attribute that shows the CadFile name being the origin of selected element
  • New feature: Add often used "Window › Save Views To CAD" button into the file-open toolbar
  • New feature: Additional per-view attributes are saved/restored in SPX file: Layer symbology overrides, Z-buffer enabled state, Show fill state, Show grid state
  • New feature: New "Display" field in the Raster-refs Manager and WMS Layers Manager for easier control of the visibility of rasters and tiles
  • New feature: Get Element Attributes tool sets active attributes with respect to byLayer symbology flags
  • New feature: Raster-refs manager — added Detach Raster Reference tool button
  • New feature: Select embedded rasters by element type in Choose Elements tool
  • New feature: New spaccels to manipulate RGB colors, transparency and new raster properties:
  • corgb=#RRGGBB — set active color to RGB value given by hexadecimal representation of R,G,B components
  • corgb=0..255:0..255:0..255 — set active color to RGB value given by decimal representation of R,G,B components
  • fillcorgb=#RRGGBB — set active fill color to RGB value given by hexadecimal representation of R,G,B components
  • fillcorgb=0..255:0..255:0..255 — set active fill color to RGB value given by decimal representation of R,G,B components
  • Note, that usual co=#RRGGBB and fillco=#RRGGBB spaccels for backwards-compatibility would set up the Indexed active color as before. Index shall be resolved from RGB value through the current master file's Color Table best-match scan
  • cotr=0%..100%|opaque (% char should be included) — set active color transparency to the given percent: 0% — means fully opaque, 100% — means fully transparent, opaque option is the same to 0%
  • fillcotr=0%..100%|opaque (% char should be included) — set active fill color transparency to the given percent: 0% — means fully opaque, 100% — means fully transparent, opaque option is the same to 0%
  • rasterref color transparency 0%..100%|opaque — set transparency to the currently selected Raster references or Embedded raster elements
  • rasterref color contrast -100%..200% — set contrast level to the currently selected Raster references or Embedded raster elements
  • rasterref color saturation -100%..200% — set saturation level to the currently selected Raster references or Embedded raster elements
  • rasterref color brightness -100%..100% — set brightness level to the currently selected Raster references or Embedded raster elements
  • rasterref color trconsatbr [0%..100%|opaque]:[-100%..200%]:[-100%..200%]:[-100%..100%] — set all or subset of raster parameters in one go
  • rasterref color reset — reset raster parameters to default values (original colors)
  • rasterref display on|off|toggle — alter visibility of the currently selected Raster references or Embedded raster elements
  • elem choose latest — selects the single last element (taken from the master file only) which last modification timestamp is the biggest. If several elements have the same latest timestamp — the one with the biggest filepos would be selected
  • Refactor: Improve/fix spaccel file execute <filePath> spaccel
  • remove repeatCount parameter — it was never used
  • allow for filePath parameter to come in quotes (both " and ` quotes are supported)
  • change the order of filePath search: first search for the given value; then search nearby/relevant to currently opened masterfile; then search nearby/relevant to Spatix installation folder (that latest option was a default one before)
  • Refactor: Spaccels Window
  • Allow for deeper history of last used commands (extended from 3 to 50)
  • Last used command is displayed at the top of history list
  • Paste from clipboard into the Spaccels Window allowed to \r \n \t characters to seep, which broke the spaccels parsing logic
  • The limit for the vertical window size has been removed
  • Added splitter between window panes
  • Refactor: Reorganize toolbar buttons for Raster-refs Manager, WMS Manager, Vector-refs Manager to be more in-line to the common life-cycle paradigm: create, place, update, configure, detach
  • Fix: Rasterref color/display -related spaccels shall not clear the active selection set at the Accept stage
  • Fix: Fixed "File › Save As" operation denial to certain folders
  • Fix: Fixed Get Element Attributes tool's interpretation of indexed colors requested from vector references. Color is translated from ref's palette to master file's palette
  • Fix: Setting up the byLayer flag for the color and solid fill modes into elements
  • Fix: Correct tooltips in PhotoTools dialog boxes
  • Fix: "Opened Views" window was not properly updated upon new view windows were opened
  • Fix: Fixed saving of some pubidents in user settings
  • Fix: Implemented update of layer symbology in response to ColorTable modification
  • Fix: DXF export fixes
  • Verification and replacement of forbidden characters in layer names
  • Support for byLayer values of color/lineweight/linestyle element attributes
  • Fix: spx2dgn tool — fixed selection of file
  • Fix: Save/recall the last used file path in the Place Raster dialog (the latest used path is preserved in the context of the current Spatix session)
  • Fix: Element Selection tool to select rasters by selection block only if the entire raster MBR appears to be inside the selection rectangle
  • Fix: Second run of Element Selection tool caused improper highlighting of selected elements
  • Fix: NPE in WMS layers processing
  • Fix: NPE while opening old DGNv7 files

API changes

  • New feature: SpatixColor concept new API (stands for RGB colors which support transparency and raster's brightness/saturation/contrast parameters — see include\colors.h)
  • Use SpxClrXXX() new functions to manage SpatixColor values (those fit in 64-bit unsigned integer)
  • Use SPX_CLR_XXX macroses to get/set/check properties and internal members of SpatixColor values
  • RGBColorSpatixColor structure
  • DocGetActiveSymbology()DocGetActiveSpatixSymbology()
  • DocSetActiveSymbology()DocSetActiveSpatixSymbology()
  • ElmGetActualSymbology()ElmGetActualSpatixSymbology()
  • ElmGetFinalSymbology()ElmGetFinalSpatixSymbology()
  • ElmSetSymbologyEx()ElmSetSpatixSymbologyEx()
  • ElmSetFill()ElmSetSpatixFill()
  • ElmIsFilled()ElmIsSpatixFilled()
  • new SPXCLR_TYPE_ALPHAONLY and SPXCLR_TYPE_BRICONSATALPHA color types for SpatixColor concept
  • increase MATID_MIN from 4 to 32 for the purpose of new SpatixColor concept
  • New feature: Increased Spatix file format version to mark SPX files that support for RGB-T colors, transparency and raster new parameters (file format version is not checked by Spatix on file open, — this is just for information)
  • Refactor: Change bits count and value ranges for HSVColor structure
  • Refactor: SpatixModifyCommand::getActiveElds() shall apply filtering over currently selected elements according the set of element types that were set up by the CadModifyCommand for the element location stage (this now is interpreted as the set of element types that CadModifyCommand expects on input from selection set as well, not only from location process)
  • Fix: Fixed memory reallocation in StrList API