powered by CADENAS

Manual

Manual

2.2.7. General configuration file "ifacecommon.cfg"

The configuration file ifacecommon.cfg contains general CAD encompassing settings.

[Note] Note

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

Same keys in the specific configuration files overwrite the default setting in ifacecommon.cfg.

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

The following table gives an overview of all settings options. The sub-chapters give more information regarding individual keys.

If changes should be necessary please conduct them under PARTadmin -> Category ->PARTsolutions -> Configuration files -> $CADENAS_SETUP -> ifacecommon.cfg.

Section

Key

Value range

Description

Categories isCatalog   Object is a catalog
Categories isProject   Object is a project
Categories isProjectFile  

Object is a certain project

Example: isProjectFile(din_975.prj)

Categories

is2d

Document is a 2D item

Categories

is3d

Document is a 3D item

Categories

is3dAsm

Document is a 3D assembly

Categories

is3dPart

Document is a 3D part

Categories

isInchDoc

Document is an INCH part

Categories

isMMDoc

Document is a MM part

Categories

isNat

Document is a native part

Categories

isNotRootDoc

Document is not a top-level item

Categories

isRootDoc

Document is a top-level item

Categories

isSubAsm

Document is a subassembly

Categories

isSubPart

Document is a sub-part

Categories isPartConnectionAsm   Valid for a PARTconnection export and if document is an assembly
Categories isPartConnectionPart   Valid for a PARTconnection export and if document is a part
Categories isPartConnectionExport   Valid for all parts/assemblies of a PARTconnection export
Categories isNegativePart   Valid for a negative part independent of PARTconnection

Categories

NotWindows

Not under Windows

Categories

Windows

Under Windows

CreationOptions

AppAfterCreate

Called after end of meta operation

CreationOptions

AppBeforeCreate

Called before start of meta operation

CreationOptions

DisplayName

Display name of result element (possibly different from file name)

CreationOptions

DocAfterCreate

Called after creating

CreationOptions

DocAfterSave

Called after assembly was saved

CreationOptions

DocBeforeCreate

Called before assembly is created

CreationOptions

DocBeforeSave

Called before document is saved

CreationOptions

DocOnOpen

Called when opening assembly (return value 1 once completed)

CreationOptions

DocOnSave

Called when saving document (return value 1 once completed)

CreationOptions

FileName

Result- file name and extension (without path)

See also Section 2.2.2, “Set file name ("FileName" key) and pool path ("poolpath" key) ”

CreationOptions

PoolPath

Storage location for element

CreationOptions

TemplateName

Template name used for new geometry

CreationOptions

NoSection 0/1

Exclude cut in 2D view for connection elements such as screws, nuts, rings, pins, etc.

NativeCheckin

CopyNativeFiles

0/1

Copy native files into PARTsolutions data folder

NativeCheckin UseUploadTransaction 0/1

1: Function „NativeUploadTransaction“ in the used PDMIface is called (this effects that all needed data for a future checkout of the file are set in PSOL)

0: Native Checkin without PDM

LOD

ForceLevel HI,MED,LOD

Valid LOD name. Calculates part to assigned LOD.

LOD NamePrefix Every valid name, ex. "LO_"

Name prefix added for new calculations

XForm Scale Number >0

Scaling of object during export

Comma values have to be stated with point "." here.

Xform Rotation Base angle x,y,z: value in degree

Rotation around base axes of part of x,y,z degrees

Xform Translation Basic angle x,y,z: value declaration in degree

Movement of part in direction of x,y,z axis with the specified value

ClassMapping Mapping... Every valid name

Placement PL_StrategyCadIcon

Every path to an icon

For ex.: ":/cadassist_place/manual_24x24.png"

Standard icon strategy per CAD

Normally the setting has not to be changed. (Possibly you want to set another path for pictures.)

Placement PL_StrategyCadPreview

Every path to an icon

Ressource information
Placement PL_StrategyHoleIcon Every valid ressource path Ressource information
Placement PL_StrategyHolePreview

Every valid ressource path

Ressource information
Placement PL_StrategySurfacePointIcon Every valid ressource path Ressource information
Placement PL_StrategySurfacePointPreview Every valid ressource path Ressource information
Placement PL_PlacementPartDisplayName Default: FileName Display name in placement dialog box
Placement PL_DisplayDialog (V9.03 SP2) 0/1 (Default = 1) Placement dialog on/off