3.3.5.1.  Block [CreationOptions(is3d)] - How to setup?

Settings in the CreationOptions(is3d) block

  1. You do not use ModelManager and you do not want to write files to disc.

    • (required) Enable FileName(isCreaOptNotSet)

    • (optional) Enable DisplayName(isCreaOptNotSet): If disabled, DisplayName = FileName

    • (ignored) InstanceFileName(isCreaOptNotSet)

    • (ignored) PoolPath(isCreaOptNotSet)

    • (optional) ClassName: If disabled, the files are not library parts and are therefore not read-only

    • (required) DocOnOpen(is3dpart)=GetObject("iface.osdm.callbacks").SessionPartOnOpen

    • (required) DocOnOpen(is3dasm) =GetObject("iface.osdm.callbacks").SessionAssemblyOnOpen

    • Disable all other DocOn* callbacks Disable

  2. You do not use ModelManager but want to write SD*C and SD* files to disc.

    • (required) Enable FileName(isCreaOptNotSet): Name of the model and name of the content file

    • (optional) Enable DisplayName(isCreaOptNotSet): Name of the model instance (if disabled, DisplayName = FileName)

    • (optional) Enable InstanceFileName (isCreaOptNotSet): Name of the model instance file (if disabled, InstanceFileName = DisplayName)

    • (required) Enable PoolPath(isCreaOptNotSet): Directory for the files (the directory must exist on the disk)

    • (required) DocOnOpen(is3dpart, not isNegativePart) = GetObject("iface.osdm.callbacks").SDPCPartOnOpen

    • (required) DocOnSave(is3dpart, not IsNegativePart) = GetObject("iface.osdm.callbacks").SDPCPartOnSave

    • (required) DocOnOpen(is3dpart, isNegativePart) = GetObject("iface.osdm.callbacks").SessionPartOnOpen

    • Disable all other DocOn* callbacks Disable

  3. You do not use ModelManager but want to write PKG files to disc. (rare)

    • (required) Enable FileName(isCreaOptNotSet): Name of the model and name of the content file

    • (optional) Enable DisplayName(isCreaOptNotSet): If disabled, DisplayName = FileName

    • (ignored) InstanceFileName(isCreaOptNotSet)

    • (required) Enable PoolPath(isCreaOptNotSet): Directory for the files (the directory must exist on the disk)

    • (required) DocOnOpen(is3dpart, not isNegativePart) = GetObject("iface.osdm.callbacks").DefaultPartOnOpen

    • (required) DocOnSave(is3dpart, not IsNegativePart) = GetObject("iface.osdm.callbacks").DefaultPartOnSave

    • (required) DocOnOpen(is3dpart, isNegativePart) = GetObject("iface.osdm.callbacks").SessionPartOnOpen

    • Disable all other DocOn* callbacks Disable

  4. You want to use ModelManager

    • Disable all DocOn* callbacks in this file Disable

    • Disable rules for FileName, DisplayName, and InstanceFileName

    • Configure ifosdmmodelmanager.cfg appropriately