2.2.12.  General configuration file "ifacecommon.cfg"

The configuration file ifacecommon.cfg contains general settings for all CAD systems.

[Note]Note

The configuration file ifacecommon.cfg should NEVER be changed by a user without a really important reason.

The exact same key in a specific configuration file overwrites the default setting in ifacecommon.cfg.

All information of different keys from ifacecommon.cfg and specific configuration file are memorized.

If changes are necessary, make them under PARTadmin -> Category -> PARTsolutions -> Configuration files -> $CADENAS _SETUP -> ifacecommon.cfg.

The following table gives an overview on the individual blocks.

Block Key Description
Macros 

Macros contain a sequence of instructions or declarations under a certain name, in order to execute these with one simple command (instead of the single commands).

See Section 2.2.12.2, “ Block [Macros]”.

Categories 

Explanations on categories can be found under Section 2.2.1.1, “ What are categories? ”.

Example:

is2d

The expression is valid, if the document is a 2D element.

CategoriesisCatalog

Object is a catalog

CategoriesisUser

CategoriesisProject

Object is a project

Categories is2d

Document is a 2D element

Categories is3d

Document is a 3D element

Categories isNat

Document is a native part

Categories is3dAsm

Document is a 3D assembly

Categories is3dPart

Document is a 3D part

Categories isInchDoc

Document is a INCH part

Categories isMMDoc

Document is a MM part

Categories isNotRootDoc

Document is not a top level element

Categories isRootDoc

Document is a top level element

Categories isSubAsm

Document is a sub-assembly

Categories isSubPart

Document is a sub-part

CategoriesisNegativePart

valid for a negativ part

CategorieshasGeometry Returns "true" if any kind of geometry is inside the document. (If the input is an assembly all subparts will be checked.)
Interface Currently only contains deactivated keys
CreationOptions  
NoSection 

For fasteners such as screws, nuts, rings, pins, etc., cutting can be excluded in the 2D view.

[Note]Note

The block is disabled or not existing by default.

With V11, the required parts are classified accordingly in the project itself. See Section 5.12.5, “ Add projects to classification (context menu) ” in eCATALOGsolutions - Manual -> Classification (CNS) -> Fasteners such as screws, nuts, rings, pins, etc..

In exceptional cases interaction via configuration file by consulting is possible. See Section 2.2.12.6, “ Block [NoSection] ”.

RAWMATERIALS 

Semi finished products can be declared as such.

[Note]Note

The block is disabled or not existing by default.

With V11, the required parts are classified accordingly in the project itself. See Section 5.12.5, “ Add projects to classification (context menu) ” in eCATALOGsolutions - Manual -> Classification (CNS) -> Semi-finished products.

In exceptional cases interaction via configuration file by consulting is possible. See Section 2.2.12.7, “ Block [RAWMATERIALS] ”.

PDM 

Default callbacks. You can customize the callbacks here (or overwrite them in the specific interface configuration).

For examples see help entries in config itself.

UI 

Design of PARTsolutions interface menu and toolbar

Details on this can be found under Section 2.2.2, “Configuring PARTsolutions interface menu and toolbar ”.

Placement 

Mostly path to resources

Also see Section 2.2.12.4, “Block [Placement]”.

NativeCheckin3  
ClassMapping 

Mappings 1 to 7 create the mapping for the material

First choice is the "MAT_NAME" column in the characteristic attribute table (used with ERP integration). Second choice is the "virtual" column "CNSMAT" (without ERP integration).

See also Section 2.2.12.5, “ Block [ClassMapping]”and Section 2.2.9, “Material mapping ”.

CustomExec  
CalcName  
CADEXTENSIONPRT 

Part extensions

The CAD extensions should be administrated here (used e.g. by plm interfaces)

CADEXTENSIONASM 

Assembly extensions

The CAD extensions should be administrated here (used e.g. by plm interfaces)

GeoSearch Currently not in use

[Note]Note

Further information on individual blocks and keys can be found by clicking on PARTadmin -> Category -> PARTsolutions -> Configuration files -> $CADENAS _SETUP -> ifacecommon.cfg.

Example of brief information [Short description] and documentation [Documentation]

Example of brief information [Short description] and documentation [Documentation]