General overview 

Inside SolidGenius there are 3 different types of names.

1) Part names inside OSDM part browser
They are fully customizable.

2) Feature names inside part browser for each SolidGenius part.
They are not customizable !
SolidGenius needs them internally. 

3) WM DataManagement default MasterNo.
They are fully customizable.

How to set the default names ?

Following method is valid for both, part names and WM master numbers.

Part names and WM Master No's can be set individually in the file 'sg_part_names.lsp' inside the SolidGenius installation directory in LISP syntax.

For each standard part there is one entry.
- Locate the entry you want to change.

E.g DIN 915 

This is how it looks inside the 'sg_part_names.lsp' file as default :

; DIN 915
; Parameters which can be used in the part name are :
; PIN-NAME PIN-DIAMETER PIN-LENGTH PIN_MAT

; Please note that PIN-NAME is automatically the entry number 63 in the pin messages file 

(defun sg-set-part_name_915 (&key PIN-NAME PIN-DIAMETER PIN-LENGTH PIN-MAT)
; Please note that no blanks are allowed in part names of OSDM parts !
(format nil "SG_~a~a_x_~a_." PIN-NAME PIN-DIAMETER PIN-LENGTH )
)

(defun sg-set-wm_master_no_915 (&key PIN-NAME PIN-DIAMETER PIN-LENGTH-MAT)
; Please note that the character @ is not allowed in Model No !
(format nil "~a~a_x_~a" PIN-NAME PIN-DIAMETER PIN-LENGTH )
)

The parameters which we can use in the name of this part are :

PIN-NAME PIN-DIAMETER PIN-LENGTH PIN_MAT

PIN-NAME    -  actual name in clear text e.g 'Set_screw_DIN_915-M'
Since part names are all localizable into different languages, they are seperately defined in message files

For each entry inside the "sg_part_names.lsp" file you see a note leading you where you will find the name of that part.
In our case it looks like follows :  

" ; Please note that PIN-NAME is automatically the entry number 63 in the pin messages file "

Be aware that OSDM does not allow blank characters inside part names.

Let's say that we want to have the name of the DIN 915 parts inside OSDM as follows :

SE1234_[name]_[dia]_x_[length]_[material]

For achieving this, you see below how the entry inside 'sg_part_names.lsp' should look like :

(defun sg-set-part_name_915 (&key PIN-NAME PIN-DIAMETER PIN-LENGTH PIN-MAT)
  ; Please note that no blanks are allowed in part names of OSDM parts !
  (format nil "SE1234_~a_~a_x_~a_~a." PIN-NAME PIN-DIAMETER PIN-LENGTH PIN-MAT)
)

Please make sure that for each parameter entry you must use one format directive "~a" !

To try - you have to re-start SolidGenius.
Next time you insert a DIN915 standard part you should see its OSDM name as follows.


For further questions please contact Mip Support via e-mail :

Send an email now to MIP support

Restrictions

Please be aware that WM Data Management supports user-editable Master No's only after WM version 11.65 onwards.