Core properties

Runtime/behavioral changes for core properties can be found in the Core properties migration guide.

Removal of vcredits-extensions

The vcredist-extensions will no longer be maintained. Instead any required vcredist-dll:s can be shipped alongside the binaries that require them. However, the dll:s required by the currently published extensions in 11.5 will from 12.0 be shipped as a part of runtime.

Snapper invalidations

A change has been made to SnapperInvalidations to allow new invalidations to be issued during validation. This has the effect that the invalidationInfos map is cleared when the validate method is called in order for it to receive any new invalidations.

Updated Default Columns

A small change has been made to default columns.

The Part Number and Quantity columns are now considered mandatory columns and will no longer be voted out of being a default part column. They can still be removed in the calcuation view settings. There should be no effect to saved drawings/article views.

We have adjusted default columns voting for FIKA so CET with FIKA turned on will show:

  • Part Number
  • Options
  • Description
  • Complete
  • Ind. Tag
  • Manual sort
  • List
  • Ext List
  • Quantity

Updated Docotic PDF library to 7.5

In CET Designer 12.0, we have upgraded Docotic from 5.6 to 7.5. The following areas in CET Designer uses Docotic and may have minor differences when importing PDFs:

  • ImageSnapper (regular pdf import)
  • PDF diff test
  • PdfSnapper (vector import).

If your extension interfaces directly with the Docotic dll, we advise you to try testing out your code to see if everything still works. As Docotic has removed a few interfaces over the years you may get errors like this in the console:

Call returned error code 1: Method 'BitMiracle.Docotic.Pdf.PdfRgbColor.ToColor' not found.

To fix errors like this, you can read up the following materials from Docotic's website to find a replacement method.

cet.service deprecated

From CET 12.0 all public functions in package cet.service will be deprecated, and the service will no longer be used.

Also, instead of calling the service, the functions in cet.service will now attempt regular copy/move/delete-operations. If that fails the user will be prompted for elevation for the command in a dialog, that also shows which extension is asking for the elevated action.

Our team has searched through customization code to determine the impact of this change. The conclusion is that there are only a very few cases that the un-elevated copy/move/delete-operation fails and results in the user getting prompted for elevation. The respective development teams have been contacted by us about these changes.

It is advised that you remove all uses of cet.service and replace the service file operations with regular file operations.

When it comes to elevated sync/async commands for installing third party dependencies etc. it is recommended to evaluate in first hand if there are other options for distributing the required dependencies (for example shipping the third party dll:s alongside your own binaries).

If there is no other option, an elevated command for running the third party installer can still be requested from CET by using one of the following functions in the package cm.os:

syncCmdRequestElevated(str command)
asyncCmdRequestElevated(str command)

This will cause CET to show a dialog asking the user for access rights to perform the command. The dialog shows which command the request is for, and also shows which extension is asking to perform it. If the user clicks OK in the dialog, a regular Windows elevation prompt for the command is shown.

NOTE: Please be aware that it is not uncommon for users to have limited access rights on their machines, meaning that they will need to ask an administrator to give them rights every time such a command is to be performed. Therefore we recommend as described above in first hand to ship third party binaries alongside your own binaries instead of using an installer for them.

cm.abstract.office

  • Removed worksurface specific animation defaults on Worksurface since they only worked with SupportedWorksurface.
  • WorksurfaceConnectArc now returns true for active().

cm.abstract.part

ProdPart now use the current currency symbol instead of always output the currency tag in sif(CU) to "USD".