powered by CADENAS

Manual

Manual

3.3.6.6. Configuration

[Note] Note

Generally applies that no settings should be performed at the configuration files during current operation (that means as soon as some parts have already been exported and checked in). Some parameters have extensive influence on the integration. In case of doubt please always contact the CADENAS support!

Comments on the single setting options are found in the configuration file itself. In the following only an overview on the most important settings is given.

The settings are performed in the configuration file ifprofile.cfg.

Here details on the PRO.FILE checkin can be set, among others the parameter WORKFLOW_STATE_CREATE, which has to be adequate to the specified workflow final state in PRO.FILE (compare Section 3.3.6.4, “Settings within PRO.FILE”).

  • Section [CHECKIN]

    • Declaration of the used CAD system

      Key: CADSYSTEM

      The declaration of the CAD system, which shall be used together with ProFile, happens via coding scheme by the following values:

      • 4=ProE

      • 33=Inventor

      • 21=SolidEdge

      • 25=SolidWorks

      Example:

      CADSYSTEM=33

      (See PRO.FILE database table 'CADVERS' fields VE_TYP and VE_REL: 4=ProE, 33=Inventor, 21=SolidEdge, 25=SolidWorks)

    • CAD version

      Key: CADVERSION

      Enter the version of the CAD system.

      Example:

      CADVERSION=2011

    • Workflow status

      Key: WORKFLOW_STATE_CREATE

      Determine the workflow status for new created parts.

      Example:

      WORKFLOW_STATE_CREATE=100

      You can find the respective status in PRO.FILE under File --> Verwaltungsfunktionen --> Workflow --> Berechtigungstabellen verwalten.

  • Section [CreationOptions(is3d)]

    • Searching for already existing parts?

      Key: SearchForExistingPart

      Value range: 0/1

      • 0: A new part is always applied.

        In order for the ERP number to be inserted into this part, the key OVERWRITE_EXISTING_PARTFIELDS has to be set on 1.

        Furthermore an entry for the ERP number has to be set in the section [AttributeMapping].

        Example:

        [AttributeMapping(is3d)]
        NFT_FLO0=?GetObject("iface.calcnameservice").start(0).Format
         ("<ATTR(ERP_PDM_NUMBER)>").value() )

      • 1: When creating new CAD documents it is searched for already existing part in PRO.FILE.

        Then the new document is linked with the found part (same ERP number).

        If no part is found, then a new one is created (new ERP number) and the document is linked with it.

    • Overwrite existing "partFileds"?

      Key: OVERWRITE_EXISTING_PARTFIELDS

      Value range: 0/1

      • 1: The „partFileds“ of old parts (SearchForExistingPart=1) are overwritten, when a new CAD document is checked in, which references such an old part.

    • Determine storage location for ERP numbers

      Key: PROFILE_ERPField

      Default:

      PROFILE_ERPField=NFT_FLO0

      Here the column name in the PRO.FILE database can be stated, where the ERP number is saved.

    • Read PARTsolutions ERP number

      Key: PARTsolutions_ERPField

      Exemplary entry:

      PARTsolutions_ERPField=?GetObject("iface.calcnameservice").start(0).
       Format("<ATTR(ERP_PDM_NUMBER)>").value()

      Here the PARTsolutions ERP number is read. In the example it is saved in the column "ERP_PDM_NUMBER".

    • Keep workflow status?

      Key: KEEP_PART_WORKFLOWSTATE

      0: Old parts get the workflow status of the new document, which is linked with this part.

      1: Old parts keep their workflow status.

  • Block [AttributeMapping(is3d)]

    See Section 3.3.6.8, “Attribute mapping”.

  • Block [LINKDB_RETURN_MAPPING(is3d)]

    See ???.

  • Section [THUMBNAIL]

    • Create thumbnails?

      Key create

      Values:

      • 0: Don't create thumbnails

      • 1: Create thumbnails with PARTsolutions functionality

      • 2: Create thumbnails with PRO.FILE functionality

    • Define thumbnails

      Key: createParameter

      Here you can specify the size of the thumbnails to be created.

      Example for "create =1":

      createParameter=;imagesize=50x50

      The size specification happens in pixel.

      Example for "create=2":

      createParameter=50;50;JPG;16 

      The values separated by semi-colon stand for "Hight", "Width", "Image type"; "Color depth".