MechWorks PDM R15bologna.mechworks.com/R15_last_relnotes.pdf · if the browser was not open o...

42
MechWorks PDM R15 Release Notes More recent information is written at the top of each section Service Pack: 2.18 Build: 20170418 Bugs fixing o 20170418 - Multiple Selection Operations from the Document Page's Project Tree: due to a regression introduced with the fix "20150518 - OnSubmitToWorkflow.LST: in case of multiple selection, it is now possible to manage WorkingSet creation properly", when a Working Set was created because of a multiple selection, the Query Page was restored to the last previously executed query o 20170418 - Briefcase: special characters like Ø were not managed by the Briefcase exchange ( Notes: a special BIN\DBWZIP7.EXE is now needed for fixing such issue - if the .EXE is not present in the BIN subfolder, no fix can be applied ) o 20170410 - SPT Files: a DOCUMENT.xxx.SPT file was considered also in the REVISIONS form when a REVISIONS.xxx.SPT specific file was not existing o 20170406 - Variant Notes: due to a regression introduced with the fix "20160801 - Recursive Checkin: on specific DBWAclServer-enabled environments, when checking-in recursively from an opened assembly, the assembly itself and all the checked-in component files were left locked by the CAD system.", the variant notes were not updated when approving a drawing from the Revision Form o 20170330 - Remote Access: Download: local files, not locked but opened in read-only mode in some client workstations, were unable to be overwritten by the download operation o 20170215 - DBWAclServer: any activity on a remote file was not completed when the file was readonly and opened by another user o 20170214 - Remote Access: GDE: Put into Briefcase: when the 'Transfer Ownership' was activated, the Briefcase MDB Database was filled with redundant REPLICATION_PARTNERS field values o 20170209 - Remote Access: GDE: Put into Briefcase: when the 'Transfer Ownership' was activated, the REPLICATION_PARTNERS field of the Sender Company was not updated with the Sender Company value, so causing the just sent Documents to disappear from the Sender Company database o 20170209 - DBInventor: when using the DBInventor 'save' functionalities, no warning was displayed if the current Positional Representation of the Assembly to be saved was different from 'Master' o 20170109 - Excel BOM: Hidden components were not included in the BOM o 20161207 - Admin Tools: several Admin Tools, including the ones that set the fields visible in the forms, were not compatible with the encryption of the file that contains the connection parameters Service Pack: 2.17 Build: 20161125 Bugs fixing o 20161125 - Standalone Client 32bit: the treeview was trying to generate a preview of edrw files causing blinking (eDrawings is no longer released for 32bit platforms) o 20161123 - Multiple Edit of Document Records: if one of the Documents was opened in the CAD system, pressing the MATERIAL.SPT button it was causing the Mass Properties of the opened Document to be applied to all the Documents being edited o 20161122 - Admin Tools: Fields in the Revisions Form: after editing the parameter file that controls the fields displayed, each field would contain an invalid indication on the decimal numbers that would force a wrong display of field values o 20161121 - Scripting: Activity Console: the DBWShell("UpdateDatabaseActiveDoc") command was deleting the ActivityConsole content o 20161115 - Revision Outputs: with distinct output files for each revision, when opening the Revision Output file from the Previous Revisions grid, it was always opened the first Revision Output file, and not the one specific for the selected revision o 20161110 - DBWorks SaveAs: when working with a script for the new revision ( OnNewRev.LST ) and when using the Open/Save->SaveAs options [X] Automatic check-in after a DBWorks 'Save as...' and [X] Automatic check-out after check-in enabled, it was not properly managed the possibility to leave the file in new state (like cancel from revision state dialog)

Transcript of MechWorks PDM R15bologna.mechworks.com/R15_last_relnotes.pdf · if the browser was not open o...

MechWorks PDM R15Release Notes

More recent information is written at the top of each section

Service Pack: 2.18 Build: 20170418

Bugs fixingo 20170418 - Multiple Selection Operations from the Document Page's Project Tree: due to a regression introduced with the

fix "20150518 - OnSubmitToWorkflow.LST: in case of multiple selection, it is now possible to manage WorkingSet creation properly", when a Working Set was created because of a multiple selection, the Query Page was restored to the last previously executed query

o 20170418 - Briefcase: special characters like Ø were not managed by the Briefcase exchange ( Notes: a special BIN\DBWZIP7.EXE is now needed for fixing such issue - if the .EXE is not present in the BIN subfolder, no fix can be applied )

o 20170410 - SPT Files: a DOCUMENT.xxx.SPT file was considered also in the REVISIONS form when a REVISIONS.xxx.SPT specific file was not existing

o 20170406 - Variant Notes: due to a regression introduced with the fix "20160801 - Recursive Checkin: on specific DBWAclServer-enabled environments, when checking-in recursively from an opened assembly, the assembly itself and all the checked-in component files were left locked by the CAD system.", the variant notes were not updated when approving a drawing from the Revision Form

o 20170330 - Remote Access: Download: local files, not locked but opened in read-only mode in some client workstations, were unable to be overwritten by the download operation

o 20170215 - DBWAclServer: any activity on a remote file was not completed when the file was readonly and opened by another user

o 20170214 - Remote Access: GDE: Put into Briefcase: when the 'Transfer Ownership' was activated, the Briefcase MDB Database was filled with redundant REPLICATION_PARTNERS field values

o 20170209 - Remote Access: GDE: Put into Briefcase: when the 'Transfer Ownership' was activated, the REPLICATION_PARTNERS field of the Sender Company was not updated with the Sender Company value, so causing the just sent Documents to disappear from the Sender Company database

o 20170209 - DBInventor: when using the DBInventor 'save' functionalities, no warning was displayed if the current Positional Representation of the Assembly to be saved was different from 'Master'

o 20170109 - Excel BOM: Hidden components were not included in the BOMo 20161207 - Admin Tools: several Admin Tools, including the ones that set the fields visible in the forms, were not

compatible with the encryption of the file that contains the connection parameters

Service Pack: 2.17 Build: 20161125

Bugs fixingo 20161125 - Standalone Client 32bit: the treeview was trying to generate a preview of edrw files causing blinking

(eDrawings is no longer released for 32bit platforms)o 20161123 - Multiple Edit of Document Records: if one of the Documents was opened in the CAD system, pressing the

MATERIAL.SPT button it was causing the Mass Properties of the opened Document to be applied to all the Documents being edited

o 20161122 - Admin Tools: Fields in the Revisions Form: after editing the parameter file that controls the fields displayed, each field would contain an invalid indication on the decimal numbers that would force a wrong display of field values

o 20161121 - Scripting: Activity Console: the DBWShell("UpdateDatabaseActiveDoc") command was deleting the ActivityConsole content

o 20161115 - Revision Outputs: with distinct output files for each revision, when opening the Revision Output file from the Previous Revisions grid, it was always opened the first Revision Output file, and not the one specific for the selected revision

o 20161110 - DBWorks SaveAs: when working with a script for the new revision ( OnNewRev.LST ) and when using the Open/Save->SaveAs options [X] Automatic check-in after a DBWorks 'Save as...' and [X] Automatic check-out after check-in enabled, it was not properly managed the possibility to leave the file in new state (like cancel from revision state dialog)

o 20161108 - Registration Wizard: when checking for duplicates an error would arise and the results would not be displayed if the browser was not open

o 20161107 - SolidWorks Drawing BOM: due to a regression introduced with build 20160331, the BOMInsert API call was not working

o 20161107 - Option Revisions->Approval->[X] Undo the checkout when no changes in the document on a recursive approve: Drawings of sub-components opened and modified in memory, but with no changes to their related models, were not considered by the procedure, so causing them to be restored to their last approved status, loosing all the changes applied in memory and not saved

o 20161104 - DBInventor: the save-as of a Document that needed a migration from an older Inventor file format, was not correctly applying the autocheckin/checkout options

o 20161104 - DBInventor: with old drawing files, an exception was fired at the end of a document save-as process, causing a crash in Inventor

o 20161103 - Link Mode: sub-option [X] Reopen after a 'Save As': the option was not working at all

Service Pack: 2.16 Build: 20161028

Behavior Changeo 20161025 - IGNORE_SYSTEM_ERROR: this directive can now be declared also in the shared DBWCONN.PAR file -

see the Help file for the meaning of such directiveo 20161020 - Get from Briefcase: when running under DBWArm, non-Administrator Users are no longer allowed to

confirm the overwriting of Local Files that are newer than the same files existing in the Briefcase to be imported

Bugs fixingo 20161027 - Drawing BOM: fixed a problem of empty BOM table generated in Insert BOM command execution after the

selection of a drawing view referencing configured document to be managed as standard/defaulto 20161027 - Assembly Duplication Wizard: when selecting the destination project in the tree view the project structure was

limited to the second levelo 20161026 - DBInventor/DBSolidEdge: Plot Setup options: some options like the "[X] Open in 'view-only' mode when

plotting" or "[X] Update variant notes before plotting" were grayed, even if they were actually affecting the plot process, so causing, for example, that Drawings were not updated with the Model geometry when opened for plotting

o 20161024 - Options->Revisions->Approval->[X] Accept parent approval if children are Unmanaged: due to a regression introduced with build R15 sp2.5, the assignment DBW_NO_LIFE_CYCLE='1' was ignored by the option

o 20161021 - DBWArm: it was possible to increment the revision state and checkout a released Document by executing the "RMB->DBWorks: Checkout" operation from the SolidWorks Feature Manager, even if the "new revision" and "increment revision" rights were denied in DBWArm

o 20161013 - Released Database Mode: due to a regression introduced with the fix "20150527 - Released Database Mode with tables in a separate database: if the _RELEASED datasource names were not found in the ODBC setup, the application was crashing at startup", a filedsn named "DBWorks.dsn_RELEASED" was requested to be existing, instead of the "DBWorks_RELEASED.dsn"

o 20161013 - DBSolidEdge: working with configurations, in case of assembly with multiple configurations to another assembly, it is fixed a problem of wrong member recognition during save operation

o 20161012 - Revision Outputs: Link Mode: with the option for creating a Revision Output on checkin enabled and with the Revision Output managed as a Child Document, one for each distinct Revision, and with the options for keeping synchronized the Link Mode only for Child Generic Documents with the same ID of their Parent Documents, the creation of a Revision Output file on an Increment Revision State or Checkin operation was resulting in a Generic Document in a NEW state, and its Link Mode synch status was lost even when approving it

o 20161011 - Variant Notes: Drawing Blocks: since of the fix "20150312 - Variant Notes in Template Blocks: the resolving of the block notes were always applied to all the sheet's blocks, and not to the current sheet template only", applied to R15 sp1.1, blocks not defined on template sketches were not considered for the Variant Notes resolver

o 20161010 - Delete of a Configuration: when deleting a configuration of a Model saved-as into an unmanaged directory, the corresponding configuration record was deleted in the database if the Model file name was the same as an existing and already registered Model in the regular vault archive

o 20161004 - DBInventor: when saving-as an Inventor Assembly with a Position different from "Master", no warning message was displayed by Inventor ( that can't save an Assembly in any Positional Representation different from "Master" ) and the file was not created - only the database entry was created in such conditions

Service Pack: 2.15 Build: 20160929

Bugs fixing 20160929 - Tree Page: Previous Revisions Tab: when resizing a Tree Page window splitter, it was always previewed the

currently selected document in the Previus Revisions Tab, even if the last selected document was in the Tree Controlo 20160921 - Visualize a previous Revision: when visualizing the last available revision, an error message was displayed if

the same last revision was already opened in visualizationo 20160920 - General->@NO_NEW@ prefix for assigned directories: the @NO_NEW@ directories were not working in a

hierarchical way, like the other directories assigned in the same optiono 20160920 - Drag & Drop: it was not possible to add a document to a Project if the document was not belonging to that

Project but was, at the same time, already a child of a parent document, belonging to that Projecto 20160916 - Link Mode->[X] Manage Derived Parts->[X] Avoid linking of documents like … : the option was not

effective on Part->Assembly relations ( existing when a Derived Part was created in the context of an Assembly ), so a filtering like "*.SLDASM" was not preventing Derived Part's Parent Assemblies to be considered in the same life-cycle process of a Base Part

o 20160916 - Remote Access: Partial Replication: the Partial Replication support is now enabled by MechWorks PDM only if the REPLICATION_PARTNERS.SPT script does exist in the shared LST folder - of course, all the necessary database fields ( DOCUMENT:REPLICATION_PARTNERS and DBW_COMPANY_INFO:REPLICATION_PARTNERS ) must already exist as well

o 20160912 - SolidWorks Integration: the Save Wizard was fired when saving a Drawing Block .SLDBLKo 20160912 - Dirty Revision Flag field: it was not reset when checking-in a document, so causing the 'dirty' status to be

visible in the UI if the sub-option "Tree->[X] Highlight 'dirty' revision documents in the Tree (and Grids)->[X] Even for documents in CHECKED-IN state" was checked

o 20160912 - DBWorks Standalone: the import of custom properties for SolidWorks documents was not following the same logic of the Integrated Version - now the following order is applied: 1) import of the Summary Info properties 2) import of the general Custom Properties 3) if the configurations support is activated, import of the Configuration Specific custom properties, with overwrite of any existing general Custom Property

o 20160909 – MwLicense Manager: improve reliability of client/server connection to prevent problem at DNS levelo 20160909 - Admin Tools: Project User Assignment: the tool was not compatible with ODBC Driver 11 for SQL Server

and would freeze while loadingo 20160906 - DBWorks API: Object MWScriptGUI.DBWPar: the object would fail to open a SolidWorks document using

the function OpenDoc if SolidWorks had already been created in the invoking scripto 20160905 - Edit BOM dialog: the [X] Never restore 3D CAD order for fake components dialog option was initialized

from the Global Open/Save->Save->[X] Never restore 3D CAD order for fake components even if the Global Parent Option Open/Save->Save->[ ] Always assign absolute BOM position numbers on save was unchecked

o 20160826 - Admin Tools: Fields in the tables: the support for setting the fields displayed in the parent child table was missing

o 20160823 - Excel BOM: BOMs could not be created for projects with an ID containing the characters '\', '/'o 20160823 - Excel BOM: In buy lists MAKE_BUY values would not be displayed in the cellso 20160811 - DBWAclServer: the DBWShell("FileExists") was still invoking the DBWAclServer for files belonging to the

shared MechWorks PDM folder ( addressed by the %GlobalParametersPath% )o 20160809 - DBWAclServer: Undo Checkin operation: if a document was opened as read-only ( because released ) on a

different workstation, it was possible to create a new revision, to checkout the document and to checkin the document back again in the file archive, but it was not possible to uncheckin the same file, while it was still opened as read-only on another workstation

o 20160808 - SolidWorks integration ( DBWorks ): with the calculation of the mass properties always activated at each save, the cut-list properties "Included/Excluded from BOM" of each configuration were reset to be equal to the last activated configuration at save time

o 20160808 - DBInventor: the rename of a part/assembly having associated drawings (.IDW, .DWG) was not taking care of its extension but used the Inventor default, and, when different, it caused a command failure.

o 20160801 - Recursive Checkin: on specific DBWAclServer-enabled environments, when checking-in recursively from an opened assembly, the assembly itself and all the checked-in component files were left locked by the CAD system.

Service Pack: 2.14 Build: 20160721

Bugs fixingo 20160721 - Full Preview: in some circumstances an undeleted temporary file (DBWeDrawingPreviewStatus.txt) caused

the Full Preview stop workingo 20160721 - Rename: [X] Automatically rename parent drawings with similar ID: the procedure was not working as

documented

o 20160719 - DBInventor: Data Input->Length Calculation: the returned Length of a named Sketch was 1000 times biggero 20160718 - Conversion Wizard: it would not accept a filter condition longer than 255 characterso 20160718 - Setup: Pdf core dll’s where installed only if Admin tools where installedo 20160712 - Assembly Duplication Wizard: the project selection combo box would be empty with the combination of

DBWarm active, user was DBWorks Admin, no projects assigned to the user and OK_DBWARM_NEVER_SHOW_PROJECTS_IF_NOT_ASSIGNED=1

o 20160712 - Excel BOM Editor: the window would not adapt to the screen size, the parameter files would not enlist in the header all the options available

o 20160705 - SolidWorks Integration: a fix/workaround has been applied for preventing a SolidWorks crash due to SR 1-11514279611, happening when the DBWShell ReplaceSelectedComponents was invoked from a script created in the LST\SW folder, and exposing its execution through an RMB popup menu, displayed when clicking on a face/edge/verted of the currently opened model

o 20160705 - SolidWorks Integration: when opening a Model from the SolidWorks right-side auto-recovery panel, a message was displayed by DBWorks stating that the model should have been opened from exactly that panel, and the opening process was interrupted

o 20160705 - DBWAclServer: the Windows Event Viewer was showing too many entries of Event ID = 103 ( Notes: in order to fix the issue, the BIN\DBWAclServer\x86\DBWAclServer.exe must be replaced with the updated version )

o 20160705 - DBWShell("GetSelection"): under some circumstances, when processing a Query Page's working set it was returned the last selected Document page records instead of current Query page selection

o 20160704 - SolidWorks Integration: under specific circumstances, when opening a drawing with the SolidWorks command when the model is open in session, the following error was displayed: "File Invalid or Same Name Error on component" - Notes: the issue was caused by a regression introduced by the fix "20151026 - DBWorks: Options->Environment->[X] Always Reload Out-of-date Read-only Components: read-only components were not always reloaded when opened or activated, even if a change was applied from other designers on the same components"

o 20160629 - SolidWorks Integration: with the option for saving only the 1st level parent configurations being activated, a missing component in an assembly structure it was causing the rest of the components to not be registered in the database structure

o 20160628 - Remote Access: with the Standalone Client running under the Windows Task Scheduler, the Revision Output Files and the Attachment Files were not downloaded when using the DBWShell("Download …")

Service Pack: 2.13 Build: 20160624

Bugs fixingo 20160623 - DBInventor: during the checkin from the Browser, a message "The document you are trying to modify is in a

read-only state …" was displayed o 20160623 - Debug logging: SolidEdge and Inventor would raise an exception on a Windows 10 workstation where also

SolidWorks is installedo 20160622 - Scripts: the bug fix "20160204 - Scripts: files marked only with the "I" attributes were not visibile in the RMB

popup menus" applied only to R16 has been backported to R15 sp2.13o 20160616 - Browser: Open for Updating mode: Create Working Set: due to a regression introduced with the fix

"20151013 - Browser: Open for Updating: Create Working Set: the list of fields was always the whole table and not the list defined in the SCHEMA\Tables2.DFL definition file ( Note: the existence of the UNIQUE_ID field is now checked, because it is mandatory for working in UPDATE mode - if not found, the whole list of fields will be displayed)", it was no longer possible to create Working Sets with a valid list of fields ( that is a list of fields containing the primary key UNIQUE_ID ) - now the SCHEMA\Tables2.DFL assigned Working Set list of fields is presented in the Working Set editing page

o 20160615 - Link Mode: Align DrawingPart Fields: if the option "Revisions->Max num of Revision records to write as properties" was set to a value greater than zero, the field alignment between parts and drawings was always executed, no matter if the enabling option "Environment->Link Mode->[ ] Align Drawings↔Part Fields" was checked or not

o 20160615 - Released Database Mode: with the Released Database as main database ( RELEASED_xxx tables declared in the main database ), the Utility->Reconnect functionality was not correctly restoring the status of the Released Database after a SQL Server Connectivity stop/start of the service ( or loss of connectivity / regain of connectivity ).

o 20160614 - Options: Data Input: Displayed data format: it was not possible to assign the formats dd-MMM-yy and dd-MMM-yyyy

o 20160614 - Remote Access: Take Ownership of a Drawing and Part: an error was happening when using the 'Take Ownership of the node and all its children' command and starting the operation from the Drawing

o 20160613 - Rename of a Generic Document: in specific DBWAclServer environments, an error message 'The data area passed to a system call is too small' was displayed, even if the Rename process was executed correctly

Service Pack: 2.12 Build: 20160609

Enhancements20160524 - REPLICATION_PARTNERS Environment: new DBWConn.PAR option: DBWORKS_NEVER_UPDATE_PARENT_CHILD_AND_REVISION_REPLICATION_DIRTYThe new option controls whether the PDM should update the REPLICATION_DIRTY field for both the PARENT_CHILD and REVISIONS table ( default behavior, even if the new parameter is not listed in the DBWCONN.PAR ), or not ( by setting it to 1 )The parameter may be useful ( by setting it to 1 ) for specific partial SQL Server replication environments, where SQL Server partitions are involved with the replication.

Example:;;; DBWCONN.PAR - MechWorksPDM (C)MechWorks connection data file;;…DBWORKS_NEVER_UPDATE_PARENT_CHILD_AND_REVISION_REPLICATION_DIRTY 1…

Bugs fixingo 20160609 - DBInventor: working with configurations, it is fixed a problem of wrong member recognition during save

operation.o 20160607 - The Create Briefcase dialog was not correctly populating the destination partners combo when multiple

network drives were defined for the same COMPANY_ID in the DBW_COMPANY_INFO table.o 20160607 - File copy operations: unnecessary Browser repainting actions would have happen while copying fileso 20160607 - DBWShell("LoadQuery"): WORKINGSET mode: a crash was happening under particular conditions, when

hundreds of unique ids were added to the .sql file to be loadedo 20160531 - MwPDM Addin: it is fixed a problem of network drive acquisition after disabling/enabling the addin.o 20160525 - Category Maker: the print command would fail unless a specific 32bit ODBC DSN named DBWCust was not

available on the workstationo 20160525 - Open Wizard: Fields sorting dialog: moving a field back and forth between the columns could cause an

exception dialog to displayo 20160524 - SolidWorks Integration: the static preview of SolidWorks documents, for which no preview PNG thumbnail

image was saved ( and so not existing ), for a specific configuration was not defaulting on the "last active" configuration ( that on the contrary was available from Windows Explorer )

o 20160524 - Admin Tools: Fields in the grids: adding sorting information would result in duplicate rows in the parameter field schema\tables2.dfl and unnecessary sorting conditions were added on each field displayed in the grid

o 20160511 - SolidWorks Integration ( DBWorks ): when recursively approving an opened checked-out drawing, starting the action from the DBW Feature Manager, at the end of the operation the drawing was resulting as "locked"

o 20160510 - DBWShell("MDMerge …"): in some cases it was creating corrupted output PDF fileso 20160510 - DBWORKS_CRITICAL_NUMBER_OF_CHILDREN: some unnecessary checks have been avoided during

the Project Tree rebuildingo 20160509 - Edit BOM: with the locale regional settings with a decimal separator different from the dot character ( '.' ), the

Physical Quantities, assigned using the default decimal separator for the current locale, were inserted with wrong values in the PARENT_CHILD table

o 20160504 - OnShowPreviewLabel.LST: in some cases its output was not used by the core DLLso 20160504 - Database Replication: REPLICATION_PARTNERS: Deletion of a configuration: the configuration record

was marked as *DEL*, so causing issues when any partner company was creating again such configuration - Note: the record is now fully deleted, so its deletion will propagate through the replicated sites

o 20160504 - Browser: Full Preview: switching quickly between SolidWorks files while the full preview pane is active may cause a crash of the application. Now the side effect has been reduced to a blank preview that will require to reopen the browser. Occasionally a popup dialog is displayed to keep the app from crashing; the dialog can be closed with a click.

o 20160504 - Save all configurations automatically: no progress bar feedback was given when many configurations were to be saved, so giving the impression that the CAD application was hanged and non responsive

o 20160504 - AltPrevw.txt: recursive declarations like JPG->JPG,Z:\tmp\, used for reassigning the preview image directory, were causing a crash of the application

o 20160503 - DBSolidEdge: option "Open/Save->Save->[X] Save preview images as files": the JPG image resolution and extents were not good

o 20160503 - User Interface: under some circumstances, the tab names were wrong when opening the Browser.o 20160428 - Remote Access Local Mode: DBWAclServer server side file transfer: when activated, it was not possible to

download/upload files during the Local Mode operationso 20160427 - Option "[X] Avoid same user approval": the CREATED_BY fields was not considered when using the

Recursive Approve functionality, so making not possible for a user ( that had never partecipated to the life-cycle of a document ) to edit the document's data and then to approve it using the recursive operators

o 20160427 - Tree: Order Projects By: since of a regression introduced with build 20151123 ( R15 sp2.7 ), the "Order Projects By" setting was affecting also the order of the documents belonging to a sub-project. Notes: it is not possible to have separate orders for sub-projects and documents, so for getting a specific order for sub-projects and documents the "Order Documents By" must be assigned

o 20160421 - DBWShell("FileExists"): when running under DBWAclServer, it might have created unexpected "waiting for Windows Explorer" warnings with subsequent delays in its execution

o 20160421 – DBSolidEdge: using the “Open/Save->Save->[X] Show a warning if some feature errors are found” option, it is fixed a crash happening when checking-in asm document, under certain condition.

Service Pack: 2.11 Build: 20160415

Enhancements

20160329 - REPLICATION_PARTNERS.SPTThe script now logs the change of the content of the field in the MechWorks PDM EVENT_LOG table . It logs what it was changed from/to, and which user changed it.

20160323 - New DBWStandardLibrary Command: DBWReplaceInvalidCharsGiven a string, the function replaces not allowed characters < > \ / | $ % ^ * " ? : with underscore so to be suitable for being a filename on Windows filesystems.

Syntax:DBWReplaceInvalidChars (inputString)

Input:<inputString> the string to be adapted

Example:inputString = “<this is my string> - **??”convertedString = DBWReplaceInvalidChars(inputString)

convertedString will assume the value of _this is my string_ - ____

20160322 - New DBWOutput for Dataentr.LST: @SKIP_CUSTPROP_IMPORTA new directive can now be outputted from the Dataentr.LST script for bypassing any File Properties import due to existing custprop.txt or custprop_insert.txt definition files

Example:DBWOutput("@SKIP_CUSTPROP_IMPORT","1",ForAppending)

Bugs fixingo 20160414 - DBWAclServer: improved check for excluding USERS files from DBWAclServer control - this issue was

potentially causing unexpected errors displayed by DBWAclServer on the Activity Console, referring to !!RELOAD*.!!! files

o 20160412 - BOM->Change Quantity: the PARENT_CHILD_UM value was ignored when setting the UM value to its default value

o 20160412 - BOM->Change Quantity: the .DEFAULT value was displayed in the drop-down list for the UMo 20160412 - Excel BOM: Custom cell value script: field values belonging to the DRAWING or the PARENT_CHILD

table were not supported in the custom script used to fill single cells. The 'dot' in the field name is now replaced with an

underscore, thus the value for the field PARENT_CHILD.PARENT_UNIQUE_ID is made available as the variable PARENT_CHILD_PARENT_UNIQUE_ID in order to maintain compatibility with the vbscript language specifications

o 20160412 - Revisions: Approval: it was not possible to approve an assembly with a child declared as UNMANAGED ( so with its directory listed in the Revisions->Do not manage revisions for documents in the following directories option ) but with its file directory declared also as allowed for the approval ( so with its directory listed in the Revisions->Accept parent approval if children are in the following directories option ) - Notes: this is a regression introduced with R15 sp2.0

o 20160411 - DBInventor: with O.S. language using the comma ( , ) as decimal separator, the assignment of the PARENT_CHILD_QTY physical quantity was randomly changed after a save of the model

o 20160411 - BOM embedded in drawings: a column with referencing a parent child field would cause the generation of the BOM to fail with an error message for a null value

o 20160408 - MwPDM API: UserInterface.ListFromQuery and UserInterface.List. Fixed a bug happening when closing (‘X’) the dialog: the action is now cancelled.

o 20160405 - SolidWorks Integration: Absolute Position Numbers: the following fix "20150601 - SolidWorks integration: saving of a drawing: the structure of assemblies that were changed in memory ( for example suppressing some components ) was not updated in the database" has been rolled-back, since it was causing issues with the BOM Absolute Positions in child assemblies

o 20160405 - Query Page: a SELECT command like this 'SELECT count(…) from document' was displaying the count() result in the first row and a number of blank rows equal to the count() result.

o 20160404 - DBInventor: Auto-checkin-checkout on save-as: Link Mode enabled on Child Generic Documents: the save-as of an Assembly with a drawing containing both the assembly view and an assembly IPN view, was creating a Released IPN

o 20160404 - DBInventor: the save-as of an Assembly with a drawing containing both the assembly view and an assembly IPN view, was saving-as two times the related IPN

o 20160404 - Remote Access: Local Checkout Mode: when taking the ownership of a Part/Assembly in Checked-in or Checked-out state, its related Drawing file was not correctly updated on the local shared-checked-in path

o 20160404 - SolidWorks Integration: Drawings: models with configurations that should have been filtered out, based on the Options->Environment->Configurations settings, were creating duplicated entries in the Drawing->Model Parent-Child relations

o 20160331 - SolidWorks Drawing BOM: under some circumstances, the BOM Insert command shows a dialog “Error in command: BomInsert…” related to wrong drawing view selection management.

o 20160331 - Get from Briefcase: the FILE_DIRECTORY value was not restored for Projects already existing in the database with the same COMPANY_ID

o 20160330 - Static Preview of generic documents: due to a regression introduced with the fix "20160307 - Static Preview: the Static Preview of Generic Documents in the Recursive Check-In dialogs caused SolidWorks/MechWorks PDM to crash when the option "User Interface->Preview->[x] Preview of Generic Documents launching the associated applications" was active", the static preview was no longer available regardless of the flag "User Interface->Preview->[x] Preview of Generic Documents".

o 20160323 - MwLicense Manager: releasing licenses, improve performance of client/server communication.o 20160321 - Web Client: Tasks Client : would require that the Stand Alone on the Web Server had the Company ID

declared in the optionso 20160321 - Advanced Filter : the drop down list of existing document types would not enlist documents by file type on

workstations where the icon sizes are not standard

Service Pack: 2.10 Build: 20160318

Bugs fixingo 20160318 - DBSolidEdge: the popup notification for an empty Excel BOM, created using the Revisions Output

procedures, was crashing SolidEdgeo 20160317 - Link Mode: Documents in Released/Obsolete State were updated since of the Link Mode Alignment settings,

even if the "Options->Revisions->[X] Avoid database record editing if released" was checkedo 20160316 - Add/Remove from Project: it was not possible to add/remove a selection of documents to/from a Project when

working in the Browser's Query Pageo 20160316 - Edit Record: with a Model opened in the CAD system, the editing of the record for such model was not

updating the Model's Properties if the Edit action was executed from a Grido 20160315 - Excel BOM: the creation of the BOM would fail with the ODBC driver 11 for SQL Server 2014o 20160314 - MwLicense Manager: improve reliability of client/server communication to prevent temporary network

problems.

o 20160314 - Drag & Drop: with the option for allowing the "Add a Generic Document as a Child of a Released Document" being activated, it was possible to add a Generic Document as a Child using the RMB->Add Document functionality, but it was not allowed the same operation using the Drag & Drop

o 20160310 - Assign Project by Component Prefix: since of a fix introduced with R15 sp1.3, with the option activated, and with the option for always calculating mass properties on save, a performance issue was detected when saving assemblies, causing the mass properties to be always calculated always for component in read-only state

o 20160310 - Cut-lists: in some cases, the PARENT_CHILD_INDEX was not sequential on saved cut-list itemso 20160307 - Workflow: Dynamic Workflow States: Workflow States previously disabled were not considered when

moving backward within the current Workflow Processo 20160307 - Static Preview: the Static Preview of Generic Documents in the Recursive Check-In dialogs caused

SolidWorks/MechWorks PDM to crash when the option "User Interface->Preview->[x] Preview of Generic Documents launching the associated applications" was active

o 20160307 - Get from Briefcase: the FILE_DIRECTORY value was not restored for Projectso 20160305 - Create Briefcase: due to a regression introduced with build 20160204, it was no more possible to create a

Briefcaseo 20160303 - MwLicense Manager: under some circumstances, there was an exception starting the service related to

machine data identification.o 20160303 - Remote Access Local Mode: it was not possible to check-out a Working Set of locally copied checked-in

documentso 20160302 - Remote Access Local Mode: due to a regression introduced with build 20150109, it was no longer possible to

execute a recursive check-out of the local fileso 20160302 - Check-In of a Drawing and its Related Part: when checking-in from an opened Drawing and canceling the

Input Form for the check-in of the Related Part, the Part itself was left in a status of Checked-in but Writeable, so allowing the saving of a different still-not-registered configuration - this particular sequence was causing unexpected approvals of documents

o 20160302 - MwLicense Manager: it is fixed a potential hang at server side related to low_bandwidth/packet_loss network issue.

o 20160302 - DBSolidEdge: fixed a crash happening when the SCHEMA\BomTitle.txt ( Property Mappings Definition File ) was containing a SolidEdge "@MechanicalModeling@" property mapped to a database field existing in the database view related to the currently saved document type ( Example: an assembly being saved, the assembly database view "ASSEMBLY" containing the MATERIAL field, and the BomTitle.txt containing a mapping like MATERIAL "SolidEdge@MechanicalModeling@Material" )

o 20160301 - DBInventor: with the import of the custom properties activated, parts created with categorization automatic tools would have caused random behaviors ( crash or blank input ) when displaying the Input Data Form

Service Pack: 2.9 Build: 20160226

Enhancements20160204 - New DBWShell Command: SelectAllDocumentsInBriefcaseThe new command allows the pre-selection of all the selectable documents in the Briefcase Documents Selector Dialog for the next PutIntoBriefcaseTree command that will be executed.

Example:DBWShell("SelectAllDocumentsInBriefcase")DBWShell("PutIntoBriefcaseTree ...")

20160204 - New DBWShell Command: SetBriefcaseUniqueIdThe new command sets the top-level Unique Id to be used by the PutIntoBriefcaseTree command, no matter what is the current selection in the Browser.Notes: the Browser is not needed to be opened when executing the PutIntoBriefcaseTree command if the SetBriefcaseUniqueId has been executed just before it.

Example:DBWShell("SetBriefcaseUniqueId 1234456")DBWShell("PutIntoBriefcaseTree ...")

20160202 - License Manager: support for Username/Password protected Internet ProxiesIt is now possible to check the MechWorks PDM license using a username/password protected Proxy Server.The following lines must be added to the shared DBWCONN.PAR file:

MW_LICENSE_INTERNET_PROXY_NAME http://<IP address of the Proxy Server>:<port number>MW_LICENSE_INTERNET_PROXY_USERNAME <username for the Proxy>MW_LICENSE_INTERNET_PROXY_PASSWORD <password for the Proxy>

Example:...MW_LICENSE_INTERNET_PROXY_NAME http://192.168.1.2:8080MW_LICENSE_INTERNET_PROXY_USERNAME CiroMW_LICENSE_INTERNET_PROXY_PASSWORD MyPassWord...

Notes: it is always possible to encrypt the DBWCONN.PAR for securing the username/password data. See the paragraph "Encrypted shared DBWCONN.PAR" in the "DBWCONN.PAR file" topic of the MechWorks PDM Help file.

Bugs fixingo 20160226 - MechWorks Standalone Client: it was not possible to read iProperties defined in the "Design Tracking"

sectiono 20160225 - .DBWFRM: forms with the file name beginning with a double underscore character ( __XXX.DBFWRM )

where not correctly managed as out-of-process/modal forms, leaving the hosting dialog free to be closedo 20160224 - DBWFilterSelect: if starting from the Stand Alone it could fail to appear and show its window only after

closing the parent applicationo 20160223 - No revision directories: it was possible to create new revisions and/or checkout/checkin documents located in

a no revisions directory by using the DBWorks specific RMB popup menu on a SolidWorks componento 20160222 - Browser: Preview: files of type .xlsm (Excel with macro) were not being previewedo 20160219 - DBWManageOfficeProperties: Word files in version 97-2003 (.doc) would be stamped with the red text

"Evaluation Only. Created with Aspose. Words. Copyright 2003-2014 Aspose Pty Ltd." and truncated when added to the PDM - this is a regression introduced with sp2.8

o 20160218 - FULL_PREVIEW page of Word files caused SolidWorks/MechWorks PDM crash when lauched after full preview of other document

o 20160215 - Advanced Filter: as external and distinct form: the small calendar dialog displayed on click to pick a date in a custom condition would not display on top of the owner form and would therefore block the process

o 20160211 - Admin Tools: Project User Assignment Tool: if no projects was assigned to a user it was not possible to assign or remove a specific project

o 20160209 - DBWArm: DBWARM_CLASS Record Level Access Control: DBWARM_CLASS.LST: the .DEFAULT value was applied only if the currently logged in user was a DBWorks Admin

o 20160209 - Restore Revision: when restoring a revision on the shared directory, if the file was already loaded by another designer in an Assembly as 'resolved' ( so fully loaded in memory ), the restore revision operation was not possible

o 20160209 - Released Database: Copy file to Vault: when deleting a Document, together with its file, from the Main Database, the file was not deleted in the Released Database Vault

o 20160205 - Get From Briefcase: even if invoked with "silent=1", and even if the global "Options->General->[X] Execute Scripts without any Message Box and writing %TMP%\DBWMSG.LOG" was activated, the Get From Briefcase was still displaying some message boxes, that would stop the ability to run in silent mode

o 20160205 - Released Database Mode: Copy files to Vault: the 'Rename' operation of a Released Document was not considering the OnFilterRev.LST script, so always updating the Released Documents Vault with the just renamed file, even if it was in a minor revision

o 20160202 - Admin Tools: Database upgrades: the message for the update that adds the field parent child relation type was missing

o 20160202 - Compare BOM: Report: some characters in German would not display correctlyo 20160202 - Compare BOM: Report: added the description for the children to help identify themo 20160202 - Compare BOM: Report: in case a subassembly changed its position, its children would display as missing and

readdedo 20160202 - Compare BOM: Report: position indexes would start from 0 instead of starting from 1o 20160201 - DBInventor: when saving a new component into an assembly, or when inserting as custom part a Content

Center part into an assembly, any extra info like the Categories, etc., was lost in the displayed Data Input dialog

Service Pack: 2.8 Build: 20160128

Bugs fixingo 20160128 - DWG to PDF conversions: the size of the output PDF has been significantly reducedo 20160128 - Excel BOM: In German the column headers displaying information from projects and drawings would display

a comma instead of a dot as a separatoro 20160128 - DBInventor: with the Inventor Default Drawing Template Extension set to .DWG, it was not possible to

set/edit a DBInventor Variant Note in a Drawing of type .IDWo 20160128 - The tool Assembly Duplication Wizard was firing an “access denied ” error when trying to remove the read-

only flag of duplicated components and file directory browsing, with Windows Explorer, was denied on the main archive.o 20160127 - Workflow Panel: The Workflow Panel would not display in Italian because of missing entries in the

localization messageso 20160126 - SQL: it has been fixed a "connection is busy" issue caused by the overlap of opening events during the

rebuilding of the Treeo 20160125 - DBInventor: BomTitle.txt: the mapping "Inventor@SummaryInfoProperty@Creation Time" was causing an

unmanaged internal exception on specific Drawings, making the application no more usable - Notes: the Summary Info Property Creation Time has been declared obsolete by Autodesk some Inventor versions ago - since of this, it is now dynamically mapped by DBInventor into the recommended Creation Date Property of the Design Tracking Set.

o 20160125 - Browser Tree Page: Working Set Grid: Load Working Set functionality: after the loading of a .WKS query, the USERS\<user id>\DBWorks.PAR status was not updated

o 20160125 - Standalone Client: the Window Frame position of the Standalone Client was not correctly restored on the next re-opening

o 20160122 - DBWManageOfficeProperties: for large docx files the file could fail to load freezing the processo 20160121 - DBInventor: not assigned date-type iProperties were imported ( using either custprop.txt or custprop_insert.txt

) with a value of 1601/01/01o 20160120 - Generic Documents: it was not possible to add a Drawing as a child of a Generic Documento 20160118 - WebClient: preview of local files: the local preview would not update after a change in the model until you

clicked on another record and click back to the record for which the preview required an updateo 20160114 - DBWFilterSelect2: The values for the single result and the multiple results are now both filled also in the case

of a single selection. Previously in such a case only the single result was filled, and not the array of results with only one value

o 20160113 - Database Analysis Utility: if a document's state was unrecognized (possibly NULL or outside the expected 5 values), it was causing a hang (never ending loop) of the 'State Does Not Match File Read-Only Property' report.

o 20160111 - Excel BOM: The value displayed for the column MAKE_BUY would not be read from the PARENT_CHILD table for languages other than English

o 20160111 - Get from Briefcase: a delay of about 7 seconds was experienced before the Document Selector dialog was displayed

o 20160111 - DBWAclServer: the File Delete operation would not be able to proceed if the file was locked exclusively by other users - a specific message is now displayed in such case

o 20160108 - SQL Interpreter: the "START" command was not correctly resetting the database environment - as a consequence of this problem, in some specific environments, the Get from Briefcase procedure was not working correctly

o 20160108 - Plot: option [X] Use PDF output format: with the [X] Plot multiple sheets enabled, the PDF was containing only the first Sheet

o 20160107 - Advanced Filter: Selecting a file type, closing and reopening the Stand Alone, then running the query again would result in a resultset not filtered according to the condition displayed

o 20160107 - Plot: sub-option [X] Use PDF output format->[X] Use direct 'Save as PDF': with the [X] Plot multiple sheets enabled, every PDF created, for each Sheet, was containing all the Drawing Sheets

o 20160106 - Revision Output Files: due to a regression introduced with build 20150716, the RMB->Open Revision Output ... command was working only for the first file being opened; for all the next commands, it was always opened the first file opened

o 20160105 - DBSolidEdge: with the option "Data Input->[X] Import custom properties as field values using mapping file SCHEMA/CUSTPROP.TXT", due to a regression introduced with build 20151216, an internal crash was happening when clicking the upper DBSE toolbar "Edit Record" button, with an assembly currently opened and a component currently selected in the assembly

o 20160105 - Visual Cues: due to a regression introduced with build 20151123 ( sp2.7 ), the matching patterns "*" was evaluated as 'matching' for fields with a NULL or EMPTY value

o 20160104 - DBInventor: with the option "Open/Save->Save As->[ ] Create a separate file copy on a DBW/DBI/DBS 'Save as ...'" unchecked, after a save-as of a writeable Inventor document, the display name of the original document was changed to the new saved-as display name

o 20151228 - Released Database Mode: PARENT_CHILD fields like PARENT_CHILD_BOM_POS were not copied to the Relased Database if the Released Database Tables ( RELEASED_xxxx ) were on the same Main Database

o 20151223 - The MAKE_BUY field would not display in Excel BOMs of type BUY LISTo 20151221 - DBWArm: Active Document->Save As permission: when checked, the simple Save action was denied as well

Service Pack: 2.7 Build: 20151218

Enhancements20151105 - SolidWorks Document Manager version available in the "About DBWorks ..." dialogSince the SolidWorks Document Manager is a key component for both the Preview sub-system and for the Custom Properties file management, it is important that its version is aligned with the rest of the SolidWorks installation.It may happen that when testing new versions of SolidWorks on the same workstation, the latest version of the SolidWorks Document Manager could be installed, overwriting the currently in-production version of it, and so causing unexpected behaviors in either the Preview sub-system or in the Custom Properties file manager.Now the version of the SolidWorks Document Manager is printed in the "About DBWorks ..." dialog as follows:

DBWorks R15 (C)1996-2015 MechWorks s.r.l.Build: 20151120 [15 SP 2.7 (16)]Serial No.: xxxVersion: ENTERPRISE N (64-bit)Global Parameters Path: xxxDBWERP is active [Environment is OK]DBWServer is running [disabled]DBMS: Microsoft SQL Server - Ver: 11.00.3128SolidWorks Document Manager date [version]:2015/11/11 19:07:18 [SolidWorks 2015 sp5]

The same info is also available in the DBWorks LOG file.

Bugs fixingo 20151218 - Advanced Filter: The condition on having the workflow state null would cause the query to fail with an erroro 20151218 - MwLicense Manager: it is fixed a problem of wrong MwLicenseMonitor data visualization happening when

allocated licenses are no more used for accidental reason (abnormal termination, crash,…).o 20151216 - DBSolidEdge: MATERIAL: the MATERIAL field was not filled if the Material was not existing in any

SolidEdge Material Library - Notes: of course, when not existing in the Library, only the Material Name is assigned when executing the calculation of the Mass Properties

o 20151216 - DBSolidEdge: Custprop.txt and Custprop_insert.txt: the property "Material" ( and all the other Mechanical Modeling properties ) was not imported with files closed or opened

o 20151216 - Filter functionality: tabs prepared for displaying Linked Database Tables were visibleo 20151216 - Filter functionality: drop-down .SQL type .LST files were filling the field value with all the columns instead of

putting only the .KEY columno 20151216 - Filter functionality: it was not possible to use SPT fileso 20151216 - Edit BOM: the Tables2.DFL EDIT_BOM list of fields was not actually applied when mandatory fields like T,

ID, DESCRIPTION, CONFIGURATION were declared in it - Notes: the MAKE_BUY field can not be managed in the EDIT_BOM list of fields, because such field is managed in a special way ( it can actually change its value using a drop-down list of allowed values )

o 20151215 - DBInventor: when placing a component from Content Center "as custom", the next time a component was placed "as standard", any previously placed "as custom" component was firing the Save Wizard

o 20151215 - The tool ManageMechWorksDsn for managing ODBC DSN was firing a “access denied” error when the parameter file DBWconn.par was hidden.

o 20151214 - DBWorks Standalone: plot of SolidWorks drawings was not working with eDrawings 2016 installed.o 20151214 - DBSolidEdge Materials: in case of saving unregistered components, it is fixed a problem of Material

computation.o 20151214 - Custprop.txt: it was not possible to import Properties ( either file properties or CAD specific properties ) of

type DATEo 20151211 - MwLicense Manager: it is fixed a problem related to serial number evaluationo 20151210 - Unicode Secondary Language Support: BomTitle.txt: the mappings of type "UnicodeSecondaryLanguage..."

were not working in UTF-8 when the Configuration Support was not activated in the management of SolidWorks Files, with the files being closed

o 20151210 - DBSE: Custprop.txt: since of different localizations returned in the File Properties Names for installations on Operating Systems different from English, it was not possible to import the Summary Info and Document Summary Info sections of the Properties using the SCHEMA\CustProp.txt technique - Notes: in order to have the fix working, the CustProp.txt must be prepared for supporting ALWAYS the English language and the current localized language - the names of the fields must follow the multiple fields assignment rules, by appending the suffixes @01, @02, @..., to the database field names - ExampleAUTORE "Author"AUTORE@01 "Autore"

o 20151210 - SolidWorks Files: Custom Properties: the object 'DBWJComp.CodeObject' that could be invoked from the scripts to update the custom properties would fail to create/update the custom properties on SolidWorks Files

o 20151209 - Document Selector Dialog: Recursive Approve: the "Prev.Rev." check box behavior was not stable when rapidly clicking on it

o 20151209 - Edit BOM: the initial value of the panel option "[X] Force CAD order only if not absolute" was not inherited by the current value of the global option "Options->Open/Save->Save->[X] Always assign absolute BOM position numbers on save->[X] Force CAD order only if not absolute"

o 20151207 - GDE: Database Replication: some fixes have been applied to the Replication Scripts needed for creating the initial articles to be published

o 20151207 - CustProp.txt: the Document Summary Info file properties were not reado 20151204 - Admin Tools: Database Update: the fields OWNER_COMPANY_ID and COMPANY_ID were detected as

missing in databases in a language other than in english also if the fields were availableo 20151203 - MwPDMApi/MwPDMEvents: the %APPDATA%\MechWorks folder is now created if it doesn’t exist for the

current Windows usero 20151202 - Event Log: depending from the lenght of some field values to be aligned by the Link Mode, the Event Log

recorder was generating SQL Errors like "ERROR: SQL 37000: Syntax not correct near ..."o 20151201 - Rename: Linked Generic Documents: Generic Documents ( like child PDFs ), linked to the Main Document

since of the Options->Environment->Link Mode->[X] Manage Child Generic Documents->[X] Enable full Link Mode on Documents with the same ID, were not considered in the Rename process

o 20151130 – SolidWorks Integration: DBWorks Task Pane Browser: Preview of PDF files generates crash or hang when Option->User Interface -> Preview ->[X] Preview of generic documents launching the associated applications is enabled

o 20151127 - Tree Page: Full Preview of SolidWorks documents: switching from the simple Preview tab to the Full Preview tab it was activating the full preview only the first switch. From the second on, the full preview tab was blank

o 20151125 - DBWAclServer: no check was made at service startup for non existing personalities declared in the DBWAclServerAdm.txt - if any personality is not existing, the service would not start, and the Administrator must inspect the %ProgramData%\MechWorks\DBWAclServer\Logs\DBWAclServer.log for further info

o 20151124 - DBWorks Feature Manager: Open of multiple documents: there was no opening after the confirmation dialog for multiple file opening

o 20151124 - Options->General->[X] Manage as 'Standard Parts' components with ...: if the Database Field assigned for the evaluation had a value with more than 512 characters, a crash was happening when evaluating the Standard Part condition before displaying the Standard Part icon in a Grid or Tree

o 20151124 - Database: fetching data from Databases with a DOCUMENT record total lenght greater than 20000 bytes was potentially causing unexpected characters ( like '/' or '-' ) to be visible when viewing/editing the DOCUMENT table fields with NULL values

o 20151123 - Visual Cues: Standard 'field based' visual cue definition: the presence of fields with possible NULL values in the Visual Cues definition file would cause a shift on the left of the visualization of the other existing visual cues when the value for the specific field was NULL or EMPTY

o 20151123 - Tree: RMB->Order Projects By: the Order By field was not applied when building the not-expanded Sub-Projects ( Note: in order to apply the Order By field to the EXPANDED Projects ( with the Book icon shown as 'opened' ), it is necessary to set also the Order Documents By field, being the expansion query the same for both Projects and Documents )

Service Pack: 2.6 Build: 20151120

Behavior Changeo 20151112 - DBWShell("Download ... CHECK")

The DBWShell("Download ... CHECK") returns now @OKDOWNLOAD=1 if the Local File does not exist.

Results:

case "CHECK":@OKDOWNLOAD 0: remote is older than local

1: remote is newer than local or the local file is not existing@REMOTE_FILE_SIZE <size> the remote file size that should be downloaded

Enhancements20151105 - Advanced Filter: added a condition for the documents not in the workflow process

20151105 - Web Client: creation of eDrawing files on demandWeb Client allows to create and download eDrawings files on demand.The implementation requires that TasksClient is active on a server side workstation or server that is logged in with a user and with eDrawings installed (the free, standard version of 2015 is sufficient).This feature replace the ability to create files visible only in eDrawings that was supported with files up to the SolidWorks 2014 version.

20151030 - New script library function: DBWFilterSelect4Added new function DBWFilterSelect4, which has the same parameters and features as DBWFilterSelect3 but displays the dialog in a separate process.

Example:

function DBWFilterSelect4(title,Dsn,User,Password,SelectStatement,FieldtoRead,FieldtoFilterOn,filtervalue,byref multiresult,position )

set obj = createObject("DBWJComp.FilterSelect")if mid(Dsn,10,1)=":" OR mid(Dsn,9,2)="\\" then

cnnstr = Dsnelse

cnnstr = "DSN=" & Dsn & ";Uid=" & User & ";Pwd=" & Password & ";"end ifobj.connectionString = cnnstrobj.query = SelectStatementobj.filteringField = FieldtoFilterOnobj.resultField = FieldtoReadobj.title = titleobj.value = filtervalueobj.ShowFormInDistinctProcess cint(position)if obj.userHasCanceled then DBWFilterSelect4=""else

DBWFilterSelect4= obj.result multiresult = obj.multipleresultend ifset obj = nothing

end Function

20151028 - New DBWShell API: ShowAdvancedFilterInBrowserWith this new API it is possible to display the Advanced Filter tab in the Browser's Tree Page.Before switching the Tree Page to the Advanced Filter tab, if the Browser is not opened, it will be done automatically, or if the Browser is in a minimized state, it will be restored.

Syntax:call DBWShell("ShowAdvancedFilterInBrowser")

Bugs fixingo 20151120 - Office Properties: The properties could not be assigned to xlsx files, the regression bug had been introduced in

R15 SP2.5o 20151116 - PARENT_CHILD_COMPONENT_REFERENCE / PARENT_CHILD_INSTANCE_ID: the fields were set

to NULL during a change of quantity or other operations - Note: the fields are INSTANCE specific, so the only way for rebuilding them is to save the assembly one more time ( or execute the UpdateDatabaseActiveDoc API, with the Assembly opened ) - any change of quantity operation will 'flat' the value ( of either the PARENT_CHILD_COMPONENT_REFERENCE or PARENT_CHILD_INSTANCE_ID field) to that assigned to the first instance of the component

o 20151116 - Advanced Filter: the filter applied on specific fields of type BIT (boolean) would raise an exception and return no results

o 20151116 - DBSolidEdge Drawing BOM: with the “General-> Units-> [ ] Use internal CAD system units for calculation” disabled, it is fixed a problem of cutlist items ballooning.

o 20151113 - Master Drawing Mode: in the case of a Drawing checked-out by other people, the RMB popup menu was displaying the "Open Master Drawing" entry, even if the default "Open" functionality opens the Master Drawing in such case. Now, the "Open Original Drawing" entry is displayed, for allowing the opening of the Original Drawing in such case.

o 20151113 - Limited number of revision files: when the number of revision files was smaller of the number of revision records, it was happening that some operations on the revision ( like previewing, activating, restoring, etc. ) had no user interface feedback

o 20151113 - Browser: Document Page: changing the current grids layout, then switching to the Query Page for opening a Document ( minimizing the Browser ), after restoring the Browser to its normal window size, when switching back to the Document Page, the assigned grids layout was lost

o 20151113 - MechWorks Standalone Client: the preview of SolidEdge files was not available in the 32-bit versiono 20151112 - Startup: the check for write permissions on the USERS shared folder was not correctly executedo 20151111 - Local Checkout Mode: the process of inserting a modified but not saved Component into a new Assembly it

was causing, on the autocheckout of the Assembly, the reloading of the Component from its file image ( due to the reloading of the Assembly itself due to the change in the folder location of the LCM ) - DBWorks preventively saves now every Assembly reference that is dirty in memory

o 20151111 - Remote Access: Take Ownership: Configured Models: the check for downloading all the revision files was executed for each configuration, so causing long delays when the model had many configurations and many revisions

o 20151111 - No Revisions Directories and DBW_NO_LIFE_CYCLE flag: fixed some issues with the Toolbar UI, from which it was possible to change the state of an opened document

o 20151110 - Remote Access: Local Checkout Mode: after a Take Ownership operation, any Remote Related Document was not removed from the Remote Shared Checkin folder

o 20151110 - Linked Database Tables: with the Revisions Options being set as "[X] Avoid database record editing if released / [ ] Allow Linked Tables editing if Released", it was possible to create a new Linked Database Table record, but it was not possible any further editing of the same record - the fix denies the ability to create a new Linked Database Table record when the option "[ ] Allow Linked Tables editing if Released" is unchecked

o 20151110 - SolidWorks Integration: Save of a Drawings with Views containing derived configurations of models: when both a derived configuration and its parent configuration were inserted in the Drawing's Views, then the option "[X] Save only 1st level parent configuration for any Part/Assembly" was creating BOM quantities greater than 1 for the Drawing->Model relation

o 20151109 - Data Input Form: .vbscript .LST controls: the 'down arrow' symbol was not visibile when the edit control did not have the input focus

o 20151109 - DBInventor/DBSolidEdge: with the Browser minimized/maximized, when clicking on the "Open Browser" toolbar button, the Browser was closed, instead of being restored from its minimized/maximized state

o 20151104 - Data Input Form: Save of an assembly: with a component checked-out by another designer, when saving an Assembly referencing such component, and with the "Options->User Interface->[ ] No dependents input when saving" disabled, and turning off the "[ ] No Input" option in the "Insert Records for Dependent Documents" dialog, the data input form for the component was editable ( Yellow background color )

o 20151103 - The tool ManageMechWorksDsn for managing ODBC DSN was firing a “access denied” error when the parameter file DBWCONN.PAR was readonly

o 20151102 - Reliability: it has been improved the management of the disconnection from SQL Servero 20151028 - DBSolidEdge Drawing BOM: in case of cutlist items with LENGTH specification in bom template file, it is

fixed a problem related to regional settingso 20151027 - DBSolidEdge ( either Integrated or Standalone ): it was not possible to import file properties from Assemblies

when the files were closed - the import is based on a "first seen - first used" strategy - so, for example, if the "Title" property is present in different sections of the structured file, the value found in the first section will be the winner

o 20151027 - DBSolidEdge ( either Integrated or Standalone ): with particular SolidEdge files, and with the "Options->Data Input->[X] Import custom properties as field values using mapping file SCHEMA/CUSTPROP.TXT" enabled, a crash was happening when creating a new record for these particular files

o 20151026 - DBWorks: Options->Environment->[X] Always Reload Out-of-date Read-only Components: under some conditions the reloading was critical and would have caused a crash of the hosting CAD

o 20151026 - DBWorks: Options->Environment->[X] Always Reload Out-of-date Read-only Components: read-only components were not always reloaded when opened or activated, even if a change was applied from other designers on the same components

o 20151026 - DBSolidEdge: Edit Record: the Summary, Extended Summary and Mechanical Modeling file properties were not imported, even if defined in the SCHEMA\CustProp.txt

Service Pack: 2.5 Build: 20151023

Enhancements20151012 - SolidWorks 2016It is now possible to install MechWorks PDM R15 on SolidWorks 2016

20151007 - Grids: SHIFT-CTRL-C copy column headers to clipboardBy pressing the SHIFT key together with the CTRL-C, it is possible to copy in the clipboard also the column headers of any data grid - this allows the paste operation to properly fill the column headers

20150928 - Rename operation: EVENT_DOCUMENT_REPLACE event is now written in the EVENT_LOG table The EVENT_DOCUMENT_REPLACE entry is now written in the EVENT_LOG table ( with the currently renamed document and its parent assembly as arguments ) when the Rename operation is executed

Bugs fixingo 20151023 - DBSolidEdge Family of Parts: saving a member, under some cases, it was not updating the database fields

member.o 20151022 - Assembly Approval: Options->Revisions->Approval->[ ] Avoid assembly approval if components are not

released->[ ] Accept parent approval if children are Unmanaged: due to a regression introduced with the fix "20150908 - Assembly Approval: Options->Revisions->Approval->[X] Avoid assembly approval if components are not released->[ ] Accept parent approval if children are Unmanaged: the option was not working as expected", with the option "[X] Accept parent approval if children are Standard Parts" being checked, components that were Standard Parts, but residing into any unmanaged folder, were stopping the release process

o 20151021 - Tablet PC: tapping a database record for a long time, in either the Tree and Grid controls, was no longer displaying the RMB popup menu ( this was a regression from R14 )

o 20151021 - Admin Tools: Creation of Released Database: the creation of the released database would fail using the driver SQL Native Client 11

o 20151021 - Admin Tools: Data Form Classes: added support for classes of documents based on regular expressionso 20151021 - Option General->More ...->[X] Add documents as BOM items: the PARENT_CHILD_MAKE_BUY field

was not correctly assigned when adding new documents - it was set only for already registered Generic Documentso 20151021 - Office Properties: the files of type .xlsm were not supportedo 20151020 - Plotting: if the drawing was closed before the plotting, a long delay would happen with some large drawingso 20151020 - Admin Tools: Create Released Database: the creation would fail if the DBWORKS_USERS table contained

additional fields of type bit (boolean) filled with datao 20151019 - Revisions Outputs: Approve on a previous revision: even if the output files were not linked to the document's

state, so possibly being in a NEW state, their file permissions were changed to read-only.o 20151016 - DBWScrpt.LIB: DBWGetActiveDocUId executed against an open document not in the database shows wrong

messageso 20151015 - Web Client: Preview: some of the previews would not include the entire picture and would show only 80% of

it, both in width and heighto 20151015 - Advanced Filter: Interface: the Integrated Advanced Filter would not save and reload its state across sessions.o 20151015 - MwPDMApi/MwPDMEvents: under some circumstance, there was an error in loading MwPDMEvents

referenced module causing problem in event script executiono 20151013 - Browser: Open for Updating: Create Working Set: the list of fields was always the whole table and not the list

defined in the SCHEMA\Tables2.DFL definition file ( Note: the existence of the UNIQUE_ID field is now checked, because it is mandatory for working in UPDATE mode - if not found, the whole list of fields will be displayed )

o 20151013 - Browser: RMB on the Search button: the Most Recently Used strings list was always adding an already choosen item to the list

o 20151012 - Browser: Query Page: is was not possible to properly save .SQL files or .WKS; more, the file extension choise was in some ways corrupted

o 20151009 - DBSolidEge SaveAs: due to an internal SolidEdge issue, the saveas of inplace activated into a family of assemblies document is not possible and only the “Save Copy As” is allowed. With this fix, when the option Open/Save->Save As->[ ] Create a separate file copy on DBSolidEdge ‘SaveAs…’ is unchecked, a new warning message is shown to prompt the user about the required file copy

o 20151009 - Web Client: Major/Minor revisions: the script that should determine if a release is major or minor when the options are enabled would fail to be invoked returning always minor

o 20151008 - User Interface: it is fixed a problem of wrong bitmap shown in the shortcut bar introduced with build “20150928 - User Interface: applied the scripting utility icon (toolbar) also in the related sections of Option pages”

o 20151008 - Save process: fixed some inconsistencies in the behavior when either the option "Environment->[X] Never traverse assemblies" was checked or when the "[ ] Traverse sub-assemblies" option in the Dependents Input Form ( enabled when unchecking the option "User Interface->[ ] No dependents input when saving" )

o 20150810 - Open Wizard: grid of results: the field State, normally hidden (the state is indicated as a colour in the first column), would sometimes reappear occupying screen space and having an unpredictable behavior during resize

o 20151006 - DBWorks Drawing BOM: it is fixed a problem to keep the hidden status of BOM table/column in BOM refresh command execution

o 20151006 - DBWShell: Download CHECK: if the remote file was not existing, it was returned error = 4 ( unable to access remote path ) instead of error = 2 ( remote file does not exist )

o 20151006 - DBWArm: Browser layout: with the right for executing scripts being denied, it was not possible to execute the Browser's Shortcut Bar functionalities for rearranging the layout of the Browser's windows

o 20151006 - SolidWorks Integration: Component Search Dialog: due to a regression introduced with the bug fix "20150727 - SolidWorks Integration: DBWorks Task Pane Browser: the search box was displaying an "OK" for confirming the search, and not the Binoculars icon", the button for confirming the search in the Component Search Dialog was displayed as a blank button

o 20151005 - Edit BOM: Dataentr.LST: the default script for generating an ID of a new bom item was not working anymore, returning an error about ID validity.

o 20150930 - DBSolidEge Drawing BOM: fixed some precision problem in calculating the BOM quantity and Ballooning of cutlist items

o 20150929 - DBSolidEge/DBInventor: Browser: Tree Page: the RMB->Project Tree functionality was not correctly repainting the tree control

o 20150929 - Cut Lists: it is fixed a regression, introduced in build 20150915, causing some inconsistency in cutlists management

o 20150929 - DBSolidEge toolbar: since of a regression introduced with build 20150603, under some circumstances the Options button was disabled

o 20150928 - Workflow: Check for not null fields on revision approval: when a Link Mode->Align fields condition between the Drawings and the Models was existing for avoiding the NULL fields on the Drawings, the Submit To Workflow initial check was not considering the Link Mode setting, so displaying either the model and its drawing in the NULL fields documents list that would needed to be filled/edited before submitting them to the workflow

o 20150928 - Checkin of a Drawing: with specific models and in specific environments, on the close of the opened linked drawing after the checkin of its own model, SolidWorks was asking for saving-as the modified components

o 20150928 - User Interface: applied the scripting utility icon (toolbar) also in the related sections of Option pages.

Service Pack: 2.4 Build: 20150925

Enhancements20150923 - DBWShell("AddAttachment"): new optional parameter for reselecting target record to show resultsA new optional parameter updateAttachmentGrid ( with value 0/1) is now available for the DBWShell("AddAttachment") command – when set to “1”, DBWorks will activate/refresh automatically the Attachments grid within the Tree page for the specific record's UNIQUE_ID.

Remarks: The DBWorks browser must be opened and the Tree page must be activated.

Syntax:call DBWShell("AddAttachment AttachmentPath [UniqueID [updateAttachmentGrid]]")where onlyDrawings is equal to "1" if only the drawings must be processed by the command

Example:...call DBWShell( "CurrentDocument" )docUId = DBWResult( "@DOCUMENT_UNIQUE_ID" )file = "c:\temp\myAttachment.txt"call DBWShell ("AddAttachment " & file & “ “ & docUId & " 1")

20150909 - DBWorks: Preview of Virtual ComponentsIf the Virtual Components are created for managing different configurations of the same component, so just altering assembly specific positions of the component itself inside the assembly ( for example adapting a flexible BELT for fitting other components in the assembly ), may be they are created starting from already registered components, with unique IDs in the database.In such case, if the ID of the base component and the first token of the ID of the Virtual Component are in match, then DBWorks is now able to display the preview of the base component.

Bugs fixingo 20150924 - DBInventor: the assigned representations of an Assembly were lost when opening/saving the model during a

checkin, started with the model closed.o 20150923 - WebClient: performance bug: queries could time out and fail for users with a high number of specific projects

assigned (> 5000)o 20150922 - SolidWorks Drawing BOM: fixed some problem in position-numbers ballooning related to obsolete SW API.o 20150922 - Remote Access Local Copies: highlight of out-of-date documents: due to a regression introduced with build

20141007, with the highlighting of Local Copies for Remote Access activated, even proprietary files could have been marked as out-of-date

o 20150921 - Local Checkout Mode: when opening a foreign document in state CHECKED-IN or CHECKED-OUT, a files-out-of-synch warning message was wrongly displayed

o 20150921 - DBInventor: Components with special BOM attributes: their management was broken from a while - please refer to the Help topic "General->Assemblies->[X] Force Parent-Child Make/Buy attribute from Inventor 'BOM Structure' attributes" for more info about how DBInventor consider the special BOM attributes of Inventor

o 20150917 - Remote Access: Take Ownership: for a DBWorks Admin any document checked-out by other people has its checkbox in status "checked" ( [X] ) - this was potentially causing troubles with massive take-ownership operations ( Note: only for DBWorsk Admin it is possible to take the ownership of documents checked-out by other people, so giving to such administrators the power for continuing to work on those documents even if, for example, the current owner of the checked-out document has left the company or it is out of office for any reason )

o 20150917 - Remote Access: Take/Transfer Ownership: the option "Always download linked document" was not considered

o 20150917 - Remote Access: option "Always refresh Document Local Copies on Open": it was not working with missing references

o 20150917 - Browser: after restoring the Browser from a minimized state, a double repaint was executed, causing the blanking of the current document preview

o 20150916 - LST files: after having created a new LST file using the RMB on a Data Input Form field ( so starting the Notepad text editor ), the field value list was visible just after having finished the Notepad editing, but not on any further edit action, being necessary to restart MechWorks PDM for getting it visible once again

o 20150916 - Drag&Drop: the default action for a Drag&Drop operation from a PDM Tree to a Windows Explorer window was 'move', so potentially causing the deletion of the original copy in the PDM Archive folder, if a local-to-local operation was executed - now, even if the SHIFT key is kept pressed ( so allowing a MOVE operation also to a network-to-local operation ), the PDM avoids to execute a MOVE and shows a warning dialog suggesting to keep the CTRL key pressed, for executing a COPY operation

o 20150916 - Save all configurations automatically: the confirmation dialog had the count off by oneo 20150915 - The Save As of a Part/Assembly Related Drawing was failing if the Part/Assembly record had a column ':'

character in the database ID fieldo 20150915 - Options->Environment->Scripts: many scripts were missing from the list - the Environment section of the list

has been improved using sub-labels for the various Environment sub-sections of optionso 20150915 - Drawing BOM: it is fixed a problem of wrong position-numbers balloons in case of unregistered componentso 20150914 - Data Input: .LST files: the .DEFAULT line was no longer filtered from the dropdown boxeso 20150914 - Options->Data Input->Displayed date format: the entered value was not validated at least against the most

common cases; in case a complex or not expected format is assigned, a message box will ask for a confirmationo 20150914 - Replication: shared projects were created updating the REPLICATION_PARTNERS field, even is such field

was not existing in the database

o 20150910 - Local Checkout Mode: when opening a document from a no-db directory ( as declared in General->Do not store records for documents in the following directories ), a wrong out-of-synch message was displayed

o 20150910 - Add configuration: a new record was created also when adding a new configuration to a document opened from a no-db directory ( as declared in General->Do not store records for documents in the following directories )

o 20150909 - SolidWorks Integration ( DBWorks ): Remote Access: Options->Environment->Remote Access->[X] Always refresh Document Local Copies on Open: the option was not working on totally missing references

o 20150908 - Remote Access: Delete Local Copy: the command was not deleting the local copies of drawings, master drawings and attachments already downloaded

o 20150908 - Workflow: cut-list items were left in the workflow after the approval of their parent weldment parto 20150908 - Revisions: Approve on a previous revision: the _RXX_xxx custom properties related to the last discarded

revision were not properly blankedo 20150908 - Assembly Approval: Options->Revisions->Approval->[X] Avoid assembly approval if components are not

released->[ ] Accept parent approval if children are Unmanaged: the option was not working as expectedo 20150908 - Options->Revisions->Files->[X] Avoid to restore Documents with still no approved revision: files in

checked-in or checked-out state, but still not approved, were not consideredo 20150907 - Options->Open/Save->[X] Always calculate mass properties on save->[X] Calculate only Lengths and

Dimensions: the option was not considering the Data Input->Length calculation->Name of sketch for length calculationo 20150907 - DBWorks Feature Manager: with the Browser opened, the commands RMB->Working Set... were not applied

to the Browser's Working Seto 20150907 - Browser: RMB on the Search button: the Most Recently Used strings list was not correct when choosing a

previously used search string in the listo 20150907 - DBWorks: saving all the configurations automatically with activated the calculation of the mass properties

was breaking the configuration previews, causing the message "preview not available" to be displayed in the Browser preview window

o 20150904 - Admin Tools: Material Editor would not start on clicko 20150904 - DBSolidEdge Autocheckin/checkout on SaveAs: the status bar progress info was not shown the performing

actions, giving the impression of a total hang of the system in case of huge assembly.o 20150904 - DBSolidEdge: improved reliability of mass properties computation.o 20150904 - DBSolidEdge: working with configurations, it is fixed a problem of wrong assembly structure.o 20150903 - DBSolidEdge: since of a regression introduced with build 20150608, using the settings "Environment-

>[X]Always use DBSolidEdge 'Save' and 'Save As'" and "[ ]Use DataEntr.LST data entry script on DBSolidEdge 'Saveas...'" only a ‘.par’ file extension was allowed in Create Part In-Place command execution.

o 20150902 – MwLicense Manager: fixed some instability in client/server comunication.o 20150902 - Excel BOM: would not fill the value for the MAKE_BUY field. Please note that the value is not necessarily

coming from the DOCUMENT table as the PARENT_CHILD table also affects the value reported in the Excel BOM output

o 20150817 - BOM Table (used in output scripts and in BOMs added to drawings): If the user added fields having names that include umlaut characters, the custom script for cell values wouldn't work and would throw an exception; field values are now added as constants in the script using a field name where the umlaut character is replaced by its closest latin character (i.e. LÄNGE is added as LANGE).

Service Pack: 2.3 Build: 20150807

Bugs fixingo 20150806 - MwPDM installer was creating an obsolete association of template script files in Windows Explorer.o 20150804 - Released Database Mode: the "EVENT_DOCUMENT_REMOVE_FROM_RELEASED_DATABASE"

EVENT_LOG record was not created when deleting a Document in the Main Database with a state different from RELEASED

o 20150804 - Released Database Mode: the deletion in the Released Database was not executed if the Document in the Main Database was in a state different from RELEASED

o 20150804 - DBSolidEdge: working with pattern of cut list elements at assembly level, it is fixed a problem in BOM quantity computation. The BOM quantity is now computed by traversing the defined components and making a comparison between names and volumes of cut list items. Regarding volumes, if the exact values do not match, the algorithm implements also a strategy based on the bounding box to manage some altered geometries (hole definition,…)

o 20150804 - User Interface: for many UI dialogs, it was possible to shrink them to an unreasonable sizeo 20150803 - Partial Replication: when deleting a local company record on a Subscriber, a subsequent update of the same

record on the Publisher was pushing again the same record back to the Subscriber databaseo 20150803 - Preview of attachments: if the attachment file was missing, no "file not found" message was displayed

o 20150730 - DBWCONN.PAR: DBWORKS_CRITICAL_NUMBER_OF_CHILDREN: if declared, fake children with fake quantities were considered for the check about performances in the Tree expansion

o 20150729 - DBWShell("PlotAll"): when working with the allowDuplicateEntries parameter set to 0, files not found in the archive were causing an error

o 20150729 - DBWShell("PlotAll"): when working with the allowDuplicateEntries parameter set to 0, duplicated entries in the input .txt file were causing blank lines in the Plot Dialog

o 20150728 - DBWScrpt.lib: a regression, introduced with SP 2.2 and causing scripts to no more properly compare input parameters with integer values, has been fixed; the hot-fix has been backported to the released SP2.2 version

o 20150727 - Options->Open/Save->Save->[X] Always calculate mass properties on save->[X] Calculate mass properties only when…: the option was ignored when saving assemblies

o 20150727 - SolidWorks Integration: DBWorks Task Pane Browser: the search box was displaying an "OK" for confirming the search, and not the Binoculars icon

o 20150727 - Options: Open/Save->Save as: the option "Don't close file on Auto Check-in/Check-out" was not grayed under the SolidWorks platform ( where it is not possible to implement it )

o 20150727 - Options: DBW Feature Manager: the option "Use Simple Popup Menu in the DBWorks Feature Manager" was not grayed if the "User Interface->Browser Behavior->[ ] Use intelligent menus" was disabled

o

Service Pack: 2.2 Build: 20150723

Enhancements20150713 - New DBWShell command: EnableDisableUpdateFileCustomPropertiesWhen invoked with value "0" it permanently disables any update to the file custom properties made when the CAD models are closed.Example:sub main()

DBWInit(TRUE)DBWShell("EnableDisableUpdateFileCustomProperties 0")

end sub

Bugs fixingo 20150723 - MwPDMAPI: it is fixed a problem of using the PDMSystem.GetEnvironment method (previously it was not

possible to retrieve some scripting values like “DBWorksApplicationName”, “DBWorksDrawingSheetsSheetScaleEnvironment”, “DBWorksIsx64”, “DBWorksCADApplicationName” and “DBWorksCADApplicationVersion”)

o 20150722 - SolidWorks Integration: fixed an issue caused by incorrect values returned by the SolidWorks Document Manager API when accessing suppressed components custom properties

o 20150722 - DBWorks BOM: working with Flat Bom Table, the ballooning of sectioned view was wrong in case of BOM_GROUP specification

o 20150722 - Admin Tools: Project User assignment: the tool would not display the projects assigned and would not allow to assign the projects to users

o 20150721 - Database Analysis Utility: if there is no DOCUMENT record with a UNIQUE_ID of 0, the PARENT_CHILD report finding records with parents or children with UNIQUE_ID of 0 will have a clean up query, allowing the administrator to delete any records from the PARENT_CHILD table with PARENT_UNIQUE_ID = 0 or CHILD_UNIQUE_ID = 0.

o 20150721 - Options: the text area of several dbw options (General-> Drawings, User Options, User Interface, Open/Save,…) have been resized to better fit German text

o 20150721 - Excel BOM: siblings items, if children of BOM_GROUP assemblies, would not be grouped and quantities summed - added the option to avoid gaps in BOM positions. Note: when this option is active the position assigned in the Edit BOM dialog is overwritten, while the sort order is maintained.

o 20150720 - DBWArm: Record Level Access Control: Remote Access: the recursive operators were not checking the DBWARM_CLASS of the child document, so allowing remote access operations even if the specific DBWARM_CLASS assigned to the child documents was not allowing them.

o 20150716 - Revision Outputs: multiple extensions for one output ( example PDF+DWG ): no RMB popup menu was displayed for opening the output files being created

o 20150716 - Demo mode: under some circumstances, the demo mode executions shows wrong messageso 20150714 - MwLicense Manager: in case of client/server communication problem, the internal timeout has been reviewed

to avoid extra delay in application execution

o 20150714 - Options: the Italian version of Options->General->Drawings would not display entirely some of the label contents

o 20150713 - API: DBWFilterSelect3: in case of multiple choices the result returned by the function would be empty. Now it is the first value in the multple selection.

o 20150713 - SolidWorks Integration: Local Checkout Mode: with the Remote Access enabled, the check-in of a part with its drawing opened in the background it was causing a crash of SolidWorks

o

Service Pack: 2.1 Build: 20150710

Behavior Changeo 20150706 - DBWShell command: the existing BomClear command has been renamed in BomDelete to be

consistent with related DBWorks command

DBWShell("BomDelete <uniqueID> <only current sheet>")

where <only current sheet > is an integer defined as follow:

0: delete BOM Table and all involved persistent attributes only current sheet1: delete BOM Table and all involved persistent attributes in all sheets defined in the drawing document

Example:'…DBWShell("GetActiveDocUniqueId")DocumentUid = DBWResult("@DOCUMENT_UNIQUE_ID")DBWShell("BomDelete " & DocumentUid & " 1")

Enhancements20150708 - Autocad 2016 support for DWG utilitiesImproved the support for Autocad 2016 files for all the DWG reading and conversion utilities ( properties, pdf, etc. )

20150708 - Database Analysis Tool: new options: "Disable Report Pop-ups" and "Always Show 'Send to MechWorks PDM' button"Disable Report Pop-ups: If enabled, the 'details' pop-up (which normally appears when hovering over a particular report) will no longer appear.Always Show 'Send to MechWorks PDM' button: Normally (when this option is disabled), the 'Send to MechWorks PDM' button for a particular report is hidden from the UI until a user selects the report. If this option is enabled, it will prevent the button from getting hidden.

Bugs fixingo 20150709 - DBWAclServer: Local Checkout Mode: when checking-in a document still not existing in the shared-

checkedin-folder, an error was issued by DBWAclServero 20150709 - DBWAclServer: the DBWShell("FileExists") API was wrongly using DBWAclServer when testing files

existence under the GlobalParameterPath root o 20150708 - Database Analysis Tool: modified a few plural strings to be better compatible with German installationso 20150708 - Database Analysis Tool: in some cases, the report file names were too long. The date/time stamp was

removed from the file names to account for thiso 20150708 - DBWArm: Group rights editor: the label for denying the "Increment Revision State" operation was named

"Increment the revision for all the parents"o 20150708 - Floating licenses Manager: setting the

DBWORKS_MAX_IDLE_TIME_BEFORE_FLOATING_LICENSE_RELEASE parameter in DBWCONN.PAR, it is now possible to interrupt the countdown process through new activity on the involved workstation

o 20150707 - DBWFilterselect3: would not return the multiple result correctly as an arrayo 20150707 - Remote Access: Take Ownership: the option "Remote Access->[X] Deny Take Ownership" was not applied

to the "Working set->Take ownership" functionalityo 20150706 - Database: in specific environments, the initial check on missing fields was causing a crash of the applicationo 20150701 - Read a Briefcase: the error message "Critical Error: the Briefcase appears corrupted" could appear under

specific database condition when processing the parent drawings of the exchanged documents - in general, this fix cover also errors causing wrong links between parts/assemblies and their parent drawings

o 20150630 - DBSolidEdge: CustProp.TXT and BOMTitle.txt: added default files with Solid Edge built-in properties for German and Italian languages.

o 20150630 - DBSolidEdge: when checking-in an opened drawing, after the message that was alerting about the need to start the checkin from the model, it was also displayed the message "Document cannot be checked-in because it is in [BEING_MODIFIED] state"

o 20150630 - DBSolidEdge, DBInventor: it is fixed a problem of BOM and Variant Notes update when opening read-only drawing documents (closing the document a wrong confirmation dialog was shown to save changes)

Service Pack: 2.0 Build: 20150626

Behavior Changeo 20150512 – Tree Full Expansion

A warning message is now displayed when pressing the Tree "Expand" button.

Enhancementso 20150625 - DBSolidEdge: added support for SolidEdge ST8

It is now possible to install DBSolidEdge on SolidEdge ST8.The support for SolidEdge ST5 has been removed.

o 20150618 - Replication script replicate_Files_batch.vbs: New supported parameters SENDLOGASATTACHMENT, MAXLOGATTACHMENTSIZE and new value for SENDEMAIL_ALERTIn the email sent when replication issues occur you can define to send the log file as attachment, and eventually define the maximum size for the log files avoiding sending huge files in the email. The SENDEMAIL_ALERT parameters now supports the value “2” to indicate sending email even when no errors occurred.The email body now always contains the basic log summary info.

o 20150617 - SolidWorks Integration: new buttons in the Command BarThe “Utility” and “About” commands are now available in the DBWorks Command Bar.

o 20150615 - New DBWShell command: FileGetPropertiesThe command outputs into the %tmp%\dbwreslt.in text file the file properties of the assigned <documentPathName>. If the optional <configurationName> parameter is passed, then the properties will be related to the specific configuration properties section.Native API.Net, File subsystem: new method FileGetProperties to retrieve the defined file properties.

Syntax:DBWShell("FileGetProperties <documentPathName> [<configurationName>]")

Example:

'.x64Sub main()

DBWinit(TRUE)

filePath = "E:\test\fogbugz\case47905\case47905PART1.SLDPRT"configuration = "Default"DBWShell("FileGetProperties " & Replace(filePath," ","|") & " " & Replace(configuration," ","|") )

Set fs = CreateObject("Scripting.FileSystemObject")Set tfolder = fs.GetSpecialFolder(TemporaryFolder)Set f = fs.OpenTextFile( tfolder & "\dbwreslt.in", ForReading, True )

Dim tokens

Do While f.AtEndOfStream <> Trueline = f.ReadLineif line<>"" then

tokens = Split( line, "=", 2, 1)DBWShell("ActivityConsolePrint " & Replace(tokens(0)," ","|") & "=" & Replace(tokens(1)," ","|"))

end ifLoop

f.Close

End Sub

o 20150604 - DBSolidEdge: state of command bar buttonsThe command bar layout has been improved by enabling/disabling the state of buttons.

o 20150526 - BOM Options Enhancements ( SolidWorks Integration only )Working with DBWorks BOM in R15 sp 2.0, a new set of options (user level) is available in GeneralDrawings to configure the BOM table and balloon display:

The options are persistent and stored in the DBWApp.par/DBWLApp.par; they are applied each time a BOM table is inserted or refreshed to understand how the table and balloons should be displayed.

Notes: The MAKE_BUY used component value is based on the Document Table field.

Balloon

The Balloon options allow the user to control the balloon style, size, and color based on the MAKE_BUY value.

Balloon Style: the style of the balloons can be controlled depending on the MAKE_BUY value. The various options are as follows:

Balloon Size: the size of the balloons can be controlled depending on the MAKE_BUY value. The various options are as follows:

Balloon Color: the color of the balloons can be controlled depending on the MAKE_BUY value. A color dialog is shown as follows:

Once defined, the list of defined Balloons Options becomes available to provide more feedback at user level (to list/delete defined options).For example, setting the options for PART/MAKE document with Box Style, Red Color and a Size of 3 characters, the Balloon option looks like:

and, at drawing document level, the balloon display is updated accordingly:

Item Number

The Item Number options allow the user to control how the Part Number and BOM Position are displayed in the table and balloons.

Indented Item Separator: in an indented BOM, this option allows to redefine the separator character in the BOM Position, the default is a period.For example, setting the option to a dash:

The modified BOM Position effects BOM table and Balloon definition.

Leading Zero Display: this option controls whether or not there is a leading zero displayed before the single-digit item number (according to Excel BOM generated position). For example, with reference to BOM Table with two digits Excel BOM generated position:

The modified BOM Position effects BOM table and Balloon definition.

Hide Child Item Number: this option controls whether Child Item Numbers are displayed in the indented BOM. By default it is disabled.

For example, enabling it:

The modified BOM Position effects BOM table and Balloon definition.

Hide Configuration in ID: for environments using configurations in the main ID, this option allows to hide the configuration portion (based on default definition between brackets “(…)”) of the ID in the drawing table. By default it is disabled. For example, enabling it:

The modified BOM Position affects only the BOM table ID column display.

Show ID for NO_BOM items and Use Top Level NO_BOM. These two options involve only Balloon definition and they are used together to control how the balloons of NO_BOM items are handled:

o “Show ID for NO_BOM Items” determines if - and for what levels - the ID (rather than the BOM Position Number) should be used in the balloon;

o “Use Top Level NO_BOM” determines what is displayed for NO_BOM items at a level greater than the level set in the “Show ID for NO_BOM Items” option.

Based on specific options value, the expected behavior is:

Show ID for NO_BOM Items

Use Top Level NO_BOM

Expected Behavior

-1 Not used. IDs are used for all NO_BOM items

0 Not used. IDs are not used in the balloons attached to

NO_BOM itemsEnabled. IDs are used in the

NO_BOM items with a level equal to the level set. For greater levels, the parent ID is used.

1..n

Disabled. IDs are used in the NO_BOM items with a level equal to the level set. For greater levels, the own ID is used.

Here are some examples (the “Hide Configuration in ID” option is on for better visibility, there are NO_BOM item at level 2, 3 and 4):

- setting the “Show ID for NO_BOM Items” option to -1, all NO_BOM items show their ID in the balloons:

- setting the “Show ID for NO_BOM Items” option to 0, no items show their ID and the BOM_POSITION is used in the balloons:

- setting the “Show ID for NO_BOM Items” option to level 3, NO_BOM items at level 3 show their ID:

and enabling also the option “Use Top Level NO_BOM”, then NO_BOM descendants of level 3 NO_BOM items show their level 3 NO_BOM parent ID:

o 20150521 - RemoteAccess: DBWCONN.PAR: new parameter DBWORKS_OK_DELETE_REMOTE_ACCESS_LOG_ENTRIES_OLDER_THAN_ONE_YEARThis new parameter causes the MechWorks PDM client to delete any entry in the DBW_REMOTE_ACCESS_LOG table older than one year - default value is 0 ( no action )It is active only when the logged in user is a DBWArm "DBWorks Admin" user.When the option has 0 value ( the default ), a message in the Activity Console is displayed for the admin when the number of records is larger than 100000 records:

At that point, the MechWorks PDM Administrator can cleanup the table ( typically during the week-end or when no database activity is needed for at least one day ) manually, using SQL Server Management Studio, or by temporarily changing the DBWORKS_OK_DELETE_REMOTE_ACCESS_LOG_ENTRIES_OLDER_THAN_ONE_YEAR value to 1, temporarily saving the DBWCONN.PAR, starting a MechWorks PDM client, waiting for the cleanup, then removing once again the new value in the DBWCONN.PAR

o 20150520 - API.NET Enhancements: new method IsSuperAdmin2Native API.Net, DBWArm subsystem: new method IsSuperAdmin2 to get the current user state as Boolean value.

o 20150519 - Better Tree User Interface feedback when expanding large Projects/AssembliesA progress bar is now displayed when expanding large Projects/Assemblies ( with more than 500 children )

o 20150519 - Better management of the DBWORKS_CRITICAL_NUMBER_OF_CHILDREN DBWCONN.PAR parameterThe check is now performed against any object, Projects included. The default value is 5000 children.

o 20150518 - Better performance in Project Tree rebuilding with thousands of top level ProjectsA great speed enhancement has been applied to the Project Tree rebuilding for databases with thousands of top level Projects

o 20150512 - ESC key more reactive in Tree Rebuilding/ExpansionThe ESC key is now more reactive when fully expanding a brach of the Tree

o 20150512 - Full Preview: option "User Interface->Preview->Max. file size for 3D preview (0=any size)

The option controls now also the maximum allowed file size for the Full Preview

o 20150506 - SolidWorks integration: support for all the Length Units of Measure availableThe following Length Units of Measure are now supported - on the right side the string that is inserted in the UML field.

ANGSTROM "a"FEET & INCHES "ft&in"MICRON "mc"MILES "mi"NANOMETER "nm"MICRO INCHES "min"

o 20150506 - Data Input Form: new record layout improvementThe data grid is now fully expanded at the bottom of the form when creating a new database record for a document

o 20150505 - @DEFAULTPROJECT keyword for Prefix<->Project link listIt is now possible to define an association between @DEFAULTPROJECT and an existing Project, for creating a rule that will assign to such project all the documents that does not match with the other rules

o 20150504 - Better management of Revision Output locking issuesWhen for any reason the creation of an already existing Revision Output file is blocked because someone in the network is viewing the file using Explorer or any other viewer, an attempt is now made for unlocking the file, so making possible to overwrite it with the new revision output being created

o 20150504 - Server-side MwLicenseMonitorIt is now possible to run the monitor utility from the server (where the License Manager service is installed) - without installing any other MechWorks applications. For this particular execution, the Borrow/Unborrow operation is not allowed.

Bugs fixingo 20150625 - Floating Licenses Manager: the DBWCONN.PAR

DBWORKS_MAX_IDLE_TIME_BEFORE_FLOATING_LICENSE_RELEASE, when set to some value ( in minutes ), it was causing a SolidWorks crash when releasing the license

o 20150625 - MwPDMApi/MwPDMEvents: improve reliability of MwPDMEvents.dll loading to avoid errors in referenced module management

o 20150624 - SolidWorks integration: Checkin from the toolbar: when checking-in a document, already used in a drawing, and pressing CANCEL in the data input form, the model was closed without being saved - the behavior is now that the model stays opened

o 20150624 - MwPDMApi/MwPDMEvents: improve reliability of MwPDMEvents.dll loading to prevent wrong execution in case of module replacement with previous version in the <LST_DIR> folder

o 20150624 - MechWorks Standalone Client x64: it was not able to display the static preview of SolidEdge files, even if the SolidEdge Free Viewer was installed ( Notes: the SolidEdge Free Viewer is a 32-bit process, so the implementation of the fix is based on the out-of-process utility BIN\DBWFileThumbExtractor.exe )

o 20150623 - Options: the German version of Options->General->Drawings would not display entirely some of the label contents

o 20150622 - Database Analysis Utility: if the DBW_ATTACHMENTS table was missing from the database, it was causing the application to crash during start up

o 20150622 - MwLicense Manager: improve reliability of license manager logging and auto-recovery to prevent unmanaged exception

o 20150622 - Drawing BOM: working with BOM_GROUP specification for the MAKE_BUY field, it is fixed a problem of wrong position-numbers balloons

o 20150619 - Rename: when executed with the Dataentr.lst version R15, the CATEGORY fields were not properly filledo 20150618 - DBWorks toolbar: it is fixed a problem of toolbar positioning between sessiono 20150617 - Options->User Interface->Browser Behavior->[X] Use fixed character size font in Trees and Grids: the

option was requiring an application restart for applying to the Task Pane DBManager controls ( Note: due to some CAD limitations, it is not possible to apply the fixed size font to the Task Pane DBManager search grid ) - the option behavior is now dynamic, no more requiring a close/reopen of the Browser

o 20150616 - DBSolidEdge: the custprop.txt properties import definition was not working at all - the setup now installs an additional custprop_se.txt sample file with the correct SE-specific property names - even the delivered sample bomtitle_se.txt has been updated with the correct SE-specific property names

o 20150616 - BOM of Balloons: the values for custom fields added to the PARENT_CHILD table would not be displayed if the table name was localized in the parameter file or if the field name contained lower case characters

o 20150615 - Admin Tools: the tool for connection parameters would not accept a valid file dsn and would assign a default data source that may result invalid

o 20150615 - Remote Access: the undo checkin revision files were not copied when downloading/uploading all the revision files

o 20150615 - DBInventor: the unload/reload of the DBInventor addin was not rebuilding the Ribbon baro 20150611 - Tree: Creation of a sub-project: a particular sequence was creating duplicated entries of sub-projects in the

Treeo 20150611 - Browser: Drag&Drop: with the option "User Interface->Tree->[X] Enable drag-and-drop on Assemblies"

enabled for all documents ( not only for fake components ), it was possible to drag a drawing from a Grid and drop into an assembly in the Tree

o 20150611 - Remote Access: Replication: Transfer of ownership command: in a replicated database environment, the Transfer Ownership command was not considering the DBW_COMPANY_INFO::REPLICATION_PARTNERS value if not null, so proposing always all the companies listed in the DBW_COMPANY_INFO table and not only those listed in the REPLICATION_PARTNERS field for the current company

o 20150610 - Advanced Filter, Web Client: the default icons in the grid and trees for SolidEdge models would not be compliant with SolidEdge and would show SolidWorks icons instead

o 20150610 - Delete record: Confirmation dialog: the displayed unique_id of the referenced documents was equal to the unique_id of the document to be deleted

o 20150610 - DBInventor: avoided the noisy message "Properties have been updated outside the current session" when using the BomTitle.txt with Inventor specific custom properties and saving a Drawing

o 20150610 - DBInventor: an exception was happening when creating the JPG preview file for specific models o 20150609 - BOM of Balloons: fields with mixed case names would not appear in the BOMo 20150609 - DBSolidEdge Drawing BOM: the DBWorks LOG file lists now all the information about computed balloon

hierarchical referenceso 20150608 - Scripting: Document type specific scripts ( LST\P, LST\D, etc. ): the RMB on the drawing icon in the same

tree line of a part/assembly it was launching a part/assembly specific script and not the drawing specific script, even if listed in the RMB popup menu

o 20150608 - DBSolidEdge Save Member As in FOA: with reference to previous fix “20150330 - DBSolidEdge Create Part In-Place: with the "Environment->[X] Always use DBWorks 'Save' and 'Save As'" and the “[X] Use DataEntr.LST data entry script on DBSolidEdge ‘Saveas…’ ” it is now implemented the automatic registration (previously it should be executed manually since only the categorizing process data was implemented).The fix is designed to provide a full coverage of DBSE automatic registration related to new SE documents.For each new document going to be saved, the DBSE integration is now executed if the option “Environment->Always use DBWorks 'Save' and 'Save As'” is on (by pressing the SHIFT key it is possible to temporary disable it). Then, according to the option “Use DataEntr.LST data entry script on DBSolidEdge ‘Saveas…’”, the categorization is performed (option on) or a simple 'file save as' dialog is shown (option off).Also the option ”Automatic check-in after a DBSolidEdge Save as” is now managed accordingly: to set the correct access rights at disk level, the document could be opened, saved and closed.

o 20150604 - SolidWorks integration: when processing SolidWorks 2015 files, the log was displaying the error "Error in ::StgOpenStorage"

o 20150604 - Open of a CAD document: a message "Tree traversing ..." was displayed at the bottom of the Browsero 20150603 - DBSolidEdge: improved implementation of revision commands, to fix some problem related to options

management, document state and scripting executiono 20150601 - Database Analysis Utility: if the ...schema\dbwgtypes.txt file was used and did not have all T values defined, it

was causing the application to crash on start upo 20150601 - SolidWorks integration: saving of a drawing: the structure of assemblies that were changed in memory ( for

example suppressing some components ) was not updated in the database - Note: any check on suppressed components is not applied in such case - a correct way of working should always have any model to be saved before its drawing

o 20150529 - DBSolidEdge: working with drawings, the “Bom of Balloons” command (DBWorks specific) was wrongly available (RMB)

o 20150528 - Advanced Filter from Toolbar: Missing components state list, type list have been added, a check box that should not have been displayed in the general tool has been hidden

o 20150528 - DBWorks BOM: setting the Leading Zero Display option to “0#”, a ‘0’ will be added to obtain a 2-digit substring (e.g. “01.02.09”, “01.02.10”)

o 20150528 - DBWShell("swSaveAs"): 3D PDF creation: due to an internal SolidWorks issue, the creation of a 3D PDF was returning a swGenericSaveError ( 1 ) error, even if the 3D PDF was created correctly; such error is now temporarily ignored until SolidWorks will fix the issue

o 20150527 - Released Database Mode with tables in a separate database: if the _RELEASED datasource names were not found in the ODBC setup, the application was crashing at startup

o 20150527 - DBWorks BOM: with the option “Hide Child Item Number” activated and the option “Show ID for NO_BOM” equals to -1, it is fixed a problem of NO_BOM balloon display

o 20150527 - MwLicense Manager: it is fixed a problem related to DEMO mode executiono 20150526 - Web Client: Update of parents and children panes: a click on a record in the grid or the refresh of a query

sometimes would not update the parents and children panes, leaving them in the loading stateo 20150526 - DBWScrpt.LIB: DBWsaveBomDataAsHtmTree function: the preview images are now created in the %temp%

folder. o 20150526 - MwPDMApi.Bom.SaveBomDataAsHtmTree method: the preview images are now created in the %temp%

folder. o 20150525 - .LST files: .DEFAULT: it was no more possible to assign default values to .LST based on SQL queries - the

issue was a regression introduced with the following bug fix: "20150122 - DBWorks for SolidWorks 2015: .LST files containing a .DEFAULT statement with the execution of a script ( i.e. .DEFAULT $(.VBSCRIPT myScript.lst) ) were causing a crash of the application"

o 20150521 - MwLicense Manager: it is fixed a problem related to wrong MWLICENSEMGR_SERVER_NAME/MWLICENSEMGR_SERVER_PORT parameters.

o 20150521 - Drawing BOM: fixed a problem of BOM table resizing in BOM Refresh command execution, to keep current table dimension. Only during BOM Insert command the Table is automatically resized to fit the computed values.

o 20150519 - DBSolidEdge: Create Part In-Place: with reference to previous fix “20150330 – DBSolidEdge Create Part In-Place: with the "Environment->[X] Always use DBWorks 'Save' and 'Save As'" and the “[X] Use DataEntr.LST data entry script on DBSolidEdge ‘Saveas…’ ”, there was a limitation in command execution because of missed categorizing process data. Note: before starting to edit, it is suggested to save the document (at this level the related DBSE data input form is filled with the categorized values), the save process is now executing automatically to complete document registration.

o 20140518 - Advanced Filter: the state could not be saved if the common files dir was protected from creating files for the current user. Starting from this version the state is saved as a parametric file inside the Application Data directory.

o 20150518 - Project Tree: option Tree->[X] Show project descriptions in the Project Tree: a TAB character inserted in the DESCRIPTION field it was causing the Project to appear as checked-out by another user

o 20150518 - OnSubmitToWorkflow.LST: in case of multiple selection, it is now possible to manage WorkingSet creation properly

o 20150514 - Option "General->Assemblies->[X] Force Make/Buy attribute from SW assembly cfg option:'[X] Don't show child components in BOM.'": the MAKE_BUY field was set to BUY if a part was opened and if the assembly was checked-in from the Browser without opening it

o 20150513 - Open Wizard: Preview: Open Wizard would fail to display correctly the preview of Drawings for files in SW2015 format

o 20150513 - DBSolidEdge: the execution of “Save Copy As” command in SE was wrongly stopped after categorizing.o 20150513 - Admin Tools: Link field to an external data source: since the support for the START/STOP command has

been discontinued, the admin tool generates a .vbscript that allows to select the values, as specified in the help topic Advanced Data Input

o 20150512 - Project<=>User Assignment: fixed a performance bottleneck happening at startup when the currently logged in user was a DBWorks Admin, and when the option "DBWArm->[X] Users with no Projects assigned have no access to any Project" was checked

o 20150512 - Tree Page: Full Preview: switching from the simple Preview tab to the Full Preview tab it was not activating the full preview

o 20150512 - DBWArm: Project User Assignment: the Tree was displaying duplicated entries ( as top level projects ) for assigned sub-projects

o 20150511 - Prefix<=>Project assignment: during the traversing of assemblies, it was happening that some components were not following the Prefix<=>Project assignment, and they were added to the current project

o 20150511 – DBSolidEdge: improved the internal window handle updating, to prevent problem in graphic objects management.

o 20150507 - SolidWorks Integration: with the option "General->Assemblies->[X] Force Parent-Child Make/Buy attribute from SW assembly components option:'[X] Excluded from BOM'" checked, and the "General->Assemblies->[ ] Force Parent-Child Make/Buy attribute for any SolidWorks Assembly Envelop" unchecked, the parent-child attribute was NOT set for components of type Envelop, even if in SolidWorks, such components are marked ( with an inactive checkbox ) as "[X] Excluded from BOM"

o 20150507 - DBW_NO_LIFE_CYCLE: the "red cross" marker was not displayed in the grids

o 20150506 - DBWorks Drawing BOM: working with drawings containing views related to different documents in the same sheet, it is fixed a problem of balloons management performing an internal computation of the related BOM (using the already defined parameters) to update the balloons data properly.

o 20150606 - DBSolidEdge: when viewing/editing the currently opened document record with the buttons in the upper toolbar, it was no more possible to show the RMB popup menu for any record in the Used By grid

o 20150606 - Admin Tools: the field COMPANY_ID is now checked for existence also if the remote access mode is not active

o 20150606 - DBSolidEdge: Workflow: some instabilities during the use of the Workflow Panel have been fixedo 20150506 - Data Input Form: the data grid was not properly resized on the first display of the form; after a resize of the

dialog, the data grid was properly fitted into the formo 20140505 - Advanced Filter: Would not apply correctly global conditions set in the Browser optionso 20150504 - Admin Tools: It was not possible to set a filtering value containing spaces in DATAENTR classeso 20150504 - Admin Tools: Add field to the revisions table: allow to add boolean fields

Service Pack: 1.2 Build: 20150430

Enhancementso 20150423 – DBWShell("IsFileLockedExclusive")

This new command checks if a file is locked exclusively by another application ( for example by Adobe Acrobat Reader when viewing a PDF file, or by Windows Explorer when previewing a PDF file ).Syntaxcall DBWShell("IsFileLockedExclusive <FilePathName>")

Parameters<FilePathName> the full file path name

Return values@IS_LOCKED_EXCLUSIVE 0: the file is not locked | 1:the file is locked

API.Net: the same command is available also in the API.Net, File subsystem, new method IsFileLockedExclusive

o 20150421 – Mapping of block attributes to revision history valuesIt is now possible to map block attributes to revision history values defined in the MechWorks_Pdm Revision options. In the following example the fields REVISION, DESCRIPTION, APPROVAL_DATE, APPROVED_BY have been defined in the MechWorks_Pdm Revision options for the last 4 revisions.In this file ACDTitle.par contains the mapping between the internal block attribute name and the last 4 revision history values.

FIELDMAP GEN-TITLE-REVA1=DBW_REV_1_REVISIONFIELDMAP GEN-TITLE-REVA2=DBW_REV_1_DESCRIPTIONFIELDMAP GEN-TITLE-REVADAT=DBW_REV_1_APPROVAL_DATEFIELDMAP GEN-TITLE-REVANAM=DBW_REV_1_APPROVED_BYFIELDMAP GEN-TITLE-REVB1=DBW_REV_2_REVISIONFIELDMAP GEN-TITLE-REVB2=DBW_REV_2_DESCRIPTIONFIELDMAP GEN-TITLE-REVBDAT=DBW_REV_2_APPROVAL_DATEFIELDMAP GEN-TITLE-REVBNAM=DBW_REV_2_APPROVED_BYFIELDMAP GEN-TITLE-REVC1=DBW_REV_3_REVISIONFIELDMAP GEN-TITLE-REVC2=DBW_REV_3_DESCRIPTIONFIELDMAP GEN-TITLE-REVCDAT=DBW_REV_3_APPROVAL_DATEFIELDMAP GEN-TITLE-REVCNAM=DBW_REV_3_APPROVED_BYFIELDMAP GEN-TITLE-REVD1=DBW_REV_4_REVISIONFIELDMAP GEN-TITLE-REVD2=DBW_REV_4_DESCRIPTIONFIELDMAP GEN-TITLE-REVDDAT=DBW_REV_4_APPROVAL_DATEFIELDMAP GEN-TITLE-REVDNAM=DBW_REV_4_APPROVED_BY

At the moment the mapping must be added manually in the ACDTitle.par file with a text editor.

o 20150420 - MwPDMApi: new method IsConnectedNative API.Net, Application subsystem: it is now available the IsConnected method

The method should be invoked by the client application for assuring that the .exe COM server ( MechWorks PDM Standalone or any CAD Integration ) is still running

o 20150416 - @... scripts for Revision Output: new output parameter @REVISION_OUTPUT_FILE_PATH_NAMEThe scripts invoked for the Revision Output can now output the new parameter@REVISION_OUTPUT_FILE_PATH_NAMEIn this case, MechWorks PDM will use the new file name and apply the database options "Add as a Child Generic Document" or "Add as Attachment".

o 20150409 - Remote Access: Concurrent EngineeringAny component to be reloaded is now checked against a possible newer version available from a Remote Site, and in case the local copy was obsolete, an automatic refresh of the component is executed before reloading it

o 20150408 - Data Input Form resized layout improvementWhen resizing the Data Input Form, there is now much less wasted screen space.

Bugs fixingo 20150429 - Performance: fixed a database performance issue when executing specific queries in the Browser's Query Pageo 20150428 - Working set->Edit: with the option "[X] Make read-only the fields with a .LST defined" checked, and with a

.LST defined for the field, it was possible to assign any value to the field, and not only the values defined in the .LSTo 20150428 - Tree: Drag&Drop: it was possible to drag&drop a drawing over a part/assembly - this was causing a tree

recursion issueo 20150428 - Undo Checkin: "fake" documents were not managedo 20150427 - DBWorks: working with addin definition, it is fixed a problem related to “OnMenuItemEnabled” method call.o 20150424 - Scripting: MwPDM API: Document.GetDocIdFromDrawing, it is fixed a problem of IDs value computationo 20150421 - DBWAclServer: an automatic repaint of the Browser was executed after each DBWAclServer command, even

if not necessary ( Note: this is still necessary when invoking DBWServer, because it is an out-of-process COM server and in this case Windows fires a repaint of the Framework application )

o 20150421 - Output files: if an output file ( i.e. a PDF file ) was locked in some ways ( for example by enabling the PDF preview in Windows Explorer and selecting the file for a quick preview of it, or when opening the same file with Adobe Acrobat Reader ), the creation of the same output file ( for example when approving back on the previous revision ) was failing and the original output file was deleted and removed as a child document in the database - a warning is now displayed, telling the user that the output file can not be updated, and that the operation needs to be redone when the output file will be unlocked

o 20150420 - DBSolidEdge: a crash was happening on any drag&drop operation in the Treeo 20150417 - DBWShell("FileCopy"): when using the DBWAclServer, and when invoking the FileCopy command with the

flag for using the DBWAclServer, if the Windows Explorer Synchronization was switched off ( DBWShell("EnableDisableDBWAclServerWindowsExplorerSynchronization 0") ) then the target file was deleted without being replaced by the source file for any FileCopy beyond the 1st one

o 20150416 - Search: a performance issue has been fixedo 20150416 - Remote Access->[X] User DBWAclServer protected File Transfer: with the option enabled, and with a

USERS directory assigned as full UNC path ( ex: \\MYSERVER\MYSHARE\USERS\" ), a Browser repainting was happening every 10 seconds ( Note: 10 seconds is the delay for checking if any !COMMAND.!!! is available in the local USERS\<user id>\ directory - the bug was that a DBWAclServer operation was invoked for checking if such file was available, instead of using directly Win32 API, because the shared MechWorks_PDM_Server is by sure accessable by any client workstation )

o 20150416 - MwLicense Manager: it is fixed a crash running the MwLicenseMonitor on Windows 8. o 20150416 - Document Selector Dialog: the document grid became not visible when resizing the dialogo 20150415 - DBSolidEdge/DBInventor: it was not possible to preview SolidWorks files ( Note: in order to preview

SolidWorks files, the latest version of the SolidWorks Document Manager must be installed on the workstation - the DLL C:\Program Files\Common Files\SolidWorks Shared\swdocumentmgr.dll must exists and must be registered )

o 20150415 - MwLicense Manager: it is fixed a crash problem happening when running MwLicenseMonitor and MwPDM integrations

o 20150415 - Editing of multiple records: with the option "Data Input->[X] Import custom properties as field values using mapping file SCHEMA/CUSTPROP.TXT" activated, the values assigned from the Edit Form were overwritten by the values imported from the File Properties

o 20150415 - OnChangeCurrentProject.LST: it was invoked by mistake also when adding new generic documents, creating new bom items, dragging&dropping documents

o 20150414 - Concurrent Engineering: Local Checkout Mode: Read-only Local Copies: the Reload operations was not successful for models already opened in memory

o 20150413 - MwLicense Manager: with reference to build 20150319 (“20150319 – MwLicense Manager: improved auto-recovery of license manager server process halted for accidental causes (exceptions)”, it has been fixed a severe performance issue on the server where the service was running

o 20150413 - DBWAPP.PAR: with DBWAclServer activated, it is fixed a problem of managing the "Environment-> DBWServer-> DBWAclServer preferred server name” option

o 20150410 - MwLicense Manager: fixed some instability happening using the MwLicenseMonitoro 20150408 - Browser: when opened as a "CAD Child Window", if a previous session of MechWorks Standalone Client

was executed with a Browser maximization, when reopening the Browser from SolidWorks it was no more possible to access the maximize/resize windows buttons

o 20150407 - DBWorks Standalone: the option "Environment->Configurations->[X] Save only 1st level parent configuration for any Part/Assembly" was ignored during a Checkin of a SolidWorks Drawing

Service Pack: 1.1 Build: 20150402

Behavior Changeo 20150304 – Revisions Outputs

The "[X] Insert as Child Generic Document" and "[X] Insert as Attachment" options can no more be checked together.When the application starts, a warning is displayed in the Activity Console if the Global Parameters file is set in such way.In case both options are checked, the "[ ] Insert as Attachment" is unchecked automatically.

o 20150304 – Child Generic Documents and Attachments The same Generic Document can no longer be at the same time a Child Generic Document and an Attachment of a parent document.

Enhancementso 20150317 - Performance Enhancement in Grid Data Loading

A big performance enhancement has been applied to the Grids Data Loading when a large number of records is loaded in memory - the whole grid content is now instantly available even when tenths of thousands of records are loaded in memory.The DBWCONN.PAR parameter DBWORKS_CRITICAL_NUMBER_OF_RECORDS is now applied only when larger than 50000 records.The default internal value is now 0 ( Zero ) that means that no check is made on the number of records loaded in memory.

o 20150317 - Activity Console Log file Any Activity Console text output is now logged on the file %TMP%\DBW_ActivityConsole.LOG

o 20150312 - New Event: EVENT_EXPLORE The new event EVENT_EXPLORE is now written in the EVENT_LOG table whenever the user selects the RMB->Explore functionality

o 20150311 - OnCustomQueryTabSearch_<tab name>.LST It is now possible to change the default behavior of the Tree Page search box when a custom query tab has been activated.MechWorks PDM checks now if a script namedOnCustomQueryTabSearch_<tab name>.LSTis existing side by side with theOnCustomQueryTab_<tab name>.LSTthat implements the custom query, and if existing, it passes the control to such search script with the following input/output:

Input:@SEARCH_STRING the string that has been typed in the search box

Output:@SEARCH_QUERY the query that has been built by the search script related to the custom query currently activated

Example:

.VBSCRIPTSub Main()

DBWInit(True)searchString = DBWInput("@SEARCH_STRING")Query = GetQuery(searchString)If Not Query = "" Then

DBWOutput "@SEARCH_QUERY",Query,ForWritingEnd If

End SubFunction GetQuery(searchString)

GetQuery = <build your custom query here>End Function

o 20150309 - DBWShell("MDConvert"): DBWDwg2PdfPlotStyle.PAR Multiple .CTB files are now supported

o 20150305 - Debug Logging A message in the Activity Console is now displayed at startup if the Debug Logging is enabled.

o 20150223 - Conversion wizard (SolidWorks integration) Solidworks file backup option will now be disabled while file conversion is in act.

o 20150217 - DBWShell("MDxxx") commands: support for Adobe Acrobat Reader version 1.5 and newer formatsIt is now possible to open/edit/save PDF files in version 1.5 and newer.

o 20150216 - Tree: Drag&Drop of CAD parts under a Generic Document of type 'D'It is now possible to drag&drop true CAD parts under a Generic Document of type 'D'

o 20150216 - Workflow and Remote Access Event Logs size checkNew checks have been added for keeping the Workflow and Remote Access event logs in a reasonable size.The Workflow event log table ( DBW_WORKFLOW_EVENT_LOG ) considers now the option:General->Event Log->Max. num. of eveng log recordsfor deleting the log entries exceeding the max num allowed.The Remote Access event log table ( DBW_REMOTE_ACCESS_LOG ) automatically deletes entries older than one year.

Bugs fixingo 20150402 - DBSolidEdge: using the UndoCheckout and UndoCheckin revision commands, a new message is now

displayed to suggest the same executions from the Browser to prevent problem in document management.o 20150402 - DBWFilterSelect: was not compatible with filedsn connection stringso 20150402 - Remote Access: .TREE files: with the option for downloading all the revision files, the .TREE files were not

downloaded for Parts and Assemblies with a not null Configurationo 20150402 - DBSolidEdge: it is fixed a problem of sheets activation (background and 2D Model) when updating variant

notes.o 20150401 - Remote Access: REPLICATION_PARTNERS field: in case it was still uninitialized, it was not populated

with the current owner company when transfering the ownership - this was causing the document record to disappear from the current database after the transfer ownership execution

o 20150331 - Composed Of/Used By grids: a regression introduced with the enhancement "20150205 - Browser Grids: Better management of data loading for large result sets" has been fixed

o 20150331 - Remote Access: Drag&Drop: it was possible to add a document to a foreign document using a drag&drop operation

o 20150331 - Remote Access: REPLICATION_PARTNERS: the UnshareProject operation was not correctly removing the _SHARED company from the REPLICATION_PARTNERS

o 20150330 - Attachments: attachment files cannot exist in a folder that has a quote within the path.o 20150330 - DBSolidEdge Create Part In-Place: with the "Environment->[X] Always use DBWorks 'Save' and 'Save As'"

and the “[X] Use DataEntr.LST data entry script on DBSolidEdge ‘Saveas…’ ”, there was a limitation in command execution because of missed categorizing process data. Note: before starting to edit, it is suggested to save the document (at this level the related DBSE data input form is filled with the categorized values).

o 20150330 - Remote Access: Preview: the preview of foreign components was no longer availableo 20150327 - DBSolidEdge Mirror components: using SolidEdge ST7, it is fixed a problem of missed dataentr.lst script

execution when a part is mirrored inside an assembly.

o 20150326 - Remote Access: Transfer Ownership: DBW_COMPANY_INFO::SHARED_PATH values ending with a backslash ( '\' ) character were causing the error "Error [b7]: MAX_PATH was exceeded during the operation."

o 20150326 - DBSolidEdge: with the "Environment->[X] Always use DBWorks 'Save' and 'Save As'" and the “[X] Use DataEntr.LST data entry script on DBSolidEdge ‘Saveas…’ ”, it is fixed a regression introduced with build 20150121 causing a wrong DataEntr execution to generate a new filename saving a new drawing while closing. Compared to DBSolidEdge R14 version, the DataEntr execution is now executed as enhancement in saving new asm/part when closing, to provide the same DBWorks behavior.

o 20150325 - FileDSN: fixed many issues related to the use of FileDSN ( either in clear or encrypted ) as data sources o 20150324 - DBInventor: in particular conditions, a crash was happening when approving on a previous revision a

part/assembly, and a revision output was requested for such document typeso 20150324 - DBSolidEdge: using SolidEdge ST7 MP5, it is fixed the problem of wrong mass properties evaluation after

the first save operation using the options 'Always calculate mass properties on save' or 'Always calculate mass properties when doing a check-in’.

o 20150324 - Admin Tools: Excel BOM Designer: in the drop down list specifying the table for a new field the DOCUMENT table would not be enlisted

o 20150323 - DBWShell("UpdateDatabaseActiveDoc"): when used with modality "2" ( 2: not show and not update LAST_MODIFIED_DATE ), any imported CUSTPROP.TXT value was ignored

o 20150323 - Tree: Order By Field: PARENT_CHILD_BOM_POS: the "order by" was applied to Projects and Top-level assemblies, even if the Parent_Child_Bom_Pos field is typically filled only for child documents

o 20150323 - MwPDMApi: it is fixed a problem of using the PDMSystem.GetEnvironment("DBWorksConnectionDSN") in case of encrypted File DSNs.

o 20150323 - DBSE: with DBWAclServer running, sometime a Revision Output file creation needed a user confirmation for proceeding

o 20150323 - Create a sub-project: answering 'No' to the question for making the newly created sub-project the 'current project' it was resetting the current project to the first project in the list

o 20150323 - Revision Outputs: SQL Filter: special filter conditions enclosed between round brackets were not acceptedo 20150320 - MwLicense Manager: borrowing a license, it is fixed the problem of computer name listed without the full

domain name causing, under some circumstances, wrong license management starting MwPDM productso 20150319 - DBWArm: Parent Tree: even with the "DBWArm->[X] Limit Full Text Search on Assigned DBWARM

Projects" being set, it was possible to build a Parent Tree showing not assigned Projects ( Notes: the option "[X] Users with no Projects assigned have no access to any Project" is mandatory for correctly managing the Projects<=>Users Assignment )

o 20150319 - MwLicense Manager: improved auto-recovery of license manager server process halted for accidental causes (exceptions).

o 20150318 - Scripting: the input parameter DBWorksConnectionDSN was not properly managed in the case of encrypted DSN connection files ( <file name>###.DSN )

o 20150317 - CREATED_BY field: it was possible to modify its value during the creation of a new database recordo 20150317 - DBSE/DBINV: under some conditions ( when restoring the Browser from an iconic size ) the Browser itself

started to blink continuoslyo 20150317 - DBWorks Standalone: the option "Environment->Configurations->[X] Save only 1st level parent

configuration for any Part/Assembly" was ignored during a Checkin of a SolidWorks Assemblyo 20150317 - DBInventor: parent IPN files were not copied during a Save-As and a file copy error was displayedo 20150317 - Open for Updating: when switching to "Open for Updating" mode from the Query Page, a crash was

happening in DBWorks Standaloneo 20150317 - Project<=>User Assignment: since of a regression introduced with R15, sub-projects were not displayed if

their parents were not assigned to the usero 20150317 - DBWShell("CreatePreviewFile"): a crash was happening when choosing BMP as output file extensiono 20150312 - OnSubmitToWorkflow has been updated in order to allow the selection both by ECO description and by ECO

IDo 20150312 - DBWFilterSelect is now accepting the filtering field as a comma separated list of multiple fields, in which

case all fields will be considered as valid in the filtero 20150312 - Variant Notes in Template Blocks: the resolving of the block notes were always applied to all the sheet's

blocks, and not to the current sheet template onlyo 20150312 - Web Client was not compatible with SQL Server 2005 in the latest released version because a TSQL function

added in the last released versiono 20150310 - OnOpen.LST: with the "[X] Enable Pre-Open event" checked, the script was fired two times when opening a

SolidWorks document from the Browsero 20150309 - Tree Page: Restore a previous revision: Overwrite current model: being the action of overwriting the current

model file with a previous revision be limited to documents in RELEASED state, no warnings were displayed when the current model was in a state different from RELEASED

o 20150309 - Options->User Interface->Browser Behavior->[X] Limit full text search on the following fields: the sub-options '[X] Extend Search on REVISIONS Table' and '[X] Extend Search on the DBW_ATTACHMENTS Table' were not considered if the '[ ] Use native SQL Server Full Text Search' was inactive

o 20150305 - DBWAclServer: after specific sequences of API calls, the error "Error in GetFindFileData:" was reported in the LOG file

o 20150304 - Remote Access: Default Project: with the option "[X] Always create shared projects" enabled, the Default Project was created without the _SHARED suffix

o 20150303 - DBSolidEdge: the option "Plot->[X] Update Variant Notes before plotting" is available.o 20150303 - DBSolidEdge: Variant Notes Highlight: The "Highlight notes" command execution performs the highlight of

the Variant Notes defined in the current sheet.o 20150303 - DBSolidEdge: Variant Notes Update: the functionality was working only in case of Working Section sheet -

now it effects also Background sheets.o 20150303 - Partial Replication: with the option "[X] Always create shared projects" enabled, a new Project was

disappearing just after having created it ( Notes: the REPLICATION_PARTNERS field is now filled automatically with the <COMPANY_ID>_SHARED string - this allows the Partial Replication to keep visible the just created Project record )

o 20150302 - Open Wizard and Web Client would not display preview images for SW 2015 fileso 20150302 - Preview window: working with SolidEdge files, it is fixed a problem of inconsistent preview label positiono 20150226 - SolidWorks integration: when inserting a sub-assembly using the DBWorks Browser for searching the

component, the configuration selected in the Browser was not appliedo 20150225 - Workflow: improved the messages when selecting the documents to be sent to the workflowo 20150224 - Browser's Tree Page: when switching the property tabs ( Preview / View / etc. ) an unecessary repaint of all

the Browser was executedo 20150219 - Workflow panel would throw an exception after closing and reopening the browsero 20150218 - Workflow and Advanced Filter, the connection string was not compatible with SQL Server 2012; the

connection was found first under user then under system.o 20150218 - DBWorks for SolidWorks 2015: due to this Microsoft Visual Studio 2012 bug

(https://connect.microsoft.com/VisualStudio/feedback/details/760371/localfree-called-twice-in-cdatabase-mfc-11) a crash was happening when the SQL Server was disconnected and MechWorks PDM was attempting to manage such condition

o 20150216 - Browser: fixed some issues related to the disabling of the Document and Query pageo 20150216 - DBWorks: working with multiple addins, it is fixed a problem of wrong command executiono 20150210 - DBSolidEdge: the option "Revisions->[X] Automatic check-out after an ‘Increment Revision State’" was

ignored executing the “Increment Revision State” command via DBSE toolbar (it was managed only via DBSE browser)o 20150210 - Demo mode: fixed some problems running on Windows 8

Service Pack: 1.0 Build: 20150206

Enhancementso 20150205 - Browser Grids: Better management of data loading for large result sets

Some checks have been added for better considering the DBWCONN.PAR:DBWORKS_CRITICAL_NUMBER_OF_RECORDSparameter ( typically set to 5000 ).The initial display of the new queries is now performed loading only the first 500 records ( in case the record set would be larger ) from the database in each grid.Functionalities that requires that the full set of records be loaded in memory ( like batch operations on Working Set, Plotting, etc. ) will force the loading before their execution.A warning message has been added for allowing the user to stop the load and prevent very long waits.The ESC key is now also available for interrupting the data loading process in the Browser Grids.

o 20150203 - Native API.Net, CADSystem subsystem: new methods TrackEvents and Save2Native API.Net, CADSystem subsystem: new methods TrackEvents and Save2 (LastModifiedFileDate update specification).

o 20150202 - DBWShell("swSave"): new optional parameter <okUpdateLastModifiedFileDate>This new optional parameter ( default "1" ) allows to disable the automatic update of the database LAST_MODIFIED_FILE_DATE executed by the commandNote:In order to fully disable any database update when using the swSave command, the TrackEvents 0 needs to be invoked before the call

Example:DBWShell("TrackEvents 0")DBWShell("swSave 0")DBWShell("TrackEvents 1")

o 20150129 - DBWorks Variant Notes: added HyperLink supportUsing a Variant Note .VBSCRIPT procedure, it is now possible to output, as text value, an HyperLink, by prefixing the output string with the prefix:@HYPERLINK=

Example:

Insert a Note in the drawing and assign the Variant Note expression as:

@DBW=.VBSCRIPT myMechWorksDotComHyperlinkScript.LST

Create the script LST\myMechWorksDotComHyperlinkScript.LST like:

'.x64.VBSCRIPTSub main()

DBWInit(TRUE)

drawingUniqueId = DBWInput("@DRAWING_UNIQUE_ID")documentUniqueId = DBWInput("@DOCUMENT_UNIQUE_ID")

' write the hyperlink only when processing the drawing itselfIf documentUniqueId = 0 then

' then output the hyperlinkDBWOutput "TEXT", "@HYPERLINK=http://www.mechworks.com", ForWriting

End if

End Sub

Once refreshed, the drawing will display the hyperlink added programmatically:

o 20150127 - DBWAclServerADM.txt: new keywords @ON_FOLDER and @ON_NOT_FOLDER It is now possible to declare that some Domain Groups have ACL permissions only on certain folders.

Syntax:@ON_FOLDER <folder UNC path>,<domain>\<group>,<ACL permissions>@ON_NOT_FOLDER <folder UNC path>,<domain>\<group>,<ACL permissions>

The separator is a COMMA ( , )

Example:Suppose that group "MWDOMAIN\MW Shop" may have read permissions only on a specific folder \\MYSERVER\SHAREDDIR\SHOP\ ( please note that the full UNC path must be assigned ).The declaration could be like:

@ON_FOLDER \\MYSERVER\SHAREDDIR\SHOP\,MWDOMAIN\MW Shop,R

Note: the preparation of the global ACL permissions for the Group is typically done by hand, using Windows Explorer security; referring to the above sample, typically the MW Shop group would have all the rights DENIED everywhere; the above setting will allow the read-only permissions only for the folder \SHOP\

In the same way of the @ON_FOLDER, with the @ON_NOT_FOLDER directive it is possible to apply a specific permission for the Group everywhere except the assigned folder.

o 20150119 - @NO_NEW@ prefix for assigned directories It is now possible to identify a set of directories whose files are allowed to be managed as external references and maintained in the database, but that are not allowed to be created as new records in the database.This means that if a file, residing in in a @NO_NEW@ directory, is already existing in the database, then all the parent-child relations will be maintained and updated in the parent assemblies, but if the same file is still not existing in the database, then MechWorks PDM will avoid that new records pointing to that directory will be created in the database.

Example:

Let consider an assembly Assem-to-register.SLDASM with two components:1) do-NOT-register.SLDPRT in the directory ONE, that is NOT allowed to be managed in the database, except if the document is already existing before declaring as @NO_NEW@ the ONE directory2) please-register.SLDPRT in the directory TWO, that is allowed to be managed in the databaseIn order to get the desired behavior, the option must be set as follows:

=> Note: the @NO_NEW@ string must be inserted manually by editing the table row

The Activity Console will show a warning message if the save process will face any @NO_NEW@ case:

o 20150119 - New optional altDbwAttachmentsTab parameter in DBWShell SetPrimaryDatabaseTables command A new optional parameter altDbwAttachmentsTab has been added to the SetPrimaryDatabaseTables command for allowing the dynamic change of the DBW_ATTACHMENTS table name.

Syntax:call DBWShell("SetPrimaryDatabaseTables <permanent> <altDOCtab> <altREVtab> <altPCtab> <altPARTview> <altASMview> <altDRWview> <altGENview> <altPRJview> [<altDbwAttachmentsTab>]")

Bugs fixing

o 20150206 - Remote Access: Local Mode: the Search functionality was not able to find documents checked-out in the Local Directory

o 20150206 - Browser Sub-Tree: with the option ‘Populate Child/Parent Tree in the Sub-Tree’ activated, when executing the 'Parent Tree' command from a grid, the Sub-Tree was displaying the Child Tree and not the Parent Tree

o 20150205 - Browser: fixed a performance bottleneck in Gridso 20150204 - MechWorks Standalone Client: SolidWorks files: the checkin of a Drawing was breaking the parent-child

relation with its child parts/assemblieso 20150203 - DBInventor: Save As: the .IPN Presentation files were not copied during a save-as process - only

Presentations already inserted into parent Drawings were copiedo 20150203 - OnCheckout.LST: it was not fired when executing the check-out from the 3D CAD command bar buttono 20150203 - Excel BOM would not add preview images inside its columns and in its headero 20150203 - Derived Parts: fixed an instability caused by 'plane' entities inserted for mirrored partso 20150202 - DBCustomizer: when adding new classes it was not possible to cancel the action of changing the filtering fieldo 20150202 - Checkin from DBWorks command bar: if both the part and the drawing were opened, checking-in the part it

was leaving the drawing openedo 20150130 - Registration Wizard: the wizard would fail to run when the check functions ( duplicates, properties ,

configurations ) where active and any of these values ( like file name, property name or configurations name ) included an apex ’

o 20150129 - DBCustomizer for new classes of documents adds automatically barckets to the SQL conditiono 20150129 - DBWShell("AddProjectToSelection"): the command was not working correctly if no selection of Projects was

already displayed; in this case, now, the command automatically creates a new selection of Projectso 20150129 - DBSolidEdge: using SaveAs without DataEntr on sheetmetal documents, it is now managed properly the filter

type extension (*.psm)o 20150128 - DBSolidEdge: with the Master Drawing Mode activated, there was an exception when saving for the first time

a drawing documento 20150127 - License verification: on some environment, the initial check for the license verification was crashing the

applicationo 20150127 - MwLicense Manager: it is fixed a problem of wrong MwLicenseMonitor data visualization happening when

several users are connected.o 20150126 - Scripting: the '.x64 directive was not applied to encrypted scripts ( ...###.vbs )o 20150123 - MwLicense Manager: under some circumstances, there was an error at server level causing problem in

MwLicenseMonitor data visualization. The running MwLicenseManager.exe server must be stopped and, after the related module replacement, restarted.

o 20150122 - DBWorks for SolidWorks 2015: .LST files containing a .DEFAULT statement with the execution of a script ( i.e. .DEFAULT $(.VBSCRIPT myScript.lst) ) were causing a crash of the application

o 20150122 - DBSolidEdge: it is fixed the problem of REVISION field deletion when transferring an assembly into a FOAo 20150122 - DBWorks: [X] Save only 1st level parent configuration for any Part/Assembly: components in light-weight

state were saved ( creating new records ) with their current configuration, and not with their current first-level parent configuration - Note: in order to fix such issue, and in order to avoid to set the component as "fully resolved" ( so loading it in memory ), the SolidWorks Document Manager component is now used for getting the parent configurations

o 20150121 - DBSolidEdge: the execution of “Save Member As” command in SE was not working because of saving the complete FOA instead of the selected member as simple assembly. With this fix, the standard SE command behavior is restored and using the option “[X] Use DataEntr.LST data entry script on DBSolidEdge ‘Saveas…’ ” it is possible to activate the DataEntr execution to generate a new filename. Note: the automatic registration at database level for the new generated assembly is not implemented yet.

o 20150120 - MechWorks Standalone Client: Drawing files created with SolidWorks 2015: the static preview was not available

o 20150120 - Tips of the day: some tips were truncated when displayed

Service Pack: 0.3 Build: 20150116

Enhancementso 20150109 – Configurations of Derived Parts

The SolidWorks option "Tools→Options→External References→Load referenced documents" is no longer needed to be set to All.The Base Parts External References are now dynamically loaded/unloaded by DBWorks during the save process.

o 20141223 – R15 DBSolidEdge added support for ST7 materialsThe new ST7 materials library with classification is now supported.

Bugs fixingo 20150115 - OnUpdateDatabaseForOpenedDocument.LST: when invoked with @EVENT_TYPE=0 ( pre-event ) on

documents in NEW or CHECKED-OUT state, the @DOCUMENT_UNIQUE_ID was always "0", even for existing documents

o 20150114 - Recursive Approve: the main and the 'Previous Revision' checkboxes status were lost after invoking the [Edit Record] and [Edit Revision Record] functionalities

o 20150112 - DBSolidEdge: based on SolidEdge ST7 Mp3 API enhancement, the drawing scale field value is now computed with respect of the sheet setup scale data (previously it was related to the first defined drawing view scale).

o 20150109 - Remote Access: with the option "[X] Take/Release' Ownership on 'Increment Revision State/Approve" checked, it was possible to checkout a foreign document using the recursive checkout operator

o 20150108 - DBSolidEdge: using the Open/Save->SaveAs options “Automatic check-in after a DBSolidEdge Save as” and “Automatic check-out after the check-in”, it is fixed a problem happening when editing a component in place and saving its new related drawing (previously the saved drawing was not correctly checked out leaving the document in an inconsistent status).

o 20150108 - Local Checkout Mode: with the option "[X] Create New Files as Checked Out" enabled, the RMB->Open Drawing was displaying a greyed entry for drawings just created, checked-in and still not approved.

o 20150107 - Unicode .UMSG files: many messages were not translated when the Unicode support was activatedo 20150107 - DBSolidEdge: under some circumstances, the SaveAs command was generating an exception related to wrong

document management.o 20150107 - A crash was happening at startup when the GlobalParameterPath folder was not existingo 20150107 - Save all configurations automatically: due to a fix introduced with build 20141117, when all the configuration,

except the current one, were discarded since of the specific configuration filters, a message asking for saving '0' configurations was displayed

o 20141222 - DBInventor: with the Inventor options set for creating drawings as .DWG by default, the AddDocument DBWShell API was creating documents of type 'G' ( Generic ) when saving drawings of type .IDW

Service Pack: 0.2 Build: 20141219

Enhancementso 20141210 - DBWorks: Preview of drawings: when clicking on the drawing icon on the right of a part/assembly in the

Browser's Tree, DBWorks tries to find a drawing sheet that matches the currently selected part/assembly configuration, and, if found, it tries to display its preview.Under some specific conditions, sometimes the list of sheets returned by the SolidWorks Document Manager API was not the same as the list of sheets displayed on the screen, so a sheet different from the main sheet was sometimes selected for the preview.

With this enhancement, DBWorks avoids to look for a configuration-specific drawing sheet if no other configured brother parts/assemblies have been inserted in the drawing, so for the simple case of "one drawing/one part", the main drawing sheet is always used for the preview.

Bugs fixingo 20141217 - Option "Save->[X] Always calculate mass properties on save->[X] Calculate only Lengths and Dimensions":

when checked, and with the "Environment->[ ] Traverse only first level of assembly structures" unchecked, it was affecting the mass calculation of sub-assemblies containing fake components, when a traversing from the top-level assembly was performed since of a save of the top-level assembly itself

o 20141217 - MwLicenseManager: it is fixed a problem of license management when running under a 32-bit OSo 20141216 - Browser: The Web Meeting tab was pointing to a not found page in MechWorks websiteo 20141215 - DBSolidEdge: the Help file was not opened executing F1 on DBSE commands.o 20141215 - DBWShell("Rename"): when invoked with the optional "CHECK" modality, the command was not

considering the "fake" components, so returning a FALSE because the file was not existing for the fake componento 20141215 - DBWShell("WorkflowSubmit"): after its execution, the OnSubmitToWorkflow.vbs script was no longer

invokedo 20141211 - Save Wizard: the save process would fail if the base directory was a disk root and no other subdirectory was

defined along the path of categories.o 20141210 - Conversion from Office file to pdf and preview creation of an Office file: the pdf output would fail if the file

was currently openo 20141210 - DBSolidEdge: it is fixed a problem of missing reload components working with simultaneous construction.o 20141210 - Browser: RMB popup menu: the RMB click on the drawing icon in the tree was not getting the model scripts

menu and not the drawings scripts menuo 20141210 - DBInventor: with the option "Revision->Max num of Revision records to write as properties" activated, when

updating the child structure of an assembly, the top-level assembly properties were always updated at each child component saving

Service Pack: 0.1 Build: 20141205

Bugs fixingo 20141105 - MwLicense Manager: the COMPANY data used in license management is now initialized accordingly to the

option “Environment->Remote Access -> Enable the Remote Access Mode”. If the option is on, it refers to COMPANY_ID value otherwise it is blanked. The same behavior is implemented executing borrow/unborrow operations.

o 20141105 - MwLicense Manager: fixed a crash happening when starting applications using floating license.o 20141204 - DBInventor: when running under Inventor 2015 on a Windows 8.1 OS, any access to the right-side Browser's

shortcut bar was causing a crash of Inventoro 20141204 - MwLicense Manager: it is fixed a problem related to borrowed license usage in case of valued companyIDo 20141203 - Admin Tools: Update Database Schema: the field PARENT_CHILD.PARENT_CHILD_UM would not be

detected if missingo 20141203 - Admin Tools: Add Field to Document Table: In german it would fail to display the number of bytes available

in the views before adding the fieldo 20141203 - SolidWorks Integration: Virtual Components: even with the option for saving virtual components as external

files disabled, the Save Wizard was invoked on specific sequences where Virtual Components were modifiedo 20141203 - Revision Outputs: Link Mode: the "Options->Open/Save->Save As->[X] Apply Autocheckin/Autocheckout

also to Generic Documents" was breaking the Link Mode on the Revision Outputs files

Service Pack: 0.0 Build: 20141128

Bugs fixingo 20141126 - DBWShell("ShowDocumentSelectorDialog"): it was not possible to select documents with STATE =

OBSOLETEo 20141117 - DBSolidEdge: using ST7 MP2, it is fixed a problem of product reliability based on the new SE multiple

material libraries management. At DBSE level, since the multiple material library is not supported yet, the suggested behavior is to have all the materials defined in the first available library (by default Materials.mtl) or to remove all material libraries except one.

o 20141029 - DBSE: Rename/Replace Reference: in the case that a component was no longer referenced by a parent assembly file, but with a parent-child relation still existing in the database, a wrong message, stating that the parent file was locked, was displayed to the user - a new message is now displayed, explaining the above condition

o 20141029 - SolidWorks Integration: after having modified a loaded part/assembly, without rebuilding it, and pressing the DBWorks 'Save' button, and pressing [CANCEL] on the further request from SolidWorks to rebuild all the model, the error "Error in save: unknown error on file ..." was displayed

o 20141023 - Released Database Mode: the "Add to Project/Remove from Project" ( either if with a drag&drop operation or with a RMB->Projects->Add/Remove operation ) was not correctly updating the Released Database parent-child structure with the new relations - Note: this fix avoids the use of the LST\OnAddToRemoveFromProject.LST event script as a workaround, usually programmed for invoking the "UpdateReleasedDatabaseParentChild" command if the document is in a RELEASED state - Example:.VBSCRIPTsub main()

DBWInit(TRUE)docUid = DBWInput("@DOCUMENT_UNIQUE_ID")projUid = DBWInput("@PROJECT_UNIQUE_ID")isRemove = DBWInput("@IS_REMOVE_FROM_PROJECT")if isRemove="1" thenelse

documentState = DBWQueryByUid( docUId, "STATE" )If documentState = "RELEASED" Then

DBWShell("UpdateReleasedDatabaseParentChild " & docUid)End if

end ifend sub

o 20141002 - Options: Link Mode: it was possible to manually assign the FILE_NAME and FILE_DIRECTORY as fields to be aligned

o 20140624 - SolidWorks Integration: Master Drawing Mode: when creating a PDF, the SolidWorks option "[X] View PDF after save" was not reset, so causing possible locks of the PDF files for any further processing

o